Question: 1 . You will be writing the code the have MATLAB perform Variation of Paramters to solve the differential equation t 3 y + t
You will be writing the code the have MATLAB perform Variation of Paramters to solve the differential
equation
ty tytyy t t
where yt t yt t yt
t are solutions to the corresponding homogeneous differential
equation.
a Define the variables u vw t c c c in MATLAB. Then use the above differential equation and
solutions to define y y y f in MATLAB. You do not need to define these as functions as they
will not be evaluated at any values.
b Use your results from part a to define the system of equations necessary to perform variation of
parameters. Use u vw in place of u
u
u
respectively. Call this system eqns This should
only be one line of code as you will tell MATLAB to perform any necessay derivatives within the
system itself.
c Solve the system eqns for u v and wExplicitly use u v w in your code.
d Find the general solution y of the differential equation. This should only be one line of code as
you will tell MATLAB to perform any necessay integrals. MATLAB does not include a constant
of integration for indefinite integrals. But your solution still needs to include them.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
