Appendix C


  Home
  Executive

Summary
  Introduction
  Project
Description
  Results
  Conclusions
  Future Work
  Acknowledg-

ments
  References
  Appendixes
C++ Code
//***********DECLARATIONS************

int fwt;                             // fuel weight inside main
double exh_v;                        // exhaust velocity
double pwt;                          // payload weight

exh_v=3.7;                            // declare exhaust velocity as set 3.7 to be used in for loop
//*******Begin For Loop*********
for (pwt=1000; pwt<3010;pwt+=100){   // vary the payload from 1000 to 3000

 fwt = fuelwt(pwt,exh_v);             // run the function to find fuel weight

 cout << pwt<<'\t' << exh_v << '\t' << fwt << endl;       //print out
}                                   //close loop

exh_v=4.1;                            // declare exhaust velocity as set 4.1 to be used in for loop
//*******Begin For Loop*********
for (pwt=1000; pwt<3010;pwt+=100){   // vary the payload from 1000 to 3000

 fwt = fuelwt(pwt,exh_v);             // run the function to find fuel weight

 cout << pwt<<'\t' << exh_v << '\t' << fwt << endl;       //print out
}                                   //close loop


pwt=2600;                            // declare payload as set 2600 to be used in for loop


Back  Continue

The images used were from the fallowing locations:
www.ender-design.com
www.gifanimations.com