🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: can.schoolnet.math.sr
Article #723

Re: Can I get tan^-1 from tan

#723
From: Luis A. Dissett
Date: Sun, 31 Dec 1995 00:00
19 lines
1279 bytes
In article <4c36ou$1qks@pulp.ucs.ualberta.ca> ryangall@gpu.srv.ualberta.ca (Bobby Sixkiller) writes:

> I am working on a computer program in c, and I need to find the angle of a 
> given line. I have access to a tan() function which takes an angle, and 
> returns the tan of that angle. The problem I'm facing is that I have 
> the tan of the angle already(opposite and adjacent values) but dont know 
> what the angle is.. thats what I want to find. I know that on a calculator 
> I could just go tan ^-1 opposite/adjacent to get the angle, but I dont 
> have acces to an inverse of tan function. Can I get the inverse of tan by 
> using only the tan() function and the opposite and adjacent 
> values.....please mail me any ideas!

Use the `atan' function. For details, read the manual. 

> thanks

You are welcome.

Luis
Technical Details
Message-ID: <LDISSETT.95Dec31173536@qew.cs.toronto.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4c36ou$1qks@pulp.ucs.ualberta.ca>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f7972,4ae49718167a2d52
X-Google-Attributes: gidf7972,public
From: ldissett@qew.cs.toronto.edu (Luis A. Dissett)
Subject: Re: Can I get tan^-1 from tan
Date: 1995/12/31
Message-ID: <LDISSETT.95Dec31173536@qew.cs.toronto.edu>
X-Deja-AN: 123289906
x-nntp-posting-host: qew.cs.toronto.edu
references: <4c36ou$1qks@pulp.ucs.ualberta.ca>
newsgroups: can.schoolnet.math.sr