Question: ANSWER IN MATLAB PLEASE Question 1: (3 + 3 Marks) 1. The height and speed of a projectile shoot at a speed an angle as

 ANSWER IN MATLAB PLEASE Question 1: (3 + 3 Marks) 1. ANSWER IN MATLAB PLEASE

Question 1: (3 + 3 Marks) 1. The height and speed of a projectile shoot at a speed an angle as a function of time are given by: (e) = v tsin - gr 12 (1) 3 -20.81sin 8+gr Where 9 = 9.81m/s". Determine the time that the projectile will hit the ground and plee the height and the speed as a function of time for the case that we=200ms and 9 = 70 Add title and label the axis properly. b. Use 2D plots to simulate the trajectory of a moving ball with = 220's and 9 = 50". (Hint: Use Loops Question 2: (4 Marks) Create a class named Box that models a heavy Box" with the following characteristics . The class has four properties LIWI, H1, Weight to store the length, Widh, Height, b. This class has a constructor which can be called with four integer parameters that initializes the Box objecr's LI, WI, HI, Weight c. Implement the proper set methods for all the properties so that the class accepts only positive integers ICSC 2011 Assignment 11 d. This class has a method calculate Volume( ) which returns the volume (formula LI'W1H1) of the Box object as an integer c. This class has a method calculateDensity) which returns the density of the Box (formula: weight/volume) as a double check for divide by and display appropriate emner 1. Write a driver program which creates two instances of the Bes object with LT-10, Wi-s, H1-5. Weight-2600 and computers the Box's Volume and Density then outputs the results to the user's screen L1-0, WI-6, H1-5. Weight-1600 and compute the Box's Volume and Density then outputs the results to the user's screen. The program should display a proper error message)

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!