Input. %Save the following contents in a .m file and run the .m file. omega = 1;. dy_dt = @(t,y) [y(2);... -omega.^2*sin(y(1))];.
確定! 回上一頁