|
|
C++ Code
/*
Name: Group #058
Author: Anna Reese
Odessa Gomez
Description: In a 2-stage rocket, when given payload and the exaust velocity
find the fuel necessary to reach Low Earth Orbit(LEO)
*/
#include
#include
#include
#include
float fuelwt(double payload_wt,double exhaust_vel){ //function which finds the fuel weight when given
//payload and exhaust velocity
//***********declarations************
float v1, v2, ratio, payload, a, b, c, d, e, f; //variables needed for finding fuel
double x1, x2, r1, r2; // doubles in order to use them in logrithems
Continue
|