Community Profile

photo

nour sawaftah


Active since 2018

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


Hello I have to write a code for the following second order ODE: d^2/dx^2=7x-8x^2+2y. This is what I have so far but I keep getting- Attempted to access y(2); index out of bounds because numel(y)=1. I would appreciate some help
function dy=dydx(x,y) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %Create a system of fisrt or...

bijna 6 jaar ago | 1 answer | 0

1

answer