can you create a program in C programming please instructions below in picture IV.A. CONVERSIONS According to
Fantastic news! We've Found the answer you've been seeking!
Question:
can you create a program in C programming please
instructions below in picture
Transcribed Image Text:
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. 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.
Expert Answer:
Answer rating: 100% (QA)
Here is a sample C program that converts weight from ounces to carats and energy from gallons of gas... View the full answer
Related Book For
Introductory Statistics Exploring The World Through Data
ISBN: 9780321978271
2nd Edition
Authors: Robert Gould, Colleen Ryan
Posted Date:
Students also viewed these programming questions
-
Truth table in C programming Please follow the instructions below and include comments and snipshot for explanation thanks. 1) Copy the C program below. This program generates the truth table for a...
-
In this exercise, you create a program that uses two parallel one-dimensional arrays. The program displays a shipping charge that is based on the number of items ordered by a customer. The shipping...
-
In this exercise, you create a program for the sales manager at Computer Haven, a small business that offers motivational seminars to local companies. Figure 7-53 shows the charge for attending a...
-
Kamloops Company is a grocery wholesaler and is planning to expand its operations. The company has asked the bank for a loan to finance the expansion. Alphonzo, the companys manager, has prepared the...
-
Banks are not the only financial intermediary from which corporations can obtain financing. What are the other intermediaries? How much financing do they supply, relative to banks, in the United...
-
Complete all six steps of hypothesis testing for these data sets. Remember to keep the six steps in the right order. A consumer researcher gave consumers a sample shampoo. After using the shampoo,...
-
Compare and contrast the following two statements. Are they concerned with achieving eco-efficiency, eco-effectiveness or both? 1 Businesses should sack the unproductive kilowatt-hours, tonnes and...
-
Chocolates has observed the following overhead costs for the past 12 months: The results of the regression analysis are: TC = $8,781 + ($0:63 Ã Number of Boxes) a. Plot the data and the...
-
Problem 7 Your Company makes 3 products: A, B, & C. Your Co is considering dropping product B based on the following financial data from last year: Sales Prod A $600.00 Prod B Prod C $900.00 $360.00...
-
The most recent financial statements for Crosby, Incorporated, follow. Interest expense will remain constant, the tax rate and the dividend payout rate will also remain constant. Costs, other...
-
East West Investors currently hold an equity investment of 5 million shares in an IT joint venture company. These shares are currently worth $1.75 each. Comparator company shares have a beta of 1.2....
-
Payment of the following year. At the end of 2022, Jonathan Willer's various types of income and deductions are as follows: Employment Income Eligible dividend received from a CPC Eligible dividend...
-
Fab fashions had in-store sales of $12,000. its employees were paid $9000, the cost of doing business was $1500 abd rent was $5500. its on-line business had revenues of $3,000. What was the profit...
-
Suppose that for a financial institution, one-year rate sensitive assets (RSAs) are $240 million, and the one-year rate sensitive liabilities (RSLs) are $185 million. Total assets of the financial...
-
What triggered the downsizing phase in the U.S. hospital industry during the 1980s?
-
Materials handling Machine maintenance Setups $ 2 4 1 , 6 8 0 Inspections $ 1 3 3 , 9 2 0 Overhead Costs Activity - cost driver 9 8 , 0 0 0 orders 2 0 , 0 0 0 maintenance hours 4 5 , 6 0 0 setups 2 1...
-
reply to: Cost control measures will be implemented to avoid exceeding the allocated budget while prioritizing critical VMI functionalities. The commitment to Corporate Social Responsibility (CSR) is...
-
The area of a rectangle is 30 cm 2 and its perimeter is 26 cm. Find the length and width of the rectangle.
-
The average income in Connecticut in 2013 was $60,000 per person per year, and that was larger than the average for any other state but smaller than the District of Columbia. Suppose the standard...
-
Violins Stradivarius violins, made in the 1700s by a man of the same name, are worth millions of dollars. They are prized by music lovers for their uniquely rich, full sound. In September 2009, an...
-
For each graph, indicate whether the shaded area could represent a p-value. Explain why or why not. If yes state whether the area could represent the p-value for a one-sided or a two-sided...
-
Derive the equations of motion for the problem of Example 6.5 using (a) Newton's second law, (b) Lagrange's equation, and (c) Hamilton's principle, and then solve for the response. Example 6.5...
-
Use Hamilton's principle to derive the equations of motion for the structures shown in Figures (a) 6.66, (b) 6.68 , and (c) 6.69 . L m 12 m2 Figure 6.66: Double pendulum.
-
For the system shown in Figure 6.13, solve for the responses where \(k_{1}=k_{2}=k_{3}=k, m_{1}=m_{2}=\) \(m\), and where the initial conditions are \(x_{1}(0)=\) \(1, x_{2}(0)=1\), and zero initial...
Study smarter with the SolutionInn App