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 Comment

Have a read here and here. It will greatly improve your chances of getting an answer.

Answers (0)

This question is closed.

Products

Release

R2020a

Tags

Asked:

on 4 May 2020

Closed:

on 4 May 2020

Community Treasure Hunt

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

Start Hunting!