answersLogoWhite

0

How do you use tan in a c program?

Updated: 8/19/2019
User Avatar

Wiki User

12y ago

Best Answer

double x, y;

...

x = tan (y);

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you use tan in a c program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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).


What is tan20tan32 plus tan32tan38 plus tan38tan20?

This may not be the most efficient method but ... Let the three angle be A, B and C. Then note that A + B + C = 20+32+38 = 90 so that C = 90-A+B. Therefore, sin(C) = sin[(90-(A+B) = cos(A+B) and cos(C) = cos[(90-(A+B) = sin(A+B). So that tan(C) = sin(C)/cos(C) = cos(A+B) / sin(A+B) = cot(A+B) Now, tan(A+B) = [tan(A)+tan(B)] / [1- tan(A)*tan(B)] so cot(A+B) = [1- tan(A)*tan(B)] / [tan(A)+tan(B)] The given expressin is tan(A)*tan(B) + tan(B)*tan(C) + tan(C)*tan(A) = tan(A)*tan(B) + [tan(B) + tan(A)]*cot(A+B) substituting for cot(A+B) gives = tan(A)*tan(B) + [tan(B) + tan(A)]*[1- tan(A)*tan(B)]/[tan(A)+tan(B)] cancelling [tan(B) + tan(A)] and [tan(A) + tan(B)], which are equal, in the second expression. = tan(A)*tan(B) + [1- tan(A)*tan(B)] = 1


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 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.


Why you use c language for writing the program?

Because I can and because I like C.


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 use c program?

Compile, link and execute them.


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.