Solve equation numerically - MATLAB Cody - MATLAB Central

Problem 43285. Solve equation numerically

Difficulty:Rate

y'=y

In order to solve equation using computer, numerical analysis are needed. 1st order Euler's method is one of the method. above equation can be expressed as

y(i+1)=y(i)+h*y(i)

y(1)=1

Calculate y(10) using h=0.1. Inputs are y(1) and h.

https://en.wikipedia.org/wiki/Euler_method

Solution Stats

53.78% Correct | 46.22% Incorrect
Last Solution submitted on Dec 30, 2024

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
3
6

Problem Recent Solvers54

Suggested Problems

More from this Author27

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!