Reference no: EM133170960
SEMM1013 Programming For Engineers - University of Technology Malaysia
A particle A moves in a horizontal x-y plane and its motion is defined by
x = 2t2 + 3t
y = 1/3 t3 - 8
Meanwhile (at the same time), a particle B moves in an x-y-z 3D-space and its motion is defined by
x = 50t - 8t2
y = 100 - 4t2
z = 10t
where x, y, and z are in meters and t is in seconds. For 0≤t≤6, write an OCTAVE/MATLAB program that performs the following computations:
a) The location of both particles A and B.
b) The distance of both particles A and B from the origin.
c) The speed of both particles A and B.
d) The maximum and the minimum speeds of both particles A and B and their time of occurrence.
e) The magnitude of acceleration of both particles A and B.
You should submit the following:
i) The script file of your OCTAVE/MATLAB program.
ii) The plot of the location of both particles A and B for all time t on the same plot.
iii) The plot of the distance of both particles A and B from the origin versus time on a single graph.
iv) The plot speed of both particles A and B versus time on two separate graphs but they should be on the same page. The maximum and minimum speeds and time of occurrence should be labelled on each plot.
v) The plot of the magnitude of acceleration of both particles A and B versus time.
Write a brief report on the project. Your report should include the background of the project, the methodology (algorithm/flowchart), results, and discussion and conclusion.