Direction Fields HK1 0910 - MAPLE Worksheet: DIRECTION...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
MAPLE Worksheet: DIRECTION FIELD OF 1ST ORDER DE y'=f(x,y) > restart: with( DEtools ): with( plots ): with( linalg ): Warning, the name changecoords has been redefined Warning, the name adjoint has been redefined Warning, the protected names norm and trace have been redefined and unprotected > dfieldplot(diff(y(x),x)=y(x)+x, y(x), x=-2. .2, y=-2. .2); > DEplot(diff(y(x),x)=y(x)+x, [y(x)] , x=-2. .2, y=-2. .2, [[ y(0)=1 ]]); > dfieldplot(diff(y(x),x)=y(x)-x, y(x), x=-2. .2, y=-2. .2); > dfieldplot(diff(y(x),x)=y(x)-x, y(x), x=-2. .2, y=-2. .2, title=`Restricted domain`,thickness=2,color=1/2*(- x-(x^2+4*y)));
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
> ode:= diff(y(x),x)=y(x)-x; cond := [ [ y(0)=0 ],[ y(0)=0.8 ],[ y(0)=0.4 ],[ y(0)=-0.3 ],[ y(0)=-0.6 ] ]; := ode = d d x () y x y xx := cond [ ,,, , [] = y0 0 [ ] = y 0 0.8 [ ] ] = y 0 0.4 [ ] = y 0 -0.3 [ ] = y 0 -0.6 > DEplot( ode, [y(x)], x=-1. .1, y=-1. .1, cond, arrows=LINE, thickness = 2, color = blue ); > ode1 := diff( y(x), x ) = y(x)+x; := ode1 = d d x y x + y > DEplot( ode1, [y(x)], x=-4. .4, y=-4. .4, arrows=LINE, thickness = 2, color = blue ); > cond := [ [ y(0)=0 ] ]; := cond = 0
Background image of page 2
> DEplot( ode1, [y(x)], x=-4. .4, y=-4. .4, cond, arrows=LINE, color = blue ); > cond1 := [ [ 0, i ] $ i=0. .0, [ y(i)=0 ] $ i=0. .5 ]; cond1 := [ ] ,,,,,, [] , 00 [ ] = () y0 0 [ ] = y1 ] = y2 ] = y3 ] = y4 ] = y5 0 > DEplot( ode1, [y(x)], x=-4. .4, y=-4. .4, cond1, arrows=LINE, color = blue ); >
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/22/2011 for the course CS 225 taught by Professor Staff during the Spring '08 term at University of Illinois, Urbana Champaign.

Page1 / 4

Direction Fields HK1 0910 - MAPLE Worksheet: DIRECTION...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online