Q:

Solve the simultaneous equations x – y = 2 and x2 + y = 0 using solve. Plot the corresponding functions, y = x-2 and y = -x2 , on the same graph with an x range from -5 to 5

0

 Solve the simultaneous equations x – y = 2 and x2 + y = 0 using solve. Plot the corresponding functions, y = x-2 and y = -x2 , on the same graph with an x range from -5 to 5.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Ch14Ex34.m

% Solve 2 simultaneous equations using solve, and plot

syms x y

answer = solve('x - y = 2', 'x^2 + y = 0',x,y);

x = answer.x

y = answer.y

ezplot('y = x - 2',[-5,5])

hold on

ezplot('y = -x^2',[-5,5])

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now