Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double hd = 10000;
- double dzialanie = (double)2/M_PI * atan (2 * hd);
- printf ("%lf\n",dzialanie);
- int a = 1;
- while (dzialanie > 0.5f)
- {
- hd = hd - 100;
- dzialanie = (double)2/M_PI * atan (2 * hd);
- printf ("%i %lf\n",a,dzialanie);
- a++;
- }
- printf ("Hd = %lf\n",hd);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement