Uploaded by Harith Afiq

Assignment Part 1

advertisement
MME 2121 Engineering Dynamics (2022-2023)
Group_Assignment on kinematics of a 2D projectile using Matlab
Part 1: particle kinematics
This Part 1 work will be submitted during week 6. Each group shall comprise 4 members,
which must be registered in xSite.
In Dropbox are created the group names e.g., Tut-T1-1, Tut-T2-1. Your assignment files (m
file, mlx and pdf files) must be saved as Tut_T1_01.m, Tut_T1_01.pdf, Tut_T2_01.m,
Tut_T2_01.pdf etc…. Matlab does not recognise e.g., Tut-T1-1 as a valid file name.
(A) Write a program (.m file) with 2 sections:
(i)
To generate the projectile trajectory for the following parameters:
•
•
Initial speed = 30 m/s
Launch angle = 45°
A figure labelled appropriately and clearly.
(ii)
To generate trajectories for a projectile for the given various parameters:
• Initial speed = 30 m/s
• Launch angles of 10° to 85° at intervals of 15°
• Find the launch angle that gives the maximum range, Rmax & the
maximum height
A fully labelled figure with all the launch angles with annotations
including the use of legend.
(B)
Save the *.m file into a live script i.e., into a *.mlx file.
For example, if you have named your program as Tut_T1_01.m and that this Tut_T1_01.m
produces the results for the above A(i) and A(ii), then save the Tut_T1_01.m as
Tut_T1_01.mlx
In Tut_T1_01.mlx, ensure complete documentation, provide explanations, diagrams,
equations etc.... This will be your assignment part 1 report. Once you are satisfied with the
report, export it as a pdf, be reminded that file name shall be for example, Tut_T1_01.m and
Tut_T1_01.pdf.
(NB: if there are problems in conversion, then export as hypertext and then a pdf
The group will submit, for example, both Tut_T1_01.m and Tut_T1-01.pdf.
IMPORTANT: In the front cover of the mlx/ pdf report, you must include the following:
(i)
the group name, either Tut_T1_xx or Tut_T2_xx, where xx is the group number
(ii)
the member names, as written in the attendance list.
(iii) sufficient space (6 lines) for the instructor comments
(C)
Assignment part 2, to be done after the recess use kinematic and kinetic equations to
solve for the trajectory when quadratic drag is included. Group members remain the same.
1
Download