AE202 Problem Set 1 Solutions - AE202 Instructions for...

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

View Full Document Right Arrow Icon
AE202 Problem Set 1: MATLAB DUE: 9 February 2011 Spring 2011 Instructions for submitting MATLAB code: Include a printout of your MATLAB code with your homework solutions. Email electronic copies of your MATLAB functions to [email protected] . In a single zip (or rar) file named LastName_FirstName_AE202HW1.zip . Please include AE202 Homework 1 in the subject line of the email. 1. Hahn and Valentine Exercise 2.1 a. Unacceptable: Will not cause an error but will not be recognized as a single number. It will count as two numbers 9 and 87 b. Acceptable c. Acceptable d. Acceptable e. Unacceptable: Will try to multiply 3.57 by a variable e2 (which probably doesn’t exist) f. Unacceptable: Cannot have decimals in the exponent in scientific notation. g. Acceptable h. Acceptable 2. Hahn and Valentine Exercise 2.2 a. Acceptable b. Unacceptable: Cannot have decimal points in a variable name c. Unacceptable: Variable names must start with a letter d. Unacceptable: Variable names cannot contain apostrophes e. Acceptable f. Unacceptable: Variable names must start with a letter (underscores are acceptable in any position other than the first character) g. Acceptable h. Unacceptable: Variable names cannot contain a space (use an underscore to separate words) i. Acceptable: but not recommended, might cause confusion with the expression for infinity (Inf) j. Acceptable k. Unacceptable: Variable names cannot contain an operator *,/,+,-, etc.
Background image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 6

AE202 Problem Set 1 Solutions - AE202 Instructions for...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online