Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. function order3
  2. hold on
  3. y=dsolve('D3y=2*(D2y-1)*cot(x)', 'Dy(pi/2)=0', 'D2y(pi/2)=1', 'y(pi/2)=1', 'x')
  4. x=-5:0.01:5;
  5. plot(x,eval(y),'r')
  6.  
  7. y = eval(y)
  8. [m,im]=min(y)
  9. [M,iM]=max(y)
  10. plot(x(im), m, 'bo')
  11. plot(x(iM), M, 'go')
  12.  
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement