Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Lab6 v0.5 Sin,cos,tan,cot
//gcc 5.4.0 //Start Program //Int in //double sin //double cos //double tan //double cot //READ x //COMPUTE sin(x) // sin=((x-3x^3)/3!)+((x^5)/5!)-(x^7)/7!); //COMPUTE cos(in) // cos=((1-x^2)/2!)+((x^4)/4!)-((x^6)/6!); //COMPUTE tan(in) // tan=sin/cos //COMPUTE cot(in) // cot=1/tan //PRINT sin, cos,tan, and cot //End Program // #include <stdio.h> int main(void) { int x; double sin; double cos; double tan; double cot; scanf("%d",&x); sin=((x-(x*x*x))/6)+((x*x*x*x*x)/120)-((x*x*x*x*x*x*x)/5040); }
run
|
edit
|
history
|
help
0
Cbinsearch
FunPointUnion
joseph a triangle
Matrices de cadenas con *punteros
DUE TUESDAY
ARREGLO DE VARIABLES DE TIPO STRUCT
Project 4 v.1
time clock and day count through second by user input (ratneshgujarathi)
Lior Yehieli Lesson
Spring 2017 Project 2 v1.2