Question: d y d t = s i n ( 2 t ) - 3 y t for y = 5 t = 3 2 +

dydt=sin(2t)-3yt for y=5t=32+2+4=8yt=@(y)(sin(2***t)-3***y)*t[ty]=[3:0*1:6],3(t,y)3 with y=5att=3
2+2+4=8 points
Carefully inspect the commands below. They are meant to integrate y over time t, using the given ordinary differential equation.
The coded lines have 2 important errors.
Write the corrected commands and take the screenshot of your command window ?? editor window.
=> TrigFunc =@(y)(sin(2***t)-3***y)*t
[ty]= ode 45( TrigFunc, [3:0*1:6],3)
plot (t,y)
Show the plotted graphic on your screenshot.
d y d t = s i n ( 2 t ) - 3 y t for y = 5 t = 3 2

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 Programming Questions!