Qbasicnews.com
April 09, 2020, 08:20:46 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Inverse tan  (Read 1565 times)
andy
Senior Member
**
Posts: 175



WWW
« on: November 05, 2003, 05:36:21 AM »

Is there anyway to use the inverse tan or tan-1 function in qb. If not, how can I work out the size of an angle, when I only know two other sides.
Logged

eminiscing about trapezoids in conjunction with stratospherical parabolas:

No questions asked.

www.stickskate.com
Lachie Dazdarian
I hold this place together
*****
Posts: 955



WWW
« Reply #1 on: November 05, 2003, 05:50:09 AM »




tan(theta) = a/b = theta in radians (aproximately)

Doesn't apply on sin or cos functions. I mean you need to have small angles if you want to aproximate the angle on that way.
Logged
Neo
Na_th_an
*****
Posts: 2150



« Reply #2 on: November 05, 2003, 06:10:25 AM »

Use the ATN function, it is the function that calculates the arc tangens.

For ARCCOS and ARCSIN, they can be rewritten into LN, e powers and LOGs.
Logged
Dj Dennie
Member
*
Posts: 35


WWW
« Reply #3 on: November 05, 2003, 09:39:23 AM »

In case you need other trig functions try this:
http://support.microsoft.com/support/kb/articles/Q28/2/49.asp
Logged

: Dj Dennie ::
andy
Senior Member
**
Posts: 175



WWW
« Reply #4 on: November 05, 2003, 10:39:21 AM »

Thanks guys. The site that DJ dennie posted was really helpfull.
Logged

eminiscing about trapezoids in conjunction with stratospherical parabolas:

No questions asked.

www.stickskate.com
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!