Android Question bad result for tan of 30

kingram

New Member
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
 

eps

Expert
Licensed User
Longtime User
COT is 1 over TAN...

tan(theta) = sin(theta) / cos(theta) = a / b


cot(theta) = 1/ tan(theta) = b / a


HTH
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…