Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- float fMass = 1000.00, // Полная масса модуля
- fGMoob = 1.62, // 9.81,//
- fV = 0.00,
- fVGaz = 3000.00; // Метры в сек.
- float VchangeGravi(float t);
- ////////////////////////////////////////////////////
- int main() //
- {
- Vchange(6.00);
- printf("V result = %.2f", fV);
- }
- ///////////////////////////////////////////
- float VchangeGravi(float t)
- {
- fV = fV - (fGMoob * t);
- return fV;
- }
- ///////////////////////////////////////////
- float VchangePulse(float m) // За 1 секунду
- {
- float p = m * fVGaz;
- fMass -= m; //fMass = fMass - m;
- return p / fMass;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement