Skip to content
Snippets Groups Projects
Commit 9ea2696a authored by Karol Pluto Prądzynski's avatar Karol Pluto Prądzynski
Browse files

header do lab6 zad 3

parent 77b7b729
Branches
No related merge requests found
lab6-3.h 0 → 100644
bool czyPoprawne(int m, int r){
if (m<=0 || r<=0)
return false;
else
return true;
}
float predkosc(int m, int r){
const float g = 6.674 * pow(10, -11);
float v;
v = sqrt((2*m*10e24*g)/r*10e6);
return v;
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment