Question: we solved (analytically using Laplace transforms) the linear, second-order, forced ODE: 22+6+9()=()d2ydt2+6dydt+9y(t)=u(t) with input term ()=()u(t)=cos(t) and initial conditions (0)=1y(0)=1, ||=0=(0)=2dydt|t=0=y(0)=2. Now, write a Python

we solved (analytically using Laplace transforms) the linear, second-order, forced ODE:

22+6+9()=()d2ydt2+6dydt+9y(t)=u(t)

with input term ()=()u(t)=cos(t) and initial conditions (0)=1y(0)=1, ||=0=(0)=2dydt|t=0=y(0)=2.

Now, write a Python function which: we solved (analytically using Laplace transforms) the linear, second-order, forced ODE:

During Tutorial 3 last week, we solved (analytically using Laplace transforms) the linear, second-order, forced ODE: dtdt with input term u)cos) and initial conditions yco)1. y (0) 2. Now, write a Python function which: Solves and plots y(t), NOT deviation y'(t), using the concept of transfer functions (therefore you will need to analytically derive G(s) first). Plots the analytical solution of y(t) that we derived in Tutorial 3. Compares the two curves on the same plot, up to time t = 50, using similar visuals (ielegend, axis labels and titles, etc.) as the previous projects in this notebook. . During Tutorial 3 last week, we solved (analytically using Laplace transforms) the linear, second-order, forced ODE: dtdt with input term u)cos) and initial conditions yco)1. y (0) 2. Now, write a Python function which: Solves and plots y(t), NOT deviation y'(t), using the concept of transfer functions (therefore you will need to analytically derive G(s) first). Plots the analytical solution of y(t) that we derived in Tutorial 3. Compares the two curves on the same plot, up to time t = 50, using similar visuals (ielegend, axis labels and titles, etc.) as the previous projects in this notebook

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