miguel747 icon

Limit sqrt(n)sinx

miguel747 | PRO | 05/13/13 05:46:47 PM UTC | 0 ⭐ | 168 👁️ | Never ⏰ | []
C |

330 B

|

None

|

0 👍

/

0 👎

#include <stdio.h>
#include <stdlib.h>
#include <math.h> 
 
double limite(long int n);
 
int main(int argc, char const *argv[])
{
    int n=50000;
    double result;
    result = sqrt(n)*limite(n);
    printf("resultado: %f\n",result);
    return 0;
}
 
double limite(long int n){
    if (n==1)
        return 1;
    return sin(limite(n-1));
}

Comments