Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >> % THIRD
- >> % solve
- >> syms x y
- >> [x,y]=solve('x^3-2*y=1','x^2+3*y=2');
- >> vpa(x,4)
- ans =
- 1.137
- - 0.902 - 1.113*i
- - 0.902 + 1.113*i
- >> vpa(y,4)
- ans =
- 0.2355
- 0.8082 - 0.6691*i
- 0.8082 + 0.6691*i
- %graphic
- >> Y1=(-1+X.^3)/2;
- >> Y2=(2-X.^2)/3;
- >> plot(X,Y1,X,Y2)
- >> grid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement