Question: solve on matlab, and show the steps Question 1: (3 + 3 marks) a. The height and speed of a projectile shoot at a speed

 solve on matlab, and show the steps Question 1: (3 +
solve on matlab, and show the steps

Question 1: (3 + 3 marks) a. The height and speed of a projectile shoot at a speed v, at an angle as a function of time are given by: MO) = v/sin - 2 VO) - V-2vgisin 6 +87 Where. Determine the time that the projectile will hit the ground and plot the height and the speed as a function of time for the case that v, = 200m/s and Add title and label the axis properly. b. Use 2D plots to simulate the trajectory of a ball with vo- 220m/s and Question 2: (4 marks) Create a class named Box that models a heavy "Box" with the following characteristics: a. The class has four properties L1, W1, H1, Weight to store the Length, Width, Height, and weight of the Box. Measurements are in feet and pounds. b. This class has a constructor which can be called with four integer parameters that initializes the Box object's L, W, H, Weight c. Implement the proper set methods for all the properties so that the class accepts only positive integers. d. This class has a method calculate Volume() which returns the volume (formula: Ll*W1*HI) of the Box object as an integer e. This class has a method calculate Density which returns the density of the Box (formula: weight/volume) as a double, check for divide by O and display appropriate error message. f. Write a driver program which creates an instance of the Box object with L1-10, W1=5,H1=5, Weight=2600 and computes the Box's Volume and Density, then outputs the results to the user's screen. Submission Guidelines: Please submit the assignment in a compressed zip format on blackboard (Include report in MS word with screenshots of the program and output and MATLAB Scripts for each question). Include the title page with your student id and name. [CSC 2013 [Assignment #2]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!