Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. Simulate a mass-spring-damper driven by a motor whose equations are shown below: m(t) + bi(t) + kx(t) = 2 i(t) di(t) v(t) = 0.02
1. Simulate a mass-spring-damper driven by a motor whose equations are shown below: m(t) + bi(t) + kx(t) = 2 i(t) di(t) v(t) = 0.02 + 2 i(t) +2.25 x(t dt with m=1 kg, k= 2 N/m, b=0.05 Ns/m for 5 seconds and an initial position of 0.1 m, initial velocity 0.1m/s, with no input (v(t) = 0), using a. ode45 function in a script b. Simulink Provide a picture of the Simulink diagram, the m-files used for both cases and separate plots of position, velocity, and the current through the motor as a function of time. [30] Solution: Type/Paste here 1. Simulate a mass-spring-damper driven by a motor whose equations are shown below: m(t) + bi(t) + kx(t) = 2 i(t) di(t) v(t) = 0.02 + 2 i(t) +2.25 x(t dt with m=1 kg, k= 2 N/m, b=0.05 Ns/m for 5 seconds and an initial position of 0.1 m, initial velocity 0.1m/s, with no input (v(t) = 0), using a. ode45 function in a script b. Simulink Provide a picture of the Simulink diagram, the m-files used for both cases and separate plots of position, velocity, and the current through the motor as a function of time. [30] Solution: Type/Paste here
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started