Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // I don't know where this code is from. I tried to find the source and
- // didn't find. If you know where it is from, please send me the link =)
- #include <stdio.h>
- #include <math.h>
- int main()
- {
- long double x;
- for (x=1; x<14; ++x)
- printf("%c",(int) (long double) (43189*pow(x,12)/479001600
- - 9751* pow(x,11)/1267200
- + 2550839*pow(x,10)/8709120
- - 9518329*pow(x,9)/1451520
- + 1391746459*pow(x,8)/14515200
- - 332152549*pow(x,7)/345600
- + 58724195669*pow(x,6)/8709120
- - 2294231779*pow(x,5)/69120
- + 1231032990581*pow(x,4)/10886400
- - 468238830697*pow(x,3)/1814400
- + 123386850029*x*x/332640
- - 147341797*x/495+99109 + 0.5 )
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement