Question

Solve the following first order ODE with a given initial condition using Euler method in Excel using the formula given with n
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Using Excel and given differential equation and by Euler a) the calculations are tabulated as follow. Case-1: n 3, then dx-1.Case-2: n 10, then dx 0.3 a-3,b-6 y(n+1) x(п) y(n) f(x(n),y(n)) x(n+1) dx n+1 r C 3 1 0.3 5.333333333 1 3.3 2.6 3.3 3.927273Case-3: n 100, then dx-0.03 a-3,b- 6 y(n) f(x(n),y(n)) x(n) dx n+1 x(n+1) y(n+1) n 5.333333333 0 3 1 0.03 1 3.03 1.16 3.03 5.4 3.178631563 41 4,23 5.967194 0.03 42 4.26 6.062553 42 4,26 6.062553 0.03 3.153730896 43 4.29 6.157165 43 4.29 3.129526751 42.502589876 87 5.61 9.810235 0.03 88 5.64 9.885313 9.96015 88 5.64 9.885313 0.03 2.494569825 89 5.67 89 2.48671951 5.67 9.9606 У(n) 12 10 y(n) 4 1 2 3 Using Excel and given differential equation and by Euler b) the calculations are tabulated as folloy(n) 10 y(n) 2 1 0 2 3 5 6 1 Case-2: n 10 a-2,b-5 f(x(n),y(n)) x(п) y(n) dx x(n+1) y(n+1) n+1 0 0.3 1.358859 1 125658 2.3 3.1y(n) 12 10 8 y(n) A 2 0 6 1 4 Case-3: n 100, dx-0.03, a- 2, b=5 y(n) x(n+1) x(n) dx f(x(n),y(n) n+1 y(n+1) n 0 2,03 2.718 0.09 27 2.81 4.06063 0.03 2,025024 28 2.84 4.121381 28 2,84 0.03 29 2.87 4.121381 2.055159 4.183036 29 2.87 4.183036 0.03 2.085710 73 8,031743 4.22 4.19 0,03 3.993639 74 8.151552 74 4.25 4.22 8.151552 0.03 4.052999 75 8.273142 4.28 75 4.25 8.273142 0.0311 5.972075 2.39 3.297974 2.99 4.438967 3.59 4.19 8.031743 4.79 10.79839 6.061261 10.95931 2,42 3.347373 3.02 4.505348 3.62 4

Add a comment
Know the answer?
Add Answer to:
Solve the following first order ODE with a given initial condition using Euler method in Excel...
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