Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
funciones serie de taylor
double exponencial(double x){ double suma=1; double termino=1; double max=pow(10,-5); if(x>0){ for (int i=1;termino>max;i++){ termino=pow(x,i)/(factorial(i)); if (termino<=max){break;} suma=suma+termino; } } else{ x=x*-1; for (int i=1;termino>max;i++){ termino=pow(x,i)/(factorial(i)); if (termino<=max){break;} suma=suma+termino; } suma=1/suma; } return suma; } double factorial(int n){ double fact=n; for(int i=1;i<n;i++){ fact=fact*i; } return fact; }
run
|
edit
|
history
|
help
0
C)_Assign_q4
bitwise manipulation
A_141205_CADENAS
Minus pointer
hwk2
Michael Bean's Spring 2017 Lab 3 v1
CreverseInt
pointer**
C_141106_Divisores
tarea1