Question: ( i ) Use Matlab to solve d y d t = c o s ( t ) , with y ( 0 ) =

(i) Use Matlab to solve
dydt=cos(t), with y(0)=1.
(ii) Run your Matlab code, and attach your solution to the end of your Matlab code. For submission, copy and paste your code while you can either copy/paste or screenshot your solution.
Code:
syms y(t)
dsolve('Dy=cos(t)','y(0)=1')
or
syms y(t)
z=diff(y)==cos(t)
f=y(0)==1%
dsolve(z, f)
ans =
sin(t)+1
( i ) Use Matlab to solve d y d t = c o s ( t ) ,

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!