All responses to prompts (except filenames, see above) are evaluated
by the Scheme interpreter before they are used. You can therefore
enter any valid Scheme expression as the response to a prompt. For
example, to enter a unit vector with one component equal to (without using your calculator),
/foo>set-xyx-component [1.0](/ 1 3)y-component [0.0](sqrt (/ 8 9))
or, you could first define a utility function to compute the second component of a unit vector,
>(define (unit-y x) (sqrt (- 1.0 (* x x))))unit-y /foo>set-xyx-component [1.0](/ 1 3)y-component [0.0](unit-y (/ 1 3))