Question: So i am using matlab for loop to solve this Euler's method and apparently there is an error in my code at the seventh line

So i am using matlab for loop to solve this Euler's method and apparently there is an error in my code at the seventh line could you help with that?
thank you
So i am using matlab for loop to solve this Euler's method

nents Live Editor - untitled.mlx untitled.mlx * X + 1 = UN 2 3 4 5 6 7 8 9. 10 function dy dx = f(x,y) dydx = 6*x^2-3*x^2*y^2; x()=0; y(@)=3; D=0.15; for i=1:11 f(i)=6*x(i)^2-3*x(i)^2*y(i)^2; x(i)=X(i-1)+D; y(i+1)=y(i)+D*f(i); end KON 00 0 I Command Window New to MATLAB? See resources for Getting Started. fx >>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!