Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Rocket motors are tested by restraining them on the ground, firing them with a known amount of propellant, and measuring the thrust over time. A

Rocket motors are tested by restraining them on the ground, firing them with a known amount of propellant, and measuring the thrust over time. A typical curve is shown below.

The total impulse is the integral of the thrust over the operating duration of the motor. This can be approximated by

It = t(F1+F2+F3+)

where: It = total impulse in lb-sec t = time increment in seconds F1, F2, F3, = thrust at timesteps 1, 2, 3, in lb

The specific impulse is the total impulse divided by the weight of the propellant burned in the test.

Isp = It/m

where: Isp = specific impulse in seconds m = mass of propellant burned in pounds

The average thrust is found by dividing the total impulse by the thrust time.

Favg = It/t

where: Favg = average thrust in lb t = total test time in seconds

An input data file called testdata contains time and thrust data for a rocket test where the mass of propellant burned was 1.74 lb. The first record line of the input file is the control number, which defines the number of data points to be read into the program. Each succeeding record line has two columns. The first column is the elapsed test time in seconds, and the second column is the thrust in pounds. The input file is comma delimited.

ASSIGNMENT:

Write a C program that will read the required values from the input file into two one-dimensional arrays. Using the thrust, time, and increment between timesteps (hint: you can get this from the time array think about using one specific data value), compute the total thrust, total impulse, specific impulse, and average thrust. Print the total impulse, specific impulse, and average thrust to the computer screen and to an output file called results.

OUTPUT FORMAT:

********************************************

ROCKET MOTOR TEST RESULTS

Total Impulse: XXX.X lb-sec

Specific Impulse: XXX.X sec

Average Thrust: XXX.X lb

********************************************

FILE PATHS:

Before submitting your C source program, make sure that you set your input and output file paths to U:\ENGR 200\.

the file :

22 0.0,0.0 0.1,50.0 0.2,100.0 0.3,140.0 0.4,150.0 0.5,155.0 0.6,155.0 0.7,154.0 0.8,150.0 0.9,149.0 1.0,148.0 1.1,140.0 1.2,138.0 1.3,132.0 1.4,120.0 1.5,100.0 1.6,80.0 1.7,50.0 1.8,30.0 1.9,20.0 2.0,10.0 2.1,0.0 

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Technology And Management Computers And Information Processing Systems For Business

Authors: Robert C. Goldstein

1st Edition

0471887374, 978-0471887379

More Books

Students also viewed these Databases questions

Question

Question What are the advantages of a written bonus plan?

Answered: 1 week ago