I want lo graph a interseccion

1 view (last 30 days)
Arturo
Arturo on 4 Mar 2024
Commented: Dyuman Joshi on 4 Mar 2024
I dont now how can I graph an interseccion, I try with tutorials but didnt work
the functions are
x= 3 -y^2
y = x -1
The interseccions are
(-1,-2) (2,1)
  1 Comment
Dyuman Joshi
Dyuman Joshi on 4 Mar 2024
What exactly does "graph an intersection" mean in this context?
Please specify how it "didn't work".

Sign in to comment.

Answers (1)

Chunru
Chunru on 4 Mar 2024
% x= 3 -y^2
y1 = (-3:0.02:3);
x1 = 3 - y1.^2;
% y = x -1
x2 = (-2:0.01:3);
y2 = x2 -1;
plot(x1, y1, 'r-', x2, y2, 'b-');

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!