A5 Calculus I: change and accumulation · Practice
Lab: tolerance analysis 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.
0 solved
0 in a row
0 of 6 kinds solid
Check
Three parts have sensitivities 0.7, 0.5 and 0.25, with tolerances 1%, 1% and 5%. What is the worst-case error, in percent?
Check
The root-sum-square of the sensitivity-weighted tolerances is 1%. If every part is uniform within its tolerance, what standard deviation do you expect for the output, in percent?
Check
For the loaded divider in the starter, set S to the list of sensitivities to R1, R2 and RL (use your sens), then wc and rss to the worst-case and root-sum-square errors as fractions, with tolerances of 1%, 1% and t3 = 5% on the load.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Build n = 8000 random boards with random.seed(2): each part is its nominal value times random.uniform(-t, t) with tolerances 1%, 1% and 5%. Set spread to the standard deviation of the output's fractional error , and worst to the largest absolute error seen.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Worst case: sensitivities 0.23 and 0.13, tolerances 1.4% and 3.6%?
Check
Root-sum-square: sensitivities 0.23 and 0.13, tolerances 1.4% and 3.6%?
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 A5