answersLogoWhite

0

How do you use tan in a c program?

User Avatar

Anonymous

14y ago
Updated: 8/19/2019

double x, y;

...

x = tan (y);

User Avatar

Wiki User

14y 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?

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


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.


Find the lengths of the missing sides if side a is opposite angle A side b is opposite angle B and side c is the hypotenuse. tan(A) 100 b 100?

Given that ( \tan(A) = \frac{b}{a} ) and ( b = 100 ), we can express ( a ) as ( a = \frac{b}{\tan(A)} = \frac{100}{\tan(A)} ). To find the hypotenuse ( c ), we can use the Pythagorean theorem: ( c = \sqrt{a^2 + b^2} ). Thus, ( c = \sqrt{\left(\frac{100}{\tan(A)}\right)^2 + 100^2} ).


Why you use c language for writing the program?

Because I can and because I like C.


How do you use c program?

Compile, link and execute them.


How can you use turbo c in Window7?

With program DosBox,


How you write a c program in notepad?

Use the keyboard.


How do you do some minecraft mods?

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