A5 Calculus I: change and accumulation · Practice
Lab: Newton's method 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
Near a root, Newton's errors follow with = 0.35. If = 0.05, what is ?
Check
Newton's method on starts at = 1. Where does the first step land?
Check
Use your newton (copied into the starter) to find a diode's voltage: a source Vs = 5 V through R = 470 Ω, A, = 0.025 85 V, starting from 0.8 V. Set Vd to the voltage and I to the current through the resistor.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Find where Newton's method on stops working. Write converges(x0) returning True if newton (in the starter) finds the root 0 from x0. Then bisect on x0 between 1 and 2 (40 halvings) to set edge to the starting point where it switches from converging to diverging, and ok = converges(x0) for x0 = 1.3.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Quadratic convergence: = 0.14, = 0.0015. What is ?
Check
One Newton step on from 0.34?
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