how to create this code in matlab

Please write a Matlab code to implement Euler's Method to solve the differential equation y'=2+2x-x2 subject to initial condition y(0)=1. Please use step size 0.1 and estimate the value at x=1 and x=2.

1 commentaire

Rik
Rik le 4 Mai 2020
Have a read here and here. It will greatly improve your chances of getting an answer.

Réponses (0)

Cette question est clôturée.

Produits

Version

R2020a

Tags

Clôturé :

le 4 Mai 2020

Community Treasure Hunt

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

Start Hunting!

Translated by