# prob06 - Homework Problems Week 6 440:127 Fall 2011 S J...

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

Homework Problems – Week 6 440:127 – Fall 2011 – S. J. Orfanidis This homework set is due online at Sakai no later than 5:00 AM on Monday, October 24, 2011. Please submit the HTML file together with any supporting PNG files generated by MATLAB’s publish command from your script M-file (alternatively, you may copy-paste from the HTML file into Word, or submit a single MHT file). Late submissions will not be accepted. Please upload your files to Sakai under Assignments for week-6, not to the Drop Box. Please do the following problems: 1. Define the cell array of strings and row vectors of numbers: C = {’a’, ’bb’, ’ccc’, ’dddd’, ’eeeee’}; x = [6.715, -12.075, 7.172, 16.302, 4.889]; y = [-134.98869, 303.49235, 72.54042, -6.30549, 71.47429]; z = [14380, 0.00325, -7549, 13700, -0.00017]; Use fprintf to print the following table exactly as shown below. Use a for-loop to print the actual table entries (if your E-format prints as E+04 instead of E+004 , it would be OK.) x C y C z --------------------------------------------------- 6.715 a -134.98869 a +1.438E+004 -12.075 bb 303.49235 bb +3.250E-003 7.172 ccc 72.54042 ccc -7.549E+003 16.302 dddd -6.30549 dddd +1.370E+004 4.889 eeeee 71.47429 eeeee -1.700E-004 2. The National Weather Service (NWS) has developed the following formula for calculating the wind-chill temperature in terms of the physical temperature T (in degrees F o ) and wind speed V (mph): T chill = 35 . 74 + 0 . 6215 T - 35 . 75 V 0 . 16 + 0 . 4275 T V 0 . 16 (F o ) (1) A chart of wind-chill temperatures calculated from this formula is provided by NWS and can be obtained from the link below. Physical Temperature T (F) | 40 35 30 25 20 15 10 5 0 -5 -10 -15 -20 -25 -30 -35 -40 -45 V ------------------------------------------------------------------------------------------ 5 | 36 31 25 19 13 7 1 -5 -11 -16 -22 -28 -34 -40 -46 -52 -57 -63 10 | 34 27 21 15 9 3 -4 -10 -16 -22 -28 -35 -41 -47 -53 -59 -66 -72 15 | 32 25 19 13 6 -0 -7

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern