A6 Calculus II: integration, series and approximation · Practice
Lab: differential equations in code
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
Check
A part's rise without feedback would be 10 °C; its loop gain is 0.5. Where does it settle?
Check
For the same part, with = 30 s, what is the time constant of its settling?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
Write settle(th, a, P0=1, tau=60): step from 0 with Euler steps of 0.5 s until the rate is below (return ) or passes 1000 (return None). Set d1 = settle(th, 0.004) and d2 = settle(th, 0.02) for = 20 °C.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Step a tank from = 2 m with = 0.05, using Euler steps of 1 ms, until . Set t_empty to the time, interpolated within the last step, and exact to .
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Use your rk4 (in the starter) on from 2 to = 4 with 40 steps. Set y_num and y_exact, and half to the time it reaches half its start, from the exact solution.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Settled rise: 5.2 °C without feedback, loop gain 0.016?
Check
Tank empty time: = 0.52, = 0.016?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in A6