{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ps4_F06

# ps4_F06 - UNIVERSITY OF CALIFORNIA DAVIS Department of...

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

UNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering ENG 6, Engineering Problem Solving Fall 2006 Problem Set #4 Due Saturday, October 28 at 5:00 pm (Late submissions will be accepted until Monday, Oct. 30, at 5 pm, for a maximum of half credit.) For the following problems you are to create the specified script files and submit them via the MyUCDavis web portal. Your script files should contain comments so that it is easy to determine what has been defined and what has been computed. The displayed output should clearly identify the variable whose value is displayed and specify its units. Variable names should be chosen to correspond to the mathematical variables used in the problem definitions as given below. At the top of each script file, include three comment lines as follows: %Engineering 6, Fall 2006, Problem 4.1 (or 4.2 or 4.3, as the case may be) %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 B08, Tues. 12-1) IMPORTANT NOTE: It is okay to work together on the homework assignments, but in the end you must write up and submit your own version of the script separately from anyone else. That is, you may not copy and submit someone else’s script or portion thereof, even if you helped work on it. Problem 4.1 Use Matlab to show that n n ) 1 1 ( + approaches the value e as n gets large. To do this, write a script file named xxx4_1.m (where the x’s are your initials, as usual) that creates a vector named n that has the elements 1 10 20 50 100 500 1000 2000 4000 and 8000.

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 ]}