CENTER OF GRAVITY

When piloting an aircraft, it is necessary to know the weight and center of gravity of the aircraft before takeoff.  If the aircraft is overloaded, it may be difficult or impossible to achieve lift.  If the center of gravity is outside of the designated limits, the aircraft may be difficult to control.

Determine the total weight and center of gravity of an aircraft, based on the number of crew members (a maximum of two (2) is allowed) and the weight of the cargo (a maximum of 5,000 pounds is allowed).

To compute the center of gravity, the program will take each weight and multiply it by its distance from the nose of the airplane.  These products, called moments, are added together, and the sum is divided by the total weight to give us the center of gravity.  The empty weight of the aircraft is known to be 9,021 pounds, and its empty center of gravity is 305 inches from the nose of the aircraft. Thus, the empty moment is 2,751,405 inch-pounds.  The aircraft can hold a maximum of 540 gallons of fuel.  For simplicity, we will assume that the tank is full at the time of takeoff and, with a fuel weight of 6.7 pounds per gallon, the fuel moment is known to be 1169156.7 inch-pounds.   (Assume fuel tanks are 323.15 inches from the nose of the aircraft.  Crew distance from the nose is 120.0 inches and cargo nose distance is 345.0.)

IMPLEMENTATION

Determine the total weight and center of gravity of an aircraft based on above criteria.

Use at least three (3) programmer defined functions.  One function must be void with reference parameters.  Your program should continue calculations as long as user wishes. Make sure to validate weight of cargo and crew.  Each crew member weight must be between 150 and 210.  ONLY GLOBAL CONSTANTS ARE ALLOWED. NO GLOBAL VARIABLES.

OUTPUT:

Enter number of crew members (maximum of 2) 1

Enter weight of each lst crew member 160

Enter weight of cargo (maximum of 5000 lbs) 100

100 pounds of cargo loaded.   Thank you.

The total weight is 12899 pounds.

The center of gravity is 308.106 inches from the nose of the plane

Another calculation of center of gravity? Press  'y':  y

Enter number of crew members (maximum of 2) 2

Enter weight of each lst crew member 160

Enter weight of each 2nd crew member 160

Enter weight of cargo (maximum of 5000 lbs) 100

100 pounds of cargo loaded.   Thank you.

The total weight is 13059 pounds.

The center of gravity is 305.801 inches from the nose of the plane

Another calculation of center of gravity? Press  'y':  y

Enter number of crew members (maximum of 2) 2

Enter weight of each lst crew member 150

Enter weight of each 2nd crew member 250

Re-enter weight, weight must be between 150 and 210 210

Enter weight of cargo (maximum of 5000 lbs) 4000

4000 pounds of cargo loaded.   Thank you.

The total weight is 16999 pounds.

The center of gravity is 314.357 inches from the nose of the plane

Another calculation of center of gravity? Press  'y':  n

## Business Finance : Paper/Scholarly Article Review...

Paper/Scholarly Article Review and Sharing 10 points:The student will:Prepare a minimum of four-page...

## for shining star 001 only...

im an introvert im private and i like intrinsic rewards ...

## For Bulrich777 - Week 4 Quiz - FIN515...

For Bulrich777 only.  All other handshake requests will be ignored.  Thanks.As discussed....

...

## Project schedule development Information Systems...

Project schedule development | Information Systems homework help...

## Under Armour Executive Summary...

In 2015, NIKE experienced an increase of cash and equivalents from \$2.2 billion to \$3.8 bi...

## Mathematics : 11 multiple choice of Statistics, q...

11 multiple choice of Statistics...

## Database systems and database models...

Assignment 2: Database Systems and Database ModelsDue Week 2 and worth 90 pointsThe Strayer Oracle Server may be used...

## Case Study-Training Assessment...

Case Study-Training AssessmentAssignment 2: Case Study—Training Assessment Training assessment is an important task for HR personnel. Use th...

## Accounting...

Provide solutions and answers to the 7 problems....

## Design and implement a simulation of the game of v...

Design and implement a simulation of the game of volleyball...

## SORTED 5528...

### Other samples, services and questions:

Calculate Price

When you use PaperHelp, you save one valuable — TIME

You can spend it for more important things than paper writing.

Approx. price
\$65
Order a paper. Study better. Sleep tight. Calculate Price!
Calculate Price
Approx. price
\$65