Reference no: EM132376344
Assignment
Question 1: Rocket Flight
The flight of a test rocket weighing 25 metric tonnes can be modelled as follows. At time t = 0, the rockets engines generate exactly the right amount of upward thrust to maintain the rocket against gravity. From t = 0 to 10s, the thrust increases linearly to a maximum of 50000 kgf (kilogram-force). The engines then shut down and the rocket moves only under the force of gravity. After it reaches the apex the rocket starts to fall back down. When the magnitude of the downwards velocity reaches v = 30 m/s, a parachute opens and the rocket continues to move down at a constant speed of vchute = 20 m/s until it hits the ground (assume parachute deployment and change in velocity are instant).

Write a MATLAB program that calculates and plots the speed and altitude of the rocket as a function of time during the flight.
Tips for analysis of the problem
• The force of gravity, g = 9.81 m/s2
• The rocket may be assumed to be a particle that moves along a straight line in the vertical plane.
• Make sure all your values are converted to consistent SI units
A. Stage 1: The first 10s when the rocket engine is on. During this period, the rocket moves up with an acceleration determined by,
a = (F - mg)/m
where, F is the instantaneous thrust of the engines. The velocity and height as a function of time are: v(t) = 0.4905t2 and h(t) = 0.1635t3.
The initial velocity and initial position are both zero. The time, velocity, and height at the end of this stage are t1, v1, and h1
B. Stage 2: The motion from when the engine stops until the parachute opens. In this stage the rocket moves with a constant deceleration, g. The speed and height of the rocket as a function of time are given by:
v(t) = v1 - g(t - t1)
h(t) = h1 + v1 (t - t1) - 1/2g(t - t1)2
The time and height at the end of this stage are t2, and h2
C. Stage 3: The motion from when the parachute opens until the rocket hits the ground. In this stage the rocket moves with constant velocity (zero acceleration). The height as a function of time is given by:
h(t) = h2 - vchute (t - t2)
where, vchute is the constant velocity after the parachute opens.
D. Does the rocket reach a height of 1km measured from its starting position? If yes, what is the overshoot? If not, then what maximum thrust is required to achieve this height?
Note: You have to re-derive the expressions for v(t) and h(t) in Stage 1 if you change maximum thrust.
Question 2: Solution of equation
Mechanical engineers, as well as most other engineers, use thermodynamics extensively in their work. The following polynomial can be used to relate the zero-pressure specific heat of dry air, cp kJ/(kg K), to temperature (K):
cp = 0.99403 + 1.671 × 10-4T + 9.7215 × 10-8T2
-9.5838 × 10-11T3 + 1.952 × 10-14T4
Tips for analysis of the problem
• Look at the lecture notes from Week 2 for methods to solve for roots of an equation
• Choose a method based on its merits as detailed in the lecture. Note there is no one correct answer. You have to justify your choice.
• Take help from the MATLAB code provided with the lecture and the tutorial to implement your chosen method
A. In MATLAB, plot the graph of cp vs. T to get a rough idea of the behaviour of this function.
B. Develop an M-file, without the use of MATLAB built-in function "fzero", to determine the temperature that corresponds to a specific heat of 1.16 kJ/(kg K). Justify your choice of method used to solve the above problem.
C. Use the MATLAB built-in function fzero to determine the temperature that corresponds to a specific heat of 1.16 kJ/(kg K). Is there any difference between this solution and the one found in the previous step B? If yes, then give reasons as to why this may be the case, and how you may reduce or eliminate these differences.
Question 3: Cable tension analysis
An object of mass M kg is hung from the end of a rigid 2.5m long horizontal pole of negligible weight. The pole is attached to the wall by a pivot and is supported by a 2.2m cable that is attached to the wall at a higher point as shown in the figure below. The tension in the cable can be calculated as,
T = 9.81 * M * lc * lp/d√(lc2 - d2)

Where, T is the tension in the cable (N), M is the mass of the object (kg), lc is the length of the cable (m), lp is the length of the pole (m) and d is the distance between the wall and the attachment point of the cable to the pole (m). Set M as the sum of the ages of all team members in your team.
Tips for analysis of the problem
• Look at the lecture notes from Week 4 for optimization methods
• Golden-section search is similar to bracketing methods. Use the code provided for bracketing methods as inspiration for your own solution.
• Look up and understand the MATLAB fminbnd function (type "help fminbnd" in MATLAB) and how it works.
A. In MATLAB, plot a graph of cable tension as a function of d, with d going from 0.5 to 2.0m.
B. Develop a MATLAB file that implements the Golden-Section search method to find the value of d that produces the minimum tension in the cable.
C. Use the MATLAB built-in function fminbnd to solve the same problem as in B. (i.e. find d that produces minimum tension). Is there any difference between this solution and the one found in the previous step B? If yes, then give reasons as to why this may be the case, and how you may reduce or eliminate these differences.
Attachment:- Engineering Computing.rar