Answer to Question #275683 in Quantitative Methods for khaled

Question #275683

use Euler’s method to obtain a four-decimal approximation of the indicated value. First use h = 0.1 and then use h = 0.05. Find an explicit solution for each initial-value problem


1
Expert's answer
2021-12-08T04:34:29-0500

y=2xy,y(1)=1,y(1.5)y'=2xy,y(1)=1,y(1.5)


h = 0.1

y1=y0+hf(x0,y0)=1+(0.1)f(1,1)=1.2y_1=y_0+hf(x_0,y_0)=1+(0.1)f(1,1)=1.2

y2=y1+hf(x1,y1)=1.2+(0.1)f(1.1,1.2)=1.464y_2=y_1+hf(x_1,y_1)=1.2+(0.1)f(1.1,1.2)=1.464

y3=y2+hf(x2,y2)=1.464+(0.1)f(1.2,1.464)=1.8154y_3=y_2+hf(x_2,y_2)=1.464+(0.1)f(1.2,1.464)=1.8154

y4=y3+hf(x3,y3)=1.8154+(0.1)f(1.3,1.8154)=2.2874y_4=y_3+hf(x_3,y_3)=1.8154+(0.1)f(1.3,1.8154)=2.2874

 y5=y4+hf(x4,y4)=2.2874+(0.1)f(1.4,2.2874)=2.9278y_5=y_4+hf(x_4,y_4)=2.2874+(0.1)f(1.4,2.2874)=2.9278

y(1.5)=2.9278y(1.5)=2.9278


h = 0.05

y1=y0+hf(x0,y0)=1+(0.05)f(1,1)=1.1y_1=y_0+hf(x_0,y_0)=1+(0.05)f(1,1)=1.1

y2=y1+hf(x1,y1)=1.1+(0.05)f(1.05,1.1)=1.2155y_2=y_1+hf(x_1,y_1)=1.1+(0.05)f(1.05,1.1)=1.2155

y3=y2+hf(x2,y2)=1.2155+(0.05)f(1.1,1.2155)=1.3492y_3=y_2+hf(x_2,y_2)=1.2155+(0.05)f(1.1,1.2155)=1.3492

y4=y3+hf(x3,y3)=1.3492+(0.05)f(1.15,1.3492)=1.5044y_4=y_3+hf(x_3,y_3)=1.3492+(0.05)f(1.15,1.3492)=1.5044

y5=y4+hf(x4,y4)=1.5044+(0.05)f(1.2,1.5044)=1.6849y_5=y_4+hf(x_4,y_4)=1.5044+(0.05)f(1.2,1.5044)=1.6849

y6=y5+hf(x5,y5)=1.6849+(0.05)f(1.25,1.6849)=1.8955y_6=y_5+hf(x_5,y_5)=1.6849+(0.05)f(1.25,1.6849)=1.8955

y7=y6+hf(x6,y6)=1.8955+(0.05)f(1.3,1.8955)=2.1419y_7=y_6+hf(x_6,y_6)=1.8955+(0.05)f(1.3,1.8955)=2.1419

y8=y7+hf(x7,y7)=2.1419+(0.05)f(1.35,2.1419)=2.4311y_8=y_7+hf(x_7,y_7)=2.1419+(0.05)f(1.35,2.1419)=2.4311

y9=y8+hf(x8,y8)=2.4311+(0.05)f(1.4,2.4311)=2.7714y_9=y_8+hf(x_8,y_8)=2.4311+(0.05)f(1.4,2.4311)=2.7714

y10=y9+hf(x9,y9)=2.7714+(0.05)f(1.45,2.7714)=3.1733y_{10}=y_9+hf(x_9,y_9)=2.7714+(0.05)f(1.45,2.7714)=3.1733

y(1.5)=3.1733y(1.5)=3.1733



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