Right triangle calculator
-
gohbucks69
- Posts: 5
- Joined: Sun Mar 11, 2007 6:45 pm
Right triangle calculator
Find any side of a right triangle when any two sides or a side and an angle are known.
- Attachments
-
Trig.zip- (1.52 KiB) Downloaded 562 times
-
gohbucks69
- Posts: 5
- Joined: Sun Mar 11, 2007 6:45 pm
New Version
Updated similar to Rt_Triangle1.zip but added code to output degrees in DDºMM'SS"
Also added "*******************" to disabled boxes instead of "0"
Also added "*******************" to disabled boxes instead of "0"
- Attachments
-
Rt_Triangle.zip- (1.88 KiB) Downloaded 464 times
Last edited by gohbucks69 on Fri Mar 23, 2007 7:23 pm, edited 1 time in total.
I have done some updates to allow tabbing through the boxes and hitting of ENTER to solve the triangle.
Replaced any IF..THEN..GOTO by SELECT..CASE.
Turned any procedure into a SUB to avoid GOTO.
Update: Merged all ERRORx SUB's into one
Update: Corrected checking for division by zero
Replaced any IF..THEN..GOTO by SELECT..CASE.
Turned any procedure into a SUB to avoid GOTO.
Update: Merged all ERRORx SUB's into one
Update: Corrected checking for division by zero
- Attachments
-
Rt_Triangle_1.zip- Enhanced usability and program flow
fixed a spelling error - (1.68 KiB) Downloaded 491 times
Stefan
The invisible Admin
The invisible Admin