# Sample Exam Answers - (12 points a Line 1 amplitude...

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

Sample Exam Problems Answers Problem #1 Part a: _____C______ Part b: _____J____ Problem #2 Part a: _____F or D __ Part b: _____I____ Problem #3 Part a: _____B ____ Part b: _____G____ Problem #4 a) b) c) d) e) Problem #5 (12 points) y= b/ x m Y = m x+ b y= bx m y= b* 10 mx y= b* 10 - mx y= Al og (x) A) X B) X C) X D) X

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

View Full Document
Problem #6 (10 points) m = 2 b = 1 Problem #7 (12 points) Graph: MATLAB Command: Graph MATLAB Command: a) A B C D E F loglog c) A B C D E F semilogy b ) A B C D E F plot d) A B C D E F semilogx Problem 8 (6 points) func_f= ‘sin(x)*x^2’ fplot(func_f, [0,6]) xmin =fminbnd(func_f,4,6) x=xmin ymin=eval(func_f) fprintf(‘The minimum value of the function is %6.2f \n’,ymin) Problem #9
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: (12 points) a) Line 1: amplitude = '(sin(x/5))^2*cos(x-1)'; % replace t with x, fix exponent Line2: fplot(amplitude, [0 , 15]); % replace range endpoints with [bounds] b) x=fminbnd(['-(' amplitude ')'],6,9); % time of min in neg. function maxAmplitude = eval(amplitude); % evaluate max in original function c) fzero(amplitude,5); % time of first zero crossing after 5 seconds d) Shift the curve up by 0.4 (adding 0.4 to all values), and then find the appropriate zero. OR fzero([amplitude '+0.4'],##) % where ## is any guess...
View Full Document

{[ snackBarMessage ]}

### Page1 / 3

Sample Exam Answers - (12 points a Line 1 amplitude...

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

View Full Document
Ask a homework question - tutors are online