diff --git a/lab6/predkosc.h b/lab6/predkosc.h new file mode 100644 index 0000000000000000000000000000000000000000..4d7b86a57b8c05f6ce6fb9991d69f076bef640ed --- /dev/null +++ b/lab6/predkosc.h @@ -0,0 +1,7 @@ +#include <math.h> + +float predkosc(int m,int r){ + float v = sqrt((2*0.00000000006674*m)/r); + printf("Predkosc ucieczki to %.2f", v); +} +