1. Explore the controls
Change the inputs and observe the model's response.
Approximate √2 using the average of x and 2/x (one Newton step).
Change the inputs and observe the model's response.
next = (x + 2/x)/2Adjust the controls to obtain the following output. Multiple valid solutions may exist.
Repeated iterations converge toward √2 for positive guesses.
Simplified educational model. No real hardware is controlled. Code examples are illustrative and not executed as arbitrary programs.