Search for question
Question

i.Write your own Python code that create the simulation of the system ii.Select an appropriate step size h = At. Explain your reasoning. iii.Select an appropriate end time for the simulation. Explain your reasoning. iv.Calculate the error (E) and percentage error (le1%) and discuss the results. V.Plot the output responses (i.e. plot the output position x₂(t) against time in seconds) and discuss the results in terms of general system behaviour (e.g. under damped or over damped etc).

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5