![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/15519280_1558203779033_DEF.jpg)
Dhrumil Patadia
Followers: 0 Following: 0
Feeds
提问
What is wrong with my code? I have to find value of x(20 sec), y(20 sec) & z(20 sec). The correct answers are: x(20) = 0.704, y(20) = 0.665, z(20) = 0.246.
function a=ques() D1=@(t,x,y,z) z-y/2; % dx/dt D2=@(t,x,y,z) x/2-z/sqrt(2); %dy/dt D3=@(t,x,y,z) y/sqrt(2)-x/2; %dz/dt h=0.0...
4 years 前 | 1 个回答 | 0
1
个回答提问
4th order runge kutta for spring mass sytem
What is wrong with the code: (Also, I am a beginner, so any suggestions for where can i learn matlab for solving odes and pdes w...
4 years 前 | 1 个回答 | 0