Calculates and plots the speed and altitude of the rocket

Assignment Help MATLAB Programming
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).

2303_figure.jpg

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)

1100_figure1.jpg

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

Reference no: EM132376344

Questions Cloud

Compute the realized rate of return for investors : Compute the realized rate of return for investors who purchased the bonds when they were issued and who surrender them today in exchange for the call price
Discuss the ways a realistic budget will benefit the owner : Briefly discuss the ways a realistic budget will benefit the owner of Babycakes versus no budget at all. Be sure to use Babycakes as the company.
Compute the financial ratios for the current year : Compute the financial ratios for the current year showing your calculations. Evaluate the company's financial health based on the results.
Discussion on building and using models : Imagine that you are a business manager for a mid-sized company. Propose one (1) overall strategy to build an effective business model in order to both monitor.
Calculates and plots the speed and altitude of the rocket : ENGG952 - Engineering Computing - University of Wollongong - Develop a MATLAB file that implements the Golden-Section search method to find the value of d that
Describe fasb and the new leasing standard : "FASB and the New Leasing Standard" Please respond to the following: Review the instructions and resources for Assignment 1. Next, describe any questions.
Calculate the present value of this annuity today : Calculate the present value of this annuity today.
How much do you have in your account in 5 years : You currently have $11,000 in that account. How much do you have in your account in 5 years?
Analyze the impact of the new standard on the reporting : Analyze the impact of the new standard on the reporting of your chosen company's leases. Compare and contrast the impact that ASU 2016-02, Leases will have.

Reviews

len2376344

9/25/2019 4:00:59 AM

3. The assignment hardcopy is due Friday 6th September by 4pm and to be submitted to EIS Central Bldg. 4 as a report. Use the barcoded page as the cover sheet for your report (see Subject Outline under Submission and Return of Assessments). Late submission will incur penalties as described in the Subject Outline. A digital copy of the report in PDF format should be submitted to the Turnitin drop box on the ENGG952 Moodle site. 4. If the assignment is completed by a group, a statement indicating the effort or contribution to the assignment by each member and signed by all members must be included in the beginning of the report. Alternatively, all group members agree that they have contributed equally to the report and a statement to this effect is added to the front of the report and signed by all members. 5. All MATLAB code (script files and function files) must be included in the hard copy of your report (added as appendix) as well as in the digital copy (zip file of all MATLAB files).

len2376344

9/25/2019 4:00:51 AM

Rules: 1. The assignment may be completed individually or by a group of up to 3 students. The group formation is your own responsibility. Members may be from the same or different tutorial groups. 2. Any case of plagiarism including copying, sharing works/results between groups, will be penalized. Students should make themselves aware of the university policies regarding plagiarism (see Subject Outline under University and Faculty Policies).

len2376344

9/25/2019 4:00:36 AM

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

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd