Question: I'm not sure what the issue is here. * ODE-2: solve the ODE by using the Euler's method 1 solution submitted (max: Unlimited) View my

 I'm not sure what the issue is here. * ODE-2: solve

I'm not sure what the issue is here.

* ODE-2: solve the ODE by using the Euler's method 1 solution submitted (max: Unlimited) View my solutions Find the numerical solution y at x=0.5 governed by the following differential equation dy/dx = +y knowing that at x=0, the value of the solution y is equal to 0 Save the solution in a variable called "sol" Script 1 %dy/dx=exp(x+y) 2 %y(@)= 3 h=0.881; 4 5 X(1)=0; 6 y(1)=0; 7 8 for i = 0:0.5 9 x(i+1) x(i) + 0.881 1e y(i+1) = y(i) + exp(x(i) + y(i)) 11 end 12 13 sol = y(i+1) Output Array indices must be positive integers or logical values. Error in solution (line 9) x(i) = x(i) + 0.001 Previous Assessment: 0 of 1 Tests Passed Save the solution in a variable called "so" Variable sol must be of size [11]. It is currently of size [0 0]. Check where the variable is assigned a value

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!