Answer to Question #215945 in Differential Equations for Naveen Kumar

Question #215945

Write a program to solve and plot the solution of differential equation

 dy/dx=-(x²-y)/y-x at initial condition y(1) = 2


Program-2

/* program to solve and plot the solution of exact differential equation*/

kill(all);

eq:'diff(y,x)=-(x²-y)/(y²-x);

gsol:ode2(eq,y,x);

psol:ic1(gsol,x=1,y=2);

us:rhs(psol);

plot2d(us,[x,-5,5],[y,-5,5]);

Write the Output obtained by execution:


0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog