Question

6. Use Eulers method to approximate the solution to y= xºy - y at x = 1.2 when y(0) =1. Use a step size of h= .1.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Given y′=x3y-y2,y(0)=1,h=0.1,y(1.2)=?

Euler method
y1=y0+hf(x0,y0)=1+(0.1)f(0,1)=1+(0.1)⋅(-1)=1+(-0.1)=0.9

y2=y1+hf(x1,y1)=0.9+(0.1)f(0.1,0.9)=0.9+(0.1)⋅(-0.8091)=0.9+(-0.0809)=0.8191

y3=y2+hf(x2,y2)=0.8191+(0.1)f(0.2,0.8191)=0.8191+(0.1)⋅(-0.6644)=0.8191+(-0.0664)=0.7527

y4=y3+hf(x3,y3)=0.7527+(0.1)f(0.3,0.7527)=0.7527+(0.1)⋅(-0.5462)=0.7527+(-0.0546)=0.698

y5=y4+hf(x4,y4)=0.698+(0.1)f(0.4,0.698)=0.698+(0.1)⋅(-0.4426)=0.698+(-0.0443)=0.6538

y6=y5+hf(x5,y5)=0.6538+(0.1)f(0.5,0.6538)=0.6538+(0.1)⋅(-0.3457)=0.6538+(-0.0346)=0.6192

y7=y6+hf(x6,y6)=0.6192+(0.1)f(0.6,0.6192)=0.6192+(0.1)⋅(-0.2497)=0.6192+(-0.025)=0.5942

y8=y7+hf(x7,y7)=0.5942+(0.1)f(0.7,0.5942)=0.5942+(0.1)⋅(-0.1493)=0.5942+(-0.0149)=0.5793

y9=y8+hf(x8,y8)=0.5793+(0.1)f(0.8,0.5793)=0.5793+(0.1)⋅(-0.039)=0.5793+(-0.0039)=0.5754

y10=y9+hf(x9,y9)=0.5754+(0.1)f(0.9,0.5754)=0.5754+(0.1)⋅(0.0884)=0.5754+(0.0088)=0.5843

y11=y10+hf(x10,y10)=0.5843+(0.1)f(1,0.5843)=0.5843+(0.1)⋅(0.2429)=0.5843+(0.0243)=0.6085

y12=y11+hf(x11,y11)=0.6085+(0.1)f(1.1,0.6085)=0.6085+(0.1)⋅(0.4396)=0.6085+(0.044)=0.6525

∴y(1.2)=0.6525

Add a comment
Know the answer?
Add Answer to:
6. Use Euler's method to approximate the solution to y'= xºy - y at x =...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT