Write Python codes/script to solve the following problems/question: Find a numerical solution to the following different
Posted: Mon May 02, 2022 12:02 pm
Write Python codes/script to solve the following problems/question: Find a numerical solution to the following differential equations with the associated initial conditions. Expand the requested time horizon until the solution reaches a steady state. Show a plot of the states (x(t) and/or y(t)). Report the final value of each state as t--00 t-00.
Problem 2: dy(t) 5 dt -y(t) + u(t) y(0) = 1 u steps from 0 to 2 at t = 10
Problem 2: dy(t) 5 dt -y(t) + u(t) y(0) = 1 u steps from 0 to 2 at t = 10