1-Visitor
July 18, 2011
Solved
Using a solver in programming
- July 18, 2011
- 2 replies
- 2794 views
I have a simple solver in the format
y:=guess Given
formula1=0
y:Find(y)
However the formula is dependent upon a boolean criteria so I want this format:
y:=guess Given
if criteria 1
Formula1=0
else
Formula2=0
y:Find(y)
I can solve the two formulas then check the criteria then select the correct solution but this seems longwinded or unelegant, see attached!
How can I do this in a compact way?

