In order to understand the way arithmetical networks are interpreted, modeled and eventually solved, we will discuss a small example, focusing on the main functions our equation is going to cross.21
Given the formula :
, where
| is the volume of the cylinder, fixed to |
|
| is 3.14159 | |
| is the radius fixed to |
|
| is the height of the cylinder. (The value we are looking for). |
Let us translate this into AriNET's language In order to do so, we write the following in an Editor Window:
(defvariable V pi r h) (set-value! pi 3.14159 'user) (set-value! r 15 'user) (set-value! V 450 'user) (defconstraint (V = pi * (sqr 15) * h))