answersLogoWhite

0

How do you use tan in a c program?

User Avatar

Anonymous

13y ago
Updated: 8/19/2019

double x, y;

...

x = tan (y);

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

If for a triangle abc tan a-b plus tan b-c plus tan c-a equals 0 then what can you say about the triangle?

tan (A-B) + tan (B-C) + tan (C-A)=0 tan (A-B) + tan (B-C) - tan (A-C)=0 tan (A-B) + tan (B-C) = tan (A-C) (A-B) + (B-C) = A-C So we can solve tan (A-B) + tan (B-C) = tan (A-C) by first solving tan x + tan y = tan (x+y) and then substituting x = A-B and y = B-C. tan (x+y) = (tan x + tan y)/(1 - tan x tan y) So tan x + tan y = (tan x + tan y)/(1 - tan x tan y) (tan x + tan y)tan x tan y = 0 So, tan x = 0 or tan y = 0 or tan x = - tan y tan(A-B) = 0 or tan(B-C) = 0 or tan(A-B) = - tan(B-C) tan(A-B) = 0 or tan(B-C) = 0 or tan(A-B) = tan(C-B) A, B and C are all angles of a triangle, so are all in the range (0, pi). So A-B and B-C are in the range (- pi, pi). At this point I sketched a graph of y = tan x (- pi < x < pi) By inspection I can see that: A-B = 0 or B-C = 0 or A-B = C-B or A-B = C-B +/- pi A = B or B = C or A = C or A = C +/- pi But A and C are both in the range (0, pi) so A = C +/- pi has no solution So A = B or B = C or A = C A triangle ABC has the property that tan (A-B) + tan (B-C) + tan (C-A)=0 if and only if it is isosceles (or equilateral).


How do you write a program in embedded c?

Use a text-editor program.


What is the use of extend in c program?

Nothing.


What has the author C K Tan written?

C. K. Tan has written: 'Strategic management'


What is tan20tan32 plus tan32tan38 plus tan38tan20?

Oh honey, you're throwing some trigonometry at me? Alright, buckle up. The sum of tan20tan32 plus tan32tan38 plus tan38tan20 is equal to 1. Just plug in those values and watch the magic happen. Math can be sassy too, you know.


Why you use c language for writing the program?

Because I can and because I like C.


What would be the purpose to download a c compiler?

A C Compiler is a program for computers that can be use for programming and deciphering languages. The C Compiler program has been around for several years and is easy to use.


How do you use c program?

Compile, link and execute them.


How you write a c program in notepad?

Use the keyboard.


How can you use turbo c in Window7?

With program DosBox,


How do you do some minecraft mods?

You use java to program. I don't program. like c++


What makeup would look best on you if you had tan skin brownish blond hair and hazel eyes?

You c an use a tan consieler and put jet black mascara on.