ENG
HWassignment #2

Above is in the problem number on the first line

• Notes
• EarlResolveLlama9204
• 3

This preview shows pages 2–3. Sign up to view the full content.

above is in the problem number on the first line): %Engineering 6, Spring 2004, Problem 2.2 %Your name and the last four digits of your student ID (e.g., John Smith, 5872) %Your discussion section number and time (e.g., Section B09, Tues. 9-10) Save your script in a file named xxx2_2.m, where the xxx are your first, middle and last initials in lowercase letters, following the instructions as for Problem 2.1 above. To submit your file, see the instructions at the end. Problem 2.3 A pedestrian crossing the Golden Gate Bridge looks over the railing and sees a garbage barge about to pass underneath the bridge. She drops an orange over the railing just as the bow of the barge passes directly beneath her. The orange falls and just nicks the top edge of the stern of the barge. If air resistance can be neglected, and the standard barge is known to be 56 feet long, 4 feet high (above the water level), and to travel at a speed of 7.7 knots (nautical miles per hour), prepare a Matlab script to compute and display the height of the railing above the water level in feet, to the nearest foot. (Note that a nautical mile is 6076 feet. Use 32.2 feet per second squared for the acceleration due to gravity.) As in the previous problems, use comment lines in the script to explain the computations. At the top of the script, include three comment lines as follows (the only difference from above is in the problem number on the first line): %Engineering 6, Spring 2004, Problem 2.3 %Your name and the last four digits of your student ID (e.g., John Smith, 5872) %Your discussion section number and time (e.g., Section B09, Tues. 9-10)

This preview has intentionally blurred sections. Sign up to view the full version.