14–6 Solving and Integrating Programs
File name 33s-E-Manual-1008-Publication(1st).doc Page : 386
Printed Date : 2003/10/8 Size : 13.7 x 21.2 cm
The programmed SOLVE instruction does not produce a labeled display (variable
= value) since this might not be the significant output for your program (that is, you
might wart to do further calculations with this number before displaying it). If you
do want this result displayed, add a VIEW variable instruction after the SOLVE
instruction.
If no solution is found for the unknown variable, then the next program line is
skipped (in accordance with the "Do if True" rule, explained in chapter 13). The
program should then handle the case of not finding a root, such as by choosing
new initial estimates or changing an input value.
Example: SOLVE in a Program.
The following excerpt is from a program that allows you to solve for x or y by
pressing
t
X or Y.