Ask MATLAB Expert

Engineering Computing Assignment -

Question 1: Numerical vs. Analytical Solution

The exact solution of the falling parachutist problem can be expressed as:

v(t) = g(mman+mchute)/c[1-e(-ct/mman+mchute)]

where, v is the velocity, g is the gravity, mman and mchute are the mass of the parachutist and the parachute respectively, c is the drag coefficient, and t the time.

(a) Write a MATLAB script/function and use symbolic programming to find the exact solution from t = 0 to t = 50.0 seconds. Use g = 9.81 m/s2, mman = 84.0 kg, mchute = 31.0 kg and c = 75.0 kg/s. Assume v = 0.0 at t = 0.0. Plot the exact solution (v vs t).

(b) The numerical solution to the same problem can be computed using Euler's method with the equations below:

vt_(i+1) = vt_i + dv/dt(ti+1 - ti)

with dv/dt = g - (c/(mman+mchute))vt_i

Implement this in MATLAB and find a time step for the numerical solution that brings the largest error between the numerical and analytical velocities to under 1.0 m/s. Plot the numerical solution over the exact solution from (a).

(c) Use your implementation of the numerical method to find a value of the drag coefficient c, that results in a steady-state velocity of less than 10m/s. Plot the solution over those from (a) and (b).

Question 2: Design of a Rollercoaster

1456_figure.png

You work at an engineering firm that specialises in the design of rollercoasters. The hard work is already over! Your colleague has designed a rollercoaster for a client and it is your job to present the results to the client. Here is the information that you receive from your colleague.

The rollercoaster consists of an inner and outer track, the 3D profile of which are based on a helix as follows:

x = βcos(αθ)

y = βsin(αθ)

z = θ

For the inside track, βinner linearly increases from 10.0 to 20.0 m. For the outside track, βouter linearly increases from 15.0 to 25.0 m. For both tracks, θ linearly increases from 0 to 20*pi radians. The variable α controls the overall shape and number of rotations of the tracks.

(a) Write a function in MATLAB that computes and plots the inner and outer tracks in 3D. Join corresponding points on the inner and outer tracks with lines (e.g. see figure above). Plot the changing track shapes using α values ranging from 0.1 to 0.5 in steps of 0.125 (use a new figure or subplot for each α value). Hint: Use the linspace, plot3 and plot commands. Additional useful commands may be grid, hold, axis, view, xlabel, title, subplot etc.

(b) Compute the total path length for each of the track shapes above. Assuming that each meter of track costs 40000 AUD to construct, calculate the total cost of constructing each of them and print this cost in millions of AUD in the figure title (e.g. see figure above).

Hint: Use an average βmiddle ranging from 12.5 to 22.5 m. Compute the path and approximate it with a series of small line segments to get the total length as the sum of individual lengths.

Question 3: Beam Deflection Analysis

The deflection y of a beam subject to a tapering load w, may be computed as

y(x) = w/120EIL[-x5+2L2x3 - L4x]

Use w = 122.35 kN/cm, L = 150 cm, E = 27000 kN/cm2, I = 35000 cm4.

(a) Compute and plot the beam deflection, y, along the beam length, x, as well as the rate of change of deflection (dy/dx).

(b) Implement the bracketing method "false position" and use the plots from step (a) to choose a sensible bracketing window. Find the point of maximum deflection (where dy/dx = 0), and compute the x and y(x) values at this point. DO NOT use the MATLAB built-in function fzero. Write your own bracketing function that implements the false-position method. Use εs = 0.01%.

Hint: Use the MATLAB examples from Week 3's lecture as a template.

(c) Use fprintf to print the bracketing results for each iteration as values of: [iteration_number xl xu xr f(xl) f(xr) f(xl)f(xr) εa].

Attachment:- Matlab Assingment File.rar

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M93085118

Have any Question?


Related Questions in MATLAB

Assignment - matlab programmingusing appropriate matlab

Assignment - MatLab Programming Using appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description. The order of the MatLab Program should be as follows: Variables and ...

Assignment details -need to write a code for connecting

Assignment Details - Need to write a code for connecting segments (Lines) a special case of TSP. The problem is to connect lines in 2d/ 3d space with path obstructions. Can you help me write the code for this? Hope you m ...

Assignment -we have daily gridded rainfall data of 40 years

Assignment - We have daily gridded rainfall data of 40 years and structure of the dataset is like below; Lat = [6.5:0.25:38.5]; Lon = [66.5:0.25:100]; Rainfall (135x129x365x40) (Lon, Lat, days, years). Now, we looking fo ...

Question a safe prime is a prime number that can be written

Question : A safe prime is a prime number that can be written in the form 2p + 1 where p is also a prime number. Write a MATLAB script file that finds and displays all safe primes between 1 and 1000.

Question - verify the attached paper with matlab and get

Question - Verify the attached paper with matlab and get all the results in the paper and explain step by step the matlab code. Paper - Improving Massive MIMO Belief Propagation Detector with Deep Neural Network. Attachm ...

Assignment -data is given on which want to do computational

Assignment - Data is given on which want to do computational production planning using Metaheuristic MATLAB Programming: 1) Ant Colony Algorithm on both Partial and Total Flexible Problem. 2) Bee Algorithm on both Partia ...

What comparison of means test was used to answer the

What comparison of means test was used to answer the question

Question 1 manipulate spectral imagehyperspectral images

Question 1. Manipulate spectral image Hyperspectral images can be seen as a generalisation of normal colour images such as RGB images. In a normal RGB colour image, there are 3 channels, i.e. channels for red colour, gre ...

Assignment -matlab codes and simulated model in

Assignment - Matlab codes and simulated model in simulink/matlab and truetime. 1. Matlab codes and simulink model for pid controller optimization using particle swarm optimization (PSO) my plant is integer order 1000/(s^ ...

Assignment matlab programmingusing appropriate matlab

Assignment: MatLab Programming Using appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description. The order of the MatLab Program should be as follows: Variables and ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As