K kingram New Member Sep 10, 2017 #1 Hi. I am making calculator and i have problem with this. When i want to get result of Tan(30) i get -6.40533... . But i should get 0.57..... . Code: Sub tanj_Click shower.Text = Tan(30) End Sub
Hi. I am making calculator and i have problem with this. When i want to get result of Tan(30) i get -6.40533... . But i should get 0.57..... . Code: Sub tanj_Click shower.Text = Tan(30) End Sub
Erel B4X founder Staff member Licensed User Longtime User Sep 11, 2017 #2 Check the second sentence above. You should use TanD. Upvote 0
K kingram New Member Sep 11, 2017 #3 Erel said: Check the second sentence above. You should use TanD. Click to expand... Thanks a lot. This is the best website for A and Q. Really thanks Upvote 0
Erel said: Check the second sentence above. You should use TanD. Click to expand... Thanks a lot. This is the best website for A and Q. Really thanks
Erel B4X founder Staff member Licensed User Longtime User Sep 11, 2017 #4 Radians: https://en.wikipedia.org/wiki/Radian Degree to radian: rad = deg * cPI / 180 Upvote 0
K kingram New Member Sep 11, 2017 #5 Erel said: Radians: https://en.wikipedia.org/wiki/Radian Degree to radian: rad = deg * cPI / 180 Click to expand... Tnx. And How about Cotangent ??? Upvote 0
Erel said: Radians: https://en.wikipedia.org/wiki/Radian Degree to radian: rad = deg * cPI / 180 Click to expand... Tnx. And How about Cotangent ???
eps Expert Licensed User Longtime User Sep 11, 2017 #6 COT is 1 over TAN... tan(theta) = sin(theta) / cos(theta) = a / b cot(theta) = 1/ tan(theta) = b / a HTH Upvote 0
COT is 1 over TAN... tan(theta) = sin(theta) / cos(theta) = a / b cot(theta) = 1/ tan(theta) = b / a HTH