home *** CD-ROM | disk | FTP | other *** search
- This program solves for the area of a scalene triangle. You enter
- the value of each side and it will use the formula
- sqrt(s(s-a)(s-b)(s-c))
- when a, b, & c are the value of the sides
- and
- s is (a + b + c) / 2
-
- Feel free to distribute but please dont take credit for yourself.
-
-
- Written by David Stinemetze
-
- NAME:Heron
- :ClrHome
- :Disp "A"
- :Input A
- :Disp "B"
- :Input B
- :Disp "C"
- :Input C
- :(A+B+C)/2\->\S
- :SQRT(S(S-A)(S-B)(S-C))\->\H
- :Disp H
- :End