Answered step by step
Verified Expert Solution
Question
1 Approved Answer
can you create a program in C programming please instructions below in picture IV.A. CONVERSIONS According to the Mars Climate Orbiter Mishap Investigation Board Phase
can you create a program in C programming please
instructions below in picture
IV.A. CONVERSIONS According to the Mars Climate Orbiter Mishap Investigation Board Phase I Report, Executive Summary, page 6* (Nov 10 1999), The MCO... was lost sometime following the spacecraft's entry into Mars occultation.... [T]he root cause for the loss ... was the failure to use metric units in the coding of ... software ... used in trajectory models. Specifically, thruster performance data in English units instead of metric units was used in the software application code titled SM FORCES (small forces). A file called Angular Momentum Desaturation (AMD) contained the output data from the SM FORCES software. The data in the AMD file was required to be in metric units ... and the trajectory modelers assumed the data was provided in metric units per the requirements. ... Write a program to convert from English units to metric units, specifically to convert: weight from ounces to carats AND energy from gallons of gasoline to megawatt hours. For your conversions, use the following constant values AND NO OTHERS, declaring and ini- tializing appropriate named constants (you are ABSOLUTELY FORBIDDEN to combine these in initializations): . There are 16 ounces per pound. There are 2.2046226218487757 pounds per kilogram (on the Earth's surface). There are 1000 grams per kilogram. . There are 5 carats per gram. There are 114,000 British Thermal Units (BTUs) per gallon of gasoline. There are 1055.056 joules per BTU. There is 1 watt-second per joule. There are 1000 watts per kilowatt. . There are 1000 kilowatts per megawatt. . There are 60 minutes per hour. There are 60 seconds per minute.
Step by Step Solution
★★★★★
3.32 Rating (146 Votes )
There are 3 Steps involved in it
Step: 1
Here is a sample C program that converts weight from ounces to carats and energy from gallons of gas...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started