%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Name : %% GT ID : %% Homework : HW1 %% Course : CS1371 %% Instructor : Park, Smith or Stallworth %% Lecture Time : %% TA's Name : %% Collaboration: , used solutions or partial %% solutions provided by , %% and referred to " %% %% Reference: Smith text, Section 2 and 3 %% %% This homework is due Thursday, January 10th at midnight with a 6 hour grace %% period. Submit your assignment as instructed in class. If the system %% is not operational by the due date, the class announcements page will %% inform you when it is. We will extend the due date accordingly. %% Do not bring or e-mail your homework to anyone. %% %% Note: You should NOT use the built-in function "solve" in your %% solutions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; %% %% 1. You throw a ball straight up with an initial speed of 20 m/s. %% [g = 9.81 m/s2] %% Write a Matlab script that will compute the following: %% a. How long it takes for the ball to reach its highest point. Store %% this value in a variable called "peaktime". %% b. How high the ball rises from the release point. Store %% this value in a variable called "maxheight". %% %% Matlab commands for problem 1 go here: %%;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; %% %% 2. You are constructing a hemispherical dome with an outer radius of 60ft. The walls %% will be solid concrete 10 inches thick. Write a script to compute how may cubic %% yards of concrete will be needed. Store this volume in a variable called "concrete". %% %% Matlab commands for problem 2 go here: %%;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; %% %% 3. A jet aircraft is flying 200ft above a level plain at 800 mph. Suddenly, %% the ground begins to rise at a 5 deg slope. Write a script to compute how much time %% the pilot has to raise the nose before the aircraft strikes the ground, %% and store the value in a variable called "timeToImpact". %% %% Hint: Matlab's trigonometric functions take in angle values in Radians. %% %% Matlab commands for problem 3 go here: