Lab Test #2 v3

# Lab Test #2 v3 - x x x Y x x x x Y (i) If Y is zero, what...

This preview shows page 1. Sign up to view the full content.

ECOR 2606 Lab Test #2 v3 Instructions: Submit two "script" files, one for each of the two questions. Call these files Q1.m and Q2.m. All values output by your scripts must be appropriately identified (e.g. "The value of ... is . .."). Just omitting the semi-colon from the command that calculates the value is not acceptable. If a "script" requires functions that cannot be implemented as anonymous functions you must use a "void" (i.e. no inputs, no outputs) function m-file with secondary functions. A brief reminder of how to do this can be found on the G:drive (scripts.pdf). 1/. Analysis of an engineering problem has produced the system of equations shown below. Y is a parameter that can be varied. 2 ) 1 ( 3 5 4 3 ) 4 ( 5 1 4 4 ) 5 ( 3 2 1 3 2 1 3 2 1 x Y x
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: x x x Y x x x x Y (i) If Y is zero, what are x 1 , x 2 , and x 3 ? (ii) Create a plot of x 3 vs Y for Y from 0 to 10 (iii) What value of Y makes x 3 equal to 0.25 ? 2/. Every year a car collector either adds a new car to his collection or disposes of one of the cars in it. The probability that he will add a new car is 0.56. The collector has decided to quit collecting when his collection either reaches 5 cars or disappears altogether. What is the probability that he will wind up with 5 cars if he starts with just 1 car? What is the probability that he will wind up with 5 cars if he starts with 2 cars? P.S. This is NOT a new form of problem. Think of the casino example (in class) and the man on a plank (in the lab)....
View Full Document

## This document was uploaded on 04/14/2010.

Ask a homework question - tutors are online