- Home
·
- Miscellaneous
·
- Law Of Cosines. A Mathimatical program that determines the length of an unknown line, using the two
Law Of Cosines. A Mathimatical program that determines the length of an unknown line, using the two
Law Of Cosines. A Mathimatical program that determines the length of an unknown line, using the two other lengths (A, and B) and the angle of
Rate Law Of Cosines. A Mathimatical program that determines the length of an unknown line, using the two
(1(1 Vote))
Dim a As Single
Dim b As Single
Dim c As Single
Dim Answer As Single
'Values
a = Val(txta)
b = Val(txtb)
c = Val(txtc)
Answer = Val(lblanswer)
'Calculations
Answer = Sqr((a ^ 2 + b ^ 2) - 2 * a * b * Cos(c * (3.14159 / 180)))
'Displaying The Answer
lblanswer.Caption = Answer
Law Of Cosines. A Mathimatical program that determines the length of an unknown line, using the two Comments
No comments yet — be the first to post one!
Post a Comment