I am trying to make a Triangle Angle and Side Length solver, using the graph screen to select then input angle measures and side lengths. Anyways, I seem to be having trouble with my conditionals. Can anyone correct my syntax? Or a more efficient way to complete the task?
Lol, turns out the problem was in a later conditional, apparently I couldn't have X>=-1. It might've been a minus one instead of a negative one. Really strange, but I fixed that problem. I still need a Law of Sines function though.
0->G Repeat G>=3 //Must have three variables in order to continue to next block of code, which is output Input If X>=84 and X<=102 and Y>=55 and Y<=70:Then //This conditional makes it so you have to select with the cursor a //point close enough to the letter A to allow you to input it's value Input "Angle A: ",A G+1->G End ... //Continues for angles B and C, sides A, B, C
Could anyone also provide me with a Law of Sines function that I can put in my program? I haven't learned the Law of Sines yet in my class and google hasn't been much help comprehending it. I know the Law of Cosines pretty well though, if that helps.