1. Explore the controls
Change the inputs and observe the model's response.
Find distance from the origin to a point.
Change the inputs and observe the model's response.
d = √(x²+y²)Adjust the controls to obtain the following output. Multiple valid solutions may exist.
Distance is nonnegative regardless of direction.
Simplified educational model. No real hardware is controlled. Code examples are illustrative and not executed as arbitrary programs.