I have two questions, I understand mostly how coding works but i'm unfamiliar with this language and pretty new to it.
1)How do you get a program to use the solve() function?
2)How would you work the if/then statement in this case.
What the program is doing is just solving 3 equations and giving the 3 answers. I'll either know the variables in the equation, or the numbers that the equation equals and will need to solve for the unknown variables inside the equation.
The error I get is "Error:Argument must be a variable name" and with my if/then statement, if i don't choose "A" then I get "A test did not resolve to TRUE or FALSE"
-Hopefully this is clear….if not I will try to clarify a bit! Thanks!
*defined all variables as Local*
Request "What would you like to solve for? A=xyz, B=uvw", s
If s=A then
Request "What is D?", D
Request "What is E?", E
Request "What is F?", F
Solve(x=D*equation1 and y=E*equation2 and z=F*equation3, x,y,z)
Request "What is G?", G
Request "What is H?", H
Request "What is I?", I
Solve(G=u*equation1 and H=v*equation2 and I=w*equation3, u,v,w)