Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #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));
- }
Advertisement
Add Comment
Please, Sign In to add comment