Results 1 to 3 of 3

20101118, 18:04 #1
 Join Date
 Nov 2001
 Location
 Brisbane, Queensland, Australia
 Posts
 332
 Thanks
 10
 Thanked 0 Times in 0 Posts
This is making my brain hurt
cot A = b * pi / c
j = Pc * cos A * 0.3183
I have Pc, b and c and in these calculations A is degrees. As vb uses radians how does this need to be written to get value j?"Heading for the deep end"

20101119, 20:28 #2
 Join Date
 Nov 2001
 Location
 Brisbane, Queensland, Australia
 Posts
 332
 Thanks
 10
 Thanked 0 Times in 0 Posts
Can someone help with this then?
Cot A = 1/Tan A = B
I have B, what do I do to it to get A? (in radians)
I need A in radians to then put it into the second equation above to get J
A= 0.090757121103705 Radians
Cot A = 1/System.Math.Tan(0.090757121103705) = 10.9881501380931"Heading for the deep end"

20101202, 11:01 #3
 Join Date
 Mar 2010
 Location
 WinstonSalem, NC USA
 Posts
 134
 Thanks
 17
 Thanked 18 Times in 17 Posts
Here's a couple of functions that may be helpful.
Private Function PI() As Double
'Returns 3.14159265358979
'If using a calculator, set the mode to Radians.
PI = Atn(1) * 4
End Function
Private Function DegreesToRadians(dblDegrees As Double) As Double
DegreesToRadians = dblDegrees * (PI / 180)
End Function
Private Function RadiansToDegrees(dblRadians As Double) As Double
RadiansToDegrees = dblRadians * (180 / PI)
End FunctionDo your part!!! Report SPAM to http://www.spamcop.net/