MECH102 EXAM I (Sample Exam)(1) Solving the equation 2x = 3x2 - 2 is equivalent to finding the root of(a) 2x - 3x2 - 2(b) -2x + 3x2 - 2(c) 2x + 3x2 + 2(d) -2x - 3x2 - 2(e) 2x + 3x2 - 2(2) What is the decimal equivalent of the binary number 10011?(a) 11(b) 12(c) 19(d) 22(e) 25(3) What is the largest positive integer that can be represented with 4 bits?(a) 7(b) 8(c) 9(d) 15(e) 16(4) If a digital computer stores numbers in scientific notation with a fixed number of bits usedto represent the mantissa, what term is used to refer to what occurs when the computer triesto store an irrational number like ?(a) round off(b) binary collapse(c) subtractive cancellation(d) overflowQuestions 5 and 6 deal with a function f(x) with the following known information:f(2) = 1f’(2) = -1f’’(2) = 2(5) What is the 0th order Taylor series approximation for f(0)?(a) -2(b) -1(c) 0(d) 1(e) 2(6) What is the 1st order Taylor series approximation for f(3)?(a) -1(b) 0(c) 1(d) 2(e) 3(7) What is the Taylor series remainder R for a 0th order approximation of f(3) relative to f(1)for f(x) = x2 + 2?(a) 3(b) 5(c) 7(d) 8(e) 11Questions 8 and 9 deal with finite difference approximations for the derivative of the functionf(x) = x2 - 2(8) Using a step size (h) of 1, what is the centered difference approximation for f’(3)?(a) 6(b) 7(c) 12(d) 14(e) 16(9) Using a step size (h) of 1, what is the forward difference approximation for f’(3)?(a) 6(b) 7(c) 12(d) 14(e) 16Questions 10 through 13 deal with the following MathCAD code:Assume that the statements on the right are on the same lines as the statements to their left. Also,assume that all evaluations are performed beneath the last line of code.(10) x =(a) 0(b) 1(c) 2(d) 3(e) 4(11) y = (a) 3(b) 4(c) 5(d) 6(e) 7(12) z =(a) 2(b) 3(c) 4(d) 5(e) 6(13) d = (a) -2(b) 5(c) 6(d) 7(e) 8x2y3y2x y zy1ax x3b2a c1aaadif56 7 8()2(14) What keystroke is used to create a "matrix/array/iterative" subscript in MathCAD?(a) [(b) ](c) ,(d) ;(e) Ctrl+-For questions 15 through 17 select what MathCAD would display after the indicated keystrokesare entered. The word "SPACE" indicates that the spacebar is pressed once.(15) 2*3^2-2 =(a) 0(b) 1(c) 2(d) 16(e) 34(16) 2*3 SPACE SPACE ^2-2 =(a) 0(b) 1(c) 2(d) 16(e) 34(17) sin(30) =(a) 0(b) 0.5 (1/2)(c) 0.866 (d) 1(e) none of the aboveQuestions 18 through 20 deal with the following MathCAD code:32---i23 5 j11xiiyii1()zj2(18) What would x equal?(a) 7(b) 10(c) 11(d) 12(e) 14(19) What would y equal?(a) 5(b) 7(c) 8(d) 10(e) 13(20) What would z equal?(a) 0(b) 1(c) 2(d) 4(e) 6Questions 21 and 22 deal with the following MathCAD statement:(21) Which expression below would evaluate to the value 1?(a) V1,0(b) V1,2(c) V0,1(d) V1,1(e) V0,0(22) Which expression below would evaluate to the value 3?(a) V2,0(b) V3,1(c) V1,3(d) V1,2(e) V0,2(23) If the MathCAD function root(f(x), x) returns a value, the value is(a) the exact root of f(x) closest to initial guess x(b) the exact root of f(x) that may or may not be closest to the initial guess x(c) an approximate value for the root of f(x) closest to the initial guess x(d) an approximate value for a root of f(x) that may or may not be closest to the initialguess xV123()(24) Given the MathCAD variable definition:what would polyroots(v) return?(a) -2(b) -1/2(c) 0(d) 1/2(e) 2Questions 25 through 28 deal with using the bisection method to find the root off(x) = x - 1with a starting interval of xl = 0 to xu = 3(25) What is the root estimate in the first iteration?(a) 0(b) 1(c) 1.5(d) 2(e) 3(26) What should be used for xt in the true percent relative error formula?(a) 0(b) 1(c) 1.5(d) 2(e) 3(27) What is the root estimate in the 2nd iteration?(a) 0(b) 0.75(c) 1(d) 2.25(e) 2.50(28) What is the magnitude of the true percent relative error in the first iteration?(a) 0%(b) 25%(c) 33%(d) 50%(e) 100%v21(29) The function f(x) = x(x+1)(x-2)(x+1) has a multiple root at:(a) 0(b) 1(c) 2(d) -1(e) -2(30) If the Newton-Raphson method is used to find the root of the function f(x) = 2x - 1, and ifthe initial guess is -5, what will the root estimate be after the first iteration?(a) 0(b) 1/2(c) -1/2(d) 1(e)
View Full Document