This problem is marked as deprecated.
Although this problem remains in the system because of historic reasons, it may have some issues and should not be used anymore.
Deprecation indication: This problem has an issue with the precision of real numbers. It is replaced by P39153.
La sèrie de Taylor per calcular l’exponencial és:
ex= |
|
| . |
Nota: els termes no inclouen el sumatori.
Input
take 6 $ exps 1.0 exponencial 1.0 0.00001
Output
[1.0,1.0,0.5,0.16666667,4.1666668e-2,8.333334e-3] 2.718279