E7+Assignment+0+solutions

# E7+Assignment+0+solutions - Joe Student 12345678 Assignment...

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

Joe Student Assignment 0 12345678 January 29, 2009 1 Assignment 0: Introduction to MATLAB Problem 1: Getting Started 1.1) The function travel solves the Traveling Salesman problem. The traveling salesman problem is to form a closed circuit of a number of cities while traveling the shortest total distance along the way. 1.2) The first message is: Ckriusk zu K7 ot Yvxotm 2010! Ck hkrokbk zngz eua corr rkgxt sgte tkc znotmy ot znoy irgyy gtj ngbk g muuj zosk. The second message is: Welcome to E7 in Spring 2010! We believe that you will learn many new things in this class and have a good time. The letter “h” gave a different degree of transposition than the default letter “b” so it gave a different message that made more sense. 1.3) The Lorenz Attractor was discovered by Edward Lorenz. Lorenz attractors are found in the study of lasers, weather, atmospheric convection,

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

View Full Document
Joe Student Assignment 0 12345678 January 29, 2009 2 dynamos, and specific waterwheels. (credit for any one of these or any other reasonable answer) 1.4) Problem 2: Function Type 2.1) a) Rationals, Integers, Reals, Complex Numbers b) Rationals, Reals, Complex Numbers c) Whole Numbers, Rationals, Integers, Reals, Complex Numbers d) Reals, Complex Numbers e) Reals, Complex Numbers f) Complex Numbers 2.2) a) False b) True c) False d) True e) True
Joe Student Assignment 0 12345678 January 29, 2009 3 2.3) A type of round is Reals Integers Yes, round has the same type as ceil and floor. 2.4) A type of this function is Reals 2 Reals 2 Problem 3: Composition of Functions 3.1) f(g(x)) has a type when the range of g is a subset of the domain of f. g(f(x)) has a type when the range of f is a subset of the domain of g.

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

### Page1 / 8

E7+Assignment+0+solutions - Joe Student 12345678 Assignment...

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

View Full Document
Ask a homework question - tutors are online