Test 2 - Python Edition
|
|
- Harvey Eaton
- 5 years ago
- Views:
Transcription
1 'XNH8QLYHUVLW\ (GPXQG7UDWW-U6FKRRORI(QJLQHHULQJ EGR 10L Spring 2018 Test 2 - Python Edition Shaundra B. Daily & Michael R. Gustafson II Name (please print): NetID (please print): In keeping with the Community Standard, I have neither provided nor received any assistance on this test. I understand if it is later determined that I gave or received assistance, I will be brought before the Undergraduate Conduct Board and, if found responsible for academic dishonesty or academic contempt, fail the class. I also understand that I am not allowed to speak to anyone except the instructor about any aspect of this test until the instructor announces it is allowed. I understand if it is later determined that I did speak to another person about the test before the instructor said it was allowed, I will be brought before the Undergraduate Conduct Board and, if found responsible for academic dishonesty or academic contempt, fail the class. Signature: Notes You will be turning in each problem in a separate pile. Most of these problems will require working on additional pieces of paper - Make sure that you do not put work for more than any one problem on any one piece of paper. For this test, you will be turning in four different sets of work. Again, Please do not work on multiple problems on the same sheet of paper. Also - please do not put work for one problem on the back of another problem. Be sure your name and NetID show up on every page of the test. If you are including work on extra sheets of paper, put your name and NetID on each and be sure to staple them to the appropriate problem. Problems without names will incur at least a 25% penalty for the problem. Work must be down in dark ink and on only one side of the page. This first page should have your name, NetID, and signature on it. It should be stapled on top of and turned in with your submission for Problem I. Every other pile should have your test page on top followed by any previously blank paper used for that problem. You will not need and can not use a calculator on this test. For hand calculations you will instead show the set-up of the calculation you need to perform but will not reduce it. You can leave powers, roots, products, sums, differences, and quotients unevaluated - for example, ()(2) + (8)(11) (6)(24) A = (8) 2 (4) 2 + (2) 2 (7) 2 should be left just like that. You will be asked to write several lines of code on this test. Make sure what you write is code and not mathematics. Be very careful with any symbols you use. You do not need to put the honor code statement in your codes. The honor code statement on this page and your NetID on each problem stands in for that.
2 Name (please print): Community Standard (print NetID): Problem I: [20 pts.] The Basics (1) Assume that someone has already run the following code: 1 T = np.array([[1, 2],[, 4]]) 2 U = np.array([[-5, 6],[7, -8]]) which has created the following matrices: [ ] 1 2 T = 4 U = [ ] For each of the following sections, determine the resulting matrix or matrices created by Python. Put your answers near the block of code from which they came and be sure to indicate which matrix is which; your work can go on a separate sheet that you will staple to this page. Your answers can look like Python output or like mathematical expressions. (a) A = T**2 (f) F = (-10<U) & (U<0) (b) B = T@T (g) G = U>T (c) C = T*U (h) H = np.where(u<0) (d) D = T@U (i) I = T[np.where(U<0)] (e) E = np.mean(t) (j) J = np.block([[t], [U]]) (2) Determine the values of the matrices K, L, M, and N when the following loop is finished 1 K=0; L=[0]; M=0; N=np.ones(6) 2 for K in np.arange(1, 6, 2): L += [K]; 4 M = M+K; 5 N[K] = K;
3 (1) 1 A: 2 array([[ 1, 4], [ 9, 16]], dtype=int2) 4 5 B: 6 array([[ 7, 10], 7 [15, 22]]) 8 9 C: 10 array([[ -5, 12], 11 [ 21, -2]]) 12 1 D: 14 array([[ 9, -10], 15 [ 1, -14]]) E: F: 21 array([[ True, False], 22 [False, True]]) 2 24 G: 25 array([[false, True], 26 [ True, False]]) H: (Not part of Fall 2018 test) 29 (array([0, 1], dtype=int64), array([0, 1], dtype=int64)) 0 1 I: 2 array([1, 4]) 4 J: 5 array([[ 1, 2], 6 [, 4], 7 [-5, 6], 8 [ 7, -8]]) (2) 1 K: L: 5 [0, 1,, 5] 6 7 M: N: 11 array([1., 1., 1.,., 1., 5.]) 12
4 Name (please print): Community Standard (print NetID): Problem II: [0 pts.] Roots and Extrema (1) This part of the problem refers to: f(x) = e x + e x x + 5cos(2x) The function and the sign of the function are presented on the next page which should be turned in with this problem. Assuming the following code is already in place: 1 f = lambda x: np.exp(x)+np.exp(-x)-x+5*np.cos(2*x) (a) Determine the location of the two roots of f(x). At the end of your code, the location of the left root should be stored in RootLeft and the location of the right root should be stored in RootRight. (b) Determine the value and location of the overall minimum value of f(x). At the end of your code, the value should be stored in MinVal1 and the location should be stored in MinLoc1. (c) Determine the value and location of the local minimum value of f(x) when x < 0. At the end of your code, the value should be stored in MinVal2 and the location should be stored in MinLoc2. (d) Determine the value and location of the local maximum value of f(x) when 1 < x < 1. At the end of your code, the value should be stored in MaxVal and the location should be stored in MaxLoc. (e) Determine the two values of x where f(x) = 10. At the end of your code, these values should be stored in f10x1 and f10x2. (f) Write the code that produces the top figure on the next page. Note that 1000 points were used. (2) This part of the problem refers to: g(x,y) = cos(x) sin(y) x 2 + y The function and the contour plot of the function are presented on the next page which should be turned in with this problem. Assuming the following code is already in place: 1 g = lambda x,y: np.cos(x)*np.sin(y)/(x**2+y**2+1) (a) Determine the value and location of the overall minimum value of g(x,y). At the end of your code, the value should be stored in gmin and the x and y coordinates should be stored in xgmin and ygmin, respectively. (b) Determine the value and location of the overall maximum value of g(x,y). At the end of your code, the value should be stored in gmax and the x and y coordinates should be stored in xgmax and xgmax, respectively. (c) Read this carefully: determine the value and y coordinate of the minimum value of g(x,y) when x is -. At the end of your code, the value should be stored in ghmm and the y coordinate should be stored in yhmm. (d) Write the code that produced the bottom left plot of g(x,y). Note that 0 points were used in each direction and that the copper color map was used.
5 20 f(x) x 1.0 sign(f(x)) x g(x,y) y x y x
6 1 import numpy as np 2 import scipy.optimize as opt import matplotlib.pyplot as plt 4 from matplotlib import cm 5 6 def f(x): return np.exp(x) + np.exp(-x) - x + 5 * np.cos(2 * x) 7 8 # a - any valid bracket accepted for each root 9 RootLeft = opt.brentq(f, 0.0, 1.5) 10 RootRight = opt.brentq(f, 1.5, 2.0) 11 # b - any valid boundaries accepted 12 MinLoc1 = opt.fminbound(f, 1, 2) 1 MinVal1 = f(minloc1) 14 # c - any valid boundaries accepted 15 MinLoc2 = opt.fminbound(f, -2, -1) 16 MinVal2 = f(minloc2) 17 # d - any valid boundaries accepted 18 MaxLoc = opt.fminbound(lambda x: -f(x), -0.5, 0.5) 19 MaxVal = f(maxloc) 20 # e - note re-write for root-finding 21 f10x1 = opt.brentq(lambda x: f(x) - 10, -2.5, -2.0) 22 f10x2 = opt.brentq(lambda x: f(x) - 10, 2.0,.0) 2 # f - 24 fig1, (ax1, ax2) = plt.subplots(2, 1, num=1, clear=true) 25 x = np.linspace(-,, 1000) 26 ax1.plot(x, f(x), ³k-³) 27 ax1.grid(1) 28 ax1.set(xlabel= ³x ³, ylabel= ³f(x) ³) 29 ax2.plot(x, np.sign(f(x)), ³k-³) 0 ax2.grid(1) 1 ax2.set(xlabel= ³x ³, ylabel= ³sign(f(x)) ³) 2 fig1.tight_layout() fig1.savefig( ³fplot.eps ³) 4 5 def g(x, y): return np.cos(x) * np.sin(y) / (x**2 + y**2 + 1) 6 7 # a - any close initial guess accepted 8 rmin = opt.fmin(lambda r: g(r[0], r[1]), [0, -1]) 9 xmin = rmin[0] 40 ymin = rmin[1] 41 gmin = g(xmin, ymin) # or gmin = g(*rmin) 42 # b - any close initial guess accepted 4 rmax = opt.fmin(lambda r: -g(r[0], r[1]), [0, 1]) 44 xmax = rmax[0] 45 ymax = rmax[1] 46 gmax = g(xmax, ymax) # or gmax = g(*rmax) 47 # c - any valid boundaries accepted 48 yhmm = opt.fminbound(lambda y: g(-, y), 0, ) 49 ghmm = g(, yhmm) 50 # d 51 x, y = np.meshgrid(np.linspace(-4, 4, 0), 52 np.linspace(-4, 4, 0)) 5 fig2 = plt.figure(2) 54 fig2.clf() 55 newax = fig2.add_subplot(111, projection= ³d ³) 56 newax.plot_surface(x, y, g(x, y), cmap=cm.copper) 57 newax.set(xlabel= ³x ³, ylabel= ³y ³, zlabel= ³g(x,y) ³) 58 fig2.tight_layout() 59 fig2.savefig( ³gplot1.eps ³)
7 60 # %% Not part of test - just showing how to make contour plots 61 fig = plt.figure() 62 fig.clf() 6 lvls = np.round(np.arange(-0.4, 0.4,.05), decimals=2) 64 cplot = plt.contour(x, y, g(x, y), lvls, cmap=cm.copper) 65 plt.clabel(cplot, lvls, inline=true, fontsize=8) 66 plt.xlabel( ³x ³) 67 plt.ylabel( ³y ³) 68 fig.tight_layout() 69 fig.savefig( ³gplot2.eps ³)
8 Name (please print): Community Standard (print NetID): Problem III: [0 pts.] Linear Algebra (1) Given the following expression: [ ] [ ] 1 2 x a y = [ ] 5 6 where a is some known, but variable, value and x and y represent your unknowns: (a) Find an expression for the determinant of the coefficient matrix - that is, 1 2 a (b) Find an expression for the inverse of the coefficient matrix - that is, ([ ]) a (c) Are there values of a for which there is no solution to this problem? If not, state why you believe that. If so, state what value or values of a mean there is no solution. (d) For a particular value of a, the condition number of the system is given as If the measurements for the system were taken with 8 significant figures, what does this condition number mean about the accuracy of the solution? (e) Clearly use linear algebra to solve for x and y as functions of a. (2) Given the electric circuit below: R 1 R v s + v a R 2 v b R x where R 1 through R are resistors with set values, v s is a known voltage source with a set value, R x is a variable resistor (called a potentiometer), and v 1 and v 2 are unknown voltages, a student taking a class requiring the ability to solve for circuits has come up with the following equations: v a v s R 1 + v a + v a v b = 0 R 2 R v b v a + v b = 0 R R x (a) Assuming that the values of v 1 and v 2 are unknown, re-write the equations above in linear algebra form; that is, fill in the following: v a v b = (b) Now assume that R 1 =1000 Ω, R 2 =2000 Ω, R =000 Ω, and v s =10 V. The potentiometer R x can have values ranging from 0 Ω to 5000 Ω. Write code that will clearly use linear algebra techniques to solve for the voltages v a and v b as functions of R x for 500 values of R x linearly spaced across the possible range of values, then write code to make a graph containing curves for both v a and v b as a function of R x. Be sure to include appropriate axis labels, a title, a grid, and a legend. v a should be plotted as a solid red line and v b should be plotted as a dashed blue line.
9 (1) (a) (1)(a) ()(2) = a a (b) a 6 (c) If a = 6 the determinant is 0 and therefore there either is no solution or there are infinite solutions, In this case, there is no solution. (d) log 10 (10 5 )=5, so the solution has 5 fewer digit of precision than the system. The solution is only accurate to 8-5= significant figures. (e) [ ] a 2 1 a 6 [ ] 5 6 = [ ] (a)(5) + ( 2)(6) ( )(5) + (1)(6) a 6 = [ 5a 12 ] a 6 9 a 6 (2) (a) [ R1 R2 R R 1 1 R R + 1 R x ] [va ] v b = [ vs ] R 2 0 (b) 1 import numpy as np 2 import matplotlib.pyplot as plt 4 R1 = R2 = R = vs = 10 8 N = Rx = np.linspace(0, 5000, N) 10 va = np.zeros(n) 11 vb = np.zeros(n) 12 for k in range(n): 1 A = np.array([[1 / R1 + 1 / R2 + 1 / R, -1 / R], 14 [-1 / R, 1 / R + 1 / Rx[k]]]) 15 b = np.array([[vs / R1], [0]]) 16 Voltages = np.linalg.solve(a, b) 17 va[k] = Voltages[0] 18 vb[k] = Voltages[1] fig, ax = plt.subplots(1, 1, num=1, clear=true) 21 ax.plot(rx, va, ³r-³, label= ³ v_a ³) 22 ax.plot(rx, vb, ³b-- ³, label= ³ v_b ³) 2 ax.set(xlabel= ³ R_x, \Omega ³, 24 ylabel= ³Voltage, V ³, 25 title= ³Voltages in a Circuit ³) 26 ax.legend() 27 ax.grid(1) 28 fig.tight_layout() # Not required
10 Name (please print): Community Standard (print NetID): Problem IV: [20 pts.] Stats and Fits You are given a data file called MyInfo.dat containing eleven pairs of independent (left) and dependent (right) values. For example, the file might look like: Write a program called FitRand that performs the following tasks: (1) Loads the data. (2) Calculates and displays the sum of the squares of the data residuals. () Efficiently calculates the sums of the squares of the estimate residuals and the coefficients of determination for polynomial fits of order 1 through 6 and displays them in an aligned table (see below) where decimal values are in exponential format with four significant digits. (4) Determines the lowest order of those six fits to have a coefficient of determination at or above 0.95 and displays that order. If none of the fits has a coefficient of determination of at least 0.95, state, Fit order is higher than 6. Here are two example runs: 1 St is 1.209e+01 2 Order Sr r e e e e e e e e e e e e-01 9 Fit order is likely: 1 St is.409e+01 2 Order Sr r e e e e e e e e e e e e-01 9 Fit order is higher than 6
11 1 import numpy as np 2 # %% 4 data = np.loadtxt( ³MyInfo.dat ³) 5 X = data[:, 0].copy() 6 Y = data[:, 1].copy() 7 8 # %% 9 St = np.sum((y - np.mean(y))**2) 10 print( ³St is {:0.e} ³.format(St)) 11 print( ³Order Sr r2 ³) 12 r2 = np.zeros(6) 1 14 # %% 15 GE = 0 16 for Order in range(1, 7): 17 P = np.polyfit(x, Y, Order) 18 YHAT = np.polyval(p, X) 19 Sr = np.sum((y - YHAT)**2) 20 r2[order - 1] = (St - Sr) / St 21 print( ³{:5d} {:0.e} {:0.e} ³.format(Order, Sr, r2[order - 1])) 22 if GE == 0 and r2[order - 1] > 0.95: 2 GE = Order # %% 26 if GE!= 0: 27 print( ³Fit order is likely: {:d} ³.format(GE)) 28 else: 29 print( ³Fit order is higher than 6 ³)
Test 2 Solutions - Python Edition
'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ EGR 103L Fall 2017 Test 2 Solutions - Python Edition Michael R. Gustafson II Name (please print) NET ID (please print): In keeping with the Community Standard,
More information'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ. EGR 103L Fall Test 2. Michael R. Gustafson II
'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ EGR 103L Fall 2017 Test 2 Michael R. Gustafson II Name (please print) NET ID (please print): In keeping with the Community Standard, I have neither provided
More information'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ. EGR 103L Fall Test 2 Solutions. Michael R. Gustafson II
'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ EGR 103L Fall 2017 Test 2 Solutions Michael R. Gustafson II Name (please print) NET ID (please print): In keeping with the Community Standard, I have neither
More information'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ. EGR 224 Spring Test II. Michael R. Gustafson II
'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ EGR 224 Spring 2017 Test II Michael R. Gustafson II Name (please print) In keeping with the Community Standard, I have neither provided nor received any
More information'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ. EGR 224 Spring Test II. Michael R. Gustafson II
'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ EGR 224 Spring 2018 Test II Michael R. Gustafson II Name (please print) In keeping with the Community Standard, I have neither provided nor received any
More informationTest II Michael R. Gustafson II
'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ EGR 224 Spring 2016 Test II Michael R. Gustafson II Name (please print) In keeping with the Community Standard, I have neither provided nor received any
More information'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ. ECE 110 Fall Test II. Michael R. Gustafson II
'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ ECE 110 Fall 2016 Test II Michael R. Gustafson II Name (please print) In keeping with the Community Standard, I have neither provided nor received any assistance
More information'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ. ECE 110 Fall Test I. Michael R. Gustafson II
'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ ECE 110 Fall 2012 Test I Michael R. Gustafson II Name (please print) In keeping with the Community Standard, I have neither provided nor received any assistance
More information'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ. EGR 53L Fall Test I. Rebecca A. Simmons & Michael R. Gustafson II
'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ EGR 53L Fall 2008 Test I Rebecca A. Simmons & Michael R. Gustafson II Name (please print) In keeping with the Community Standard, I have neither provided
More information'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ. EGR 53L Fall Test III. Rebecca A. Simmons & Michael R. Gustafson II
'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ EGR 53L Fall 2008 Test III Rebecca A. Simmons & Michael R. Gustafson II Name (please print) In keeping with the Community Standard, I have neither provided
More informationExercise_set7_programming_exercises
Exercise_set7_programming_exercises May 13, 2018 1 Part 1(d) We start by defining some function that will be useful: The functions defining the system, and the Hamiltonian and angular momentum. In [1]:
More informationOptimization with Scipy (2)
Optimization with Scipy (2) Unconstrained Optimization Cont d & 1D optimization Harry Lee February 5, 2018 CEE 696 Table of contents 1. Unconstrained Optimization 2. 1D Optimization 3. Multi-dimensional
More informationComplex Numbers. Visualize complex functions to estimate their zeros and poles.
Lab 1 Complex Numbers Lab Objective: Visualize complex functions to estimate their zeros and poles. Polar Representation of Complex Numbers Any complex number z = x + iy can be written in polar coordinates
More informationLynch, October 2016 Page 1 of 5. Math 150, Fall 2016 Exam 2 Form A Multiple Choice Sections 3A-5A
Lynch, October 2016 Page 1 of 5 Math 150, Fall 2016 Exam 2 Form A Multiple Choice Sections 3A-5A Last Name: First Name: Section Number: Student ID number: Directions: 1. No calculators, cell phones, or
More informationMthSc 107 Test 1 Spring 2013 Version A Student s Printed Name: CUID:
Student s Printed Name: CUID: Instructor: Section # : You are not permitted to use a calculator on any portion of this test. You are not allowed to use any textbook, notes, cell phone, laptop, PDA, or
More informationComplex Numbers. A complex number z = x + iy can be written in polar coordinates as re i where
Lab 20 Complex Numbers Lab Objective: Create visualizations of complex functions. Visually estimate their zeros and poles, and gain intuition about their behavior in the complex plane. Representations
More informationMA 262, Fall 2017, Final Version 01(Green)
INSTRUCTIONS MA 262, Fall 2017, Final Version 01(Green) (1) Switch off your phone upon entering the exam room. (2) Do not open the exam booklet until you are instructed to do so. (3) Before you open the
More informationMATH 1040 Test 2 Spring 2016 Version A QP 16, 17, 20, 25, Calc 1.5, 1.6, , App D. Student s Printed Name:
Student s Printed Name: Instructor: CUID: Section # : You are not permitted to use a calculator on any portion of this test. You are not allowed to use any textbook, notes, cell phone, laptop, PDA, or
More informationMath 19 Practice Exam 2B, Winter 2011
Math 19 Practice Exam 2B, Winter 2011 Name: SUID#: Complete the following problems. In order to receive full credit, please show all of your work and justify your answers. You do not need to simplify your
More informationLynch 2017 Page 1 of 5. Math 150, Fall 2017 Exam 2 Form A Multiple Choice
Lynch 2017 Page 1 of 5 Math 150, Fall 2017 Exam 2 Form A Multiple Choice Last Name: First Name: Section Number: Student ID number: Directions: 1. No calculators, cell phones, or other electronic devices
More informationIMPORTANT Read these directions carefully:
Physics 208: Electricity and Magnetism Common Exam 2, October 17 th 2016 Print your name neatly: First name: Last name: Sign your name: Please fill in your Student ID number (UIN): _ - - Your classroom
More informationLynch 2017 Page 1 of 5. Math 150, Fall 2017 Exam 1 Form A Multiple Choice
Lynch 017 Page 1 of 5 Math 150, Fall 017 Exam 1 Form A Multiple Choice Last Name: First Name: Section Number: Student ID number: Directions: 1. No calculators, cell phones, or other electronic devices
More informationStudent s Printed Name:
Student s Printed Name: Instructor: CUID: Section # : You are not permitted to use a calculator on any portion of this test. You are not allowed to use any textbook, notes, cell phone, laptop, PDA, smart
More informationLab 6: Linear Algebra
6.1 Introduction Lab 6: Linear Algebra This lab is aimed at demonstrating Python s ability to solve linear algebra problems. At the end of the assignment, you should be able to write code that sets up
More informationMultiple Choice Answers. MA 110 Precalculus Spring 2016 Exam 1 9 February Question
MA 110 Precalculus Spring 2016 Exam 1 9 February 2016 Name: Section: Last 4 digits of student ID #: This exam has eleven multiple choice questions (five points each) and five free response questions (nine
More informationMATH 099 Name (please print) FINAL EXAM - FORM A Winter 2015 Instructor Score
MATH 099 Name (please print) Winter 2015 Instructor Score Point-values for each problem are shown at the right in parentheses. PART I: SIMPLIFY AS MUCH AS POSSIBLE: 1. ( 16 c 12 ) 3 4 1. (2) 2. 52 m "7
More informationMthSc 107 Test 1 Spring 2013 Version A Student s Printed Name: CUID:
Student s Printed Name: CUID: Instructor: Section # : You are not permitted to use a calculator on any portion of this test. You are not allowed to use any textbook, notes, cell phone, laptop, PDA, or
More informationMath 2114 Common Final Exam May 13, 2015 Form A
Math 4 Common Final Exam May 3, 5 Form A Instructions: Using a # pencil only, write your name and your instructor s name in the blanks provided. Write your student ID number and your CRN in the blanks
More informationMath 1: Calculus with Algebra Midterm 2 Thursday, October 29. Circle your section number: 1 Freund 2 DeFord
Math 1: Calculus with Algebra Midterm 2 Thursday, October 29 Name: Circle your section number: 1 Freund 2 DeFord Please read the following instructions before starting the exam: This exam is closed book,
More informationMA 110 Algebra and Trigonometry for Calculus Spring 2017 Exam 1 Tuesday, 7 February Multiple Choice Answers EXAMPLE A B C D E.
MA 110 Algebra and Trigonometry for Calculus Spring 2017 Exam 1 Tuesday, 7 February 2017 Multiple Choice Answers EXAMPLE A B C D E Question Name: Section: Last 4 digits of student ID #: This exam has ten
More informationDM534 - Introduction to Computer Science
Department of Mathematics and Computer Science University of Southern Denmark, Odense October 21, 2016 Marco Chiarandini DM534 - Introduction to Computer Science Training Session, Week 41-43, Autumn 2016
More informationPractice Problems. 1. The age and weights of six cats are given in the following table:
1. The age and weights of six cats are given in the following table: Age (in years) A Weight (in pounds) - W 3 2 5 4 17 15 7 10 12 10 1 1 a. Identify the input and output quantities and their associated
More informationMath 41 Second Exam November 4, 2010
Math 41 Second Exam November 4, 2010 Name: SUID#: Circle your section: Olena Bormashenko Ulrik Buchholtz John Jiang Michael Lipnowski Jonathan Lee 03 (11-11:50am) 07 (10-10:50am) 02 (1:15-2:05pm) 04 (1:15-2:05pm)
More informationMAS212 Scientific Computing and Simulation
MAS212 Scientific Computing and Simulation Dr. Sam Dolan School of Mathematics and Statistics, University of Sheffield Autumn 2017 http://sam-dolan.staff.shef.ac.uk/mas212/ G18 Hicks Building s.dolan@sheffield.ac.uk
More informationMAT 145 Test #4: 100 points
MAT 145 Test #4: 100 points Name Calculator Used Score Each statement (1) through (4) is FALSE, meaning that it is not always true. For each false statement, either (i) provide a counterexample that disproves
More informationMath 51 Second Exam May 18, 2017
Math 51 Second Exam May 18, 2017 Name: SUNet ID: ID #: Complete the following problems. In order to receive full credit, please show all of your work and justify your answers. You do not need to simplify
More information- - - - - - - - - - - - - - - - - - DISCLAIMER - - - - - - - - - - - - - - - - - - General Information: This midterm is a sample midterm. This means: The sample midterm contains problems that are of similar,
More informationConjugate-Gradient. Learn about the Conjugate-Gradient Algorithm and its Uses. Descent Algorithms and the Conjugate-Gradient Method. Qx = b.
Lab 1 Conjugate-Gradient Lab Objective: Learn about the Conjugate-Gradient Algorithm and its Uses Descent Algorithms and the Conjugate-Gradient Method There are many possibilities for solving a linear
More informationConditioning and Stability
Lab 17 Conditioning and Stability Lab Objective: Explore the condition of problems and the stability of algorithms. The condition number of a function measures how sensitive that function is to changes
More informationTest 3 Version A. On my honor, I have neither given nor received inappropriate or unauthorized information at any time before or during this test.
Student s Printed Name: Instructor: CUID: Section: Instructions: You are not permitted to use a calculator on any portion of this test. You are not allowed to use any textbook, notes, cell phone, laptop,
More informationOrdinary Differential Equations II: Runge-Kutta and Advanced Methods
Ordinary Differential Equations II: Runge-Kutta and Advanced Methods Sam Sinayoko Numerical Methods 3 Contents 1 Learning Outcomes 2 2 Introduction 2 2.1 Note................................ 4 2.2 Limitations
More informationECE 220 Laboratory 4 Volt Meter, Comparators, and Timer
ECE 220 Laboratory 4 Volt Meter, Comparators, and Timer Michael W. Marcellin Please follow all rules, procedures and report requirements as described at the beginning of the document entitled ECE 220 Laboratory
More informationMath 160 Calculus for Physical Scientists I Exam 1 - Version 1 February 9, 2017, 5:00-6:50 pm
NAME: Instructor: Time your class meets: Math 160 Calculus for Physical Scientists I Exam 1 - Version 1 February 9, 2017, 5:00-6:50 pm How can it be that mathematics, being after all a product of human
More informationIMPORTANT. Read these directions carefully: You do not need to show work for the Multiple Choice questions.
Physics 208: Electricity and Magnetism Common Exam 3, November 14 th 2016 Print your name neatly: First name: Last name: Sign your name: Please fill in your Student ID number (UIN): _ - - Your classroom
More informationMath 41 Final Exam December 9, 2013
Math 41 Final Exam December 9, 2013 Name: SUID#: Circle your section: Valentin Buciumas Jafar Jafarov Jesse Madnick Alexandra Musat Amy Pang 02 (1:15-2:05pm) 08 (10-10:50am) 03 (11-11:50am) 06 (9-9:50am)
More informationMA 113 Calculus I Fall 2017 Exam 1 Tuesday, 19 September Multiple Choice Answers. Question
MA 113 Calculus I Fall 2017 Exam 1 Tuesday, 19 September 2017 Name: Section: Last 4 digits of student ID #: This exam has 12 multiple choice questions (five points each) and 4 free response questions (ten
More informationMA Exam 1 Fall 2015 VERSION 01
VERSION 01 Your name Student ID # Section # and recitation time 1. You must use a # pencil on the scantron sheet (answer sheet).. Check that the cover of your Question Booklet is GREEN and that it has
More informationBy providing my signature below I acknowledge that this is my work, and I did not get any help from anyone else:
University of Georgia Department of Mathematics Math 2250 Final Exam Spring 2016 By providing my signature below I acknowledge that this is my work, and I did not get any help from anyone else: Name (sign):
More informationCore Mathematics 2 Algebra
Core Mathematics 2 Algebra Edited by: K V Kumaran Email: kvkumaran@gmail.com Core Mathematics 2 Algebra 1 Algebra and functions Simple algebraic division; use of the Factor Theorem and the Remainder Theorem.
More informationGradient Descent Methods
Lab 18 Gradient Descent Methods Lab Objective: Many optimization methods fall under the umbrella of descent algorithms. The idea is to choose an initial guess, identify a direction from this point along
More informationMath 41 First Exam October 12, 2010
Math 41 First Exam October 12, 2010 Name: SUID#: Circle your section: Olena Bormashenko Ulrik Buchholtz John Jiang Michael Lipnowski Jonathan Lee 03 (11-11:50am) 07 (10-10:50am) 02 (1:15-2:05pm) 04 (1:15-2:05pm)
More informationMath 160 Calculus for Physical Scientists I Exam 1 February 11, 2016, 5:00-6:50 pm
NAME: Instructor: Time your class meets: Math 160 Calculus for Physical Scientists I Exam 1 February 11, 2016, 5:00-6:50 pm How can it be that mathematics, being after all a product of human thought independent
More informationMath 111 Exam 1. Instructions
Math 111 Exam 1 Instructions Please read all of these instructions thoroughly before beginning the exam. This exam has two parts. The first part must be done without the use of a calculator. When you are
More informationMultiple Choice Answers. MA 113 Calculus I Spring 2018 Exam 2 Tuesday, 6 March Question
MA 113 Calculus I Spring 2018 Exam 2 Tuesday, 6 March 2018 Name: Section: Last 4 digits of student ID #: This exam has 12 multiple choice questions (five points each) and 4 free response questions (ten
More informationMath 41 First Exam October 15, 2013
Math 41 First Exam October 15, 2013 Name: SUID#: Circle your section: Valentin Buciumas Jafar Jafarov Jesse Madnick Alexandra Musat Amy Pang 02 (1:15-2:05pm) 08 (10-10:50am) 03 (11-11:50am) 06 (9-9:50am)
More informationStudent s Printed Name: _Key_& Grading Guidelines CUID:
Student s Printed Name: _Key_& Grading Guidelines CUID: Instructor: Section # : You are not permitted to use a calculator on any part of this test. You are not allowed to use any textbook, notes, cell
More informationMath 148. Polynomial Graphs
Math 148 Lab 1 Polynomial Graphs Due: Monday Wednesday, April April 10 5 Directions: Work out each problem on a separate sheet of paper, and write your answers on the answer sheet provided. Submit the
More informationPhysics 102 Exam 2 Spring Last Name: First Name Network-ID
Last Name: First Name Network-ID Discussion Section: Discussion TA Name: Turn off your cell phone and put it out of sight. Keep your calculator on your own desk. Calculators cannot be shared. This is a
More informationMthSc 103 Test 3 Spring 2009 Version A UC , 3.1, 3.2. Student s Printed Name:
Student s Printed Name: Instructor: CUID: Section # : Read each question very carefully. You are NOT permitted to use a calculator on any portion of this test. You are not allowed to use any textbook,
More informationChapter 1: January 26 January 30
Chapter : January 26 January 30 Section.7: Inequalities As a diagnostic quiz, I want you to go through the first ten problems of the Chapter Test on page 32. These will test your knowledge of Sections.
More informationLorenz Equations. Lab 1. The Lorenz System
Lab 1 Lorenz Equations Chaos: When the present determines the future, but the approximate present does not approximately determine the future. Edward Lorenz Lab Objective: Investigate the behavior of a
More informationMath 1050 Exam 2 Name. D) no vertical asymptotes
Math 050 Exam 2 Name Give the equation of the specified asymptote(s). 3x - 7 ) Vertical asymptote(s): f(x) = x2-5x - 4 A) x = -7, x = 2 B) x = 7, x = 7, x = -2 3 C)x = 7, x = -2 D) no vertical asymptotes
More informationMAT Calculus for Engineers I EXAM #3
MAT 65 - Calculus for Engineers I EXAM #3 Instructor: Liu, Hao Honor Statement By signing below you conrm that you have neither given nor received any unauthorized assistance on this exam. This includes
More informationSTUDENT NAME: STUDENT SIGNATURE: STUDENT ID NUMBER: SECTION NUMBER RECITATION INSTRUCTOR:
MA262 EXAM I SPRING 2016 FEBRUARY 25, 2016 TEST NUMBER 01 INSTRUCTIONS: 1. Do not open the exam booklet until you are instructed to do so. 2. Before you open the booklet fill in the information below and
More informationStudent s Printed Name: _Key
Student s Printed Name: _Key Instructor: CUID: Section # : You are not permitted to use a calculator on any part of this test. You are not allowed to use any textbook, notes, cell phone, laptop, PDA, or
More informationPage Points Score Total: 100
Math 1130 Spring 2019 Sample Exam 1c 1/31/19 Name (Print): Username.#: Lecturer: Rec. Instructor: Rec. Time: This exam contains 8 pages (including this cover page) and 7 problems. Check to see if any pages
More informationInverse Problems. Lab 19
Lab 19 Inverse Problems An important concept in mathematics is the idea of a well posed problem. The concept initially came from Jacques Hadamard. A mathematical problem is well posed if 1. a solution
More information1 Introduction & Objective
Signal Processing First Lab 13: Numerical Evaluation of Fourier Series Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment and go over all exercises in
More informationTemperature measurement
Luleå University of Technology Johan Carlson Last revision: July 22, 2009 Measurement Technology and Uncertainty Analysis - E7021E Lab 3 Temperature measurement Introduction In this lab you are given a
More informationCMSC Discrete Mathematics FINAL EXAM Tuesday, December 5, 2017, 10:30-12:30
CMSC-37110 Discrete Mathematics FINAL EXAM Tuesday, December 5, 2017, 10:30-12:30 Name (print): Email: This exam contributes 40% to your course grade. Do not use book, notes, scrap paper. NO ELECTRONIC
More informationCalculus is Cool. Math 160 Calculus for Physical Scientists I Exam 1 September 18, 2014, 5:00-6:50 pm. NAME: Instructor: Time your class meets:
NAME: Instructor: Time your class meets: Math 160 Calculus for Physical Scientists I Exam 1 September 18, 2014, 5:00-6:50 pm How can it be that mathematics, being after all a product of human thought independent
More informationWithout fully opening the exam, check that you have pages 1 through 11.
Name: Section: Recitation Instructor: INSTRUCTIONS Fill in your name, etc. on this first page. Without fully opening the exam, check that you have pages through. Show all your work on the standard response
More informationMA 262, Spring 2018, Midterm 1 Version 01 (Green)
MA 262, Spring 2018, Midterm 1 Version 01 (Green) INSTRUCTIONS 1. Switch off your phone upon entering the exam room. 2. Do not open the exam booklet until you are instructed to do so. 3. Before you open
More informationSpring 2018 Exam 2 MARK BOX HAND IN PART NAME: PIN: INSTRUCTIONS
Spring 208 Exam 2 problem MARK BOX points HAND IN PART 0 0 4 2-5 56=4x4 6 0 7 0 NAME: PIN: % 00 INSTRUCTIONS This exam comes in two parts () HAND IN PART Hand in only this part (2) STATEMENT OF MULTIPLE
More informationMath 41: Calculus First Exam October 13, 2009
Math 41: Calculus First Exam October 13, 2009 Name: SUID#: Select your section: Atoshi Chowdhury Yuncheng Lin Ian Petrow Ha Pham Yu-jong Tzeng 02 (11-11:50am) 08 (10-10:50am) 04 (1:15-2:05pm) 03 (11-11:50am)
More informationA Add, subtract, multiply, and simplify polynomials and rational expressions.
ED 337 Paul Garrett Selected Response Assessment 10 th Grade Mathematics Examination Algebra II Clear Purpose: The purpose of this selected response is to ensure an understanding of expressions, manipulation
More informationMA 113 Calculus I Fall 2016 Exam Final Wednesday, December 14, True/False 1 T F 2 T F 3 T F 4 T F 5 T F. Name: Section:
MA 113 Calculus I Fall 2016 Exam Final Wednesday, December 14, 2016 Name: Section: Last 4 digits of student ID #: This exam has five true/false questions (two points each), ten multiple choice questions
More informationMATH 112 Final Exam, Spring Honor Statement
NAME: QUIZ Section: STUDENT ID: MATH 112 Final Exam, Spring 2013 Honor Statement I affirm that my work upholds the highest standards of honesty and academic integrity at the University of Washington, and
More informationStudent s Printed Name:
Student s Printed Name: Instructor: CUID: Section # : You are not permitted to use a calculator on any part of this test. You are not allowed to use any textbook, notes, cell phone, laptop, PDA, or any
More informationMA162 EXAM III SPRING 2017 APRIL 11, 2017 TEST NUMBER 01 INSTRUCTIONS:
MA62 EXAM III SPRING 207 APRIL, 207 TEST NUMBER 0 INSTRUCTIONS:. Do not open the exam booklet until you are instructed to do so. 2. Before you open the booklet fill in the information below and use a #
More informationHomework 2 Computational Chemistry (CBE 60553)
Homework 2 Computational Chemistry (CBE 60553) Prof. William F. Schneider Due: 1 Lectures 1-2: Review of quantum mechanics An electron is trapped in a one-dimensional box described by
More informationFoundations for Functions
Activity: TEKS: Overview: Materials: Regression Exploration (A.2) Foundations for functions. The student uses the properties and attributes of functions. The student is expected to: (D) collect and organize
More informationSTUDENT NAME: STUDENT SIGNATURE: STUDENT ID NUMBER: SECTION NUMBER RECITATION INSTRUCTOR:
MA262 FINAL EXAM SPRING 2016 MAY 2, 2016 TEST NUMBER 01 INSTRUCTIONS: 1. Do not open the exam booklet until you are instructed to do so. 2. Before you open the booklet fill in the information below and
More informationMATH 152 FINAL EXAMINATION Spring Semester 2014
Math 15 Final Eam Spring 1 MATH 15 FINAL EXAMINATION Spring Semester 1 NAME: RAW SCORE: Maimum raw score possible is 8. INSTRUCTOR: SECTION NUMBER: MAKE and MODEL of CALCULATOR USED: Answers are to be
More information1.) Suppose the graph of f(x) looks like this (each tick mark denotes 1 unit). x y
College Algebra Summer 2014 Exam File Exam #1 1.) Suppose the graph of f(x) looks like this (each tick mark denotes 1 unit). Graph g(x) = -0.5 f(x + 1) - 3 2.) Consider the following table of values. x
More informationLesson 5 Practice Problems
Name: Date: Lesson 5 Section 5.1: Linear Functions vs. Exponential Functions 1. Complete the table below. Function Linear or Exponential? Linear: Increasing or Decreasing? Exponential: Growth or Decay?
More informationMath 41 Final Exam December 6, 2010
Math 41 Final Exam December 6, 2010 Name: SUID#: Circle your section: Olena Bormashenko Ulrik Buchholtz John Jiang Michael Lipnowski Jonathan Lee 03 (11-11:50am) 07 (10-10:50am) 02 (1:15-2:05pm) 04 (1:15-2:05pm)
More informationMATH 1070 Test 1 Spring 2014 Version A Calc Student s Printed Name: Key & Grading Guidelines CUID:
Student s Printed Name: Key & Grading Guidelines CUID: Instructor: Section # : You are not permitted to use a calculator on any portion of this test. You are not allowed to use any textbook, notes, cell
More informationTotal 100
Math 112 Final Exam June 3, 2017 Name Student ID # Section HONOR STATEMENT I affirm that my work upholds the highest standards of honesty and academic integrity at the University of Washington, and that
More informationGES 554 PDE MEMO. Memo: GES554-Project-2. REF: Ext:
GES 554 PDE MEMO Subject: Heat Diffusion with Rectified Sine Initial Condition TO: GES 554.1 GES 554.996 CC: Date: 12 Feb 214 Memo: GES554-Project-2 From: REF: Ext: 8-5161 Summary: Charles O Neill This
More informationUniversity of Georgia Department of Mathematics. Math 2250 Final Exam Spring 2017
University of Georgia Department of Mathematics Math 2250 Final Exam Spring 2017 By providing my signature below I acknowledge that I abide by the University s academic honesty policy. This is my work,
More informationWithout fully opening the exam, check that you have pages 1 through 11.
Name: Section: (Recitation) Instructor: INSTRUCTIONS Fill in your name, etc. on this first page. Without fully opening the exam, check that you have pages through. Show all your work on the standard response
More informationEE3210 Lab 3: Periodic Signal Representation by Fourier Series
City University of Hong Kong Department of Electronic Engineering EE321 Lab 3: Periodic Signal Representation by Fourier Series Prelab: Read the Background section. Complete Section 2.2(b), which asks
More information2. To receive credit on any problem, you must show work that explains how you obtained your answer or you must explain how you obtained your answer.
Math 50, Fall 2011 Test 3 PRINT your name on the back of the test. Directions 1. Time limit: 1 hour 50 minutes. 2. To receive credit on any problem, you must show work that explains how you obtained your
More information2D Plotting with Matlab
GEEN 1300 Introduction to Engineering Computing Class Meeting #22 Monday, Nov. 9 th Engineering Computing and Problem Solving with Matlab 2-D plotting with Matlab Script files User-defined functions Matlab
More informationVersion B QP1-14,18-24, Calc ,App B-D
MATH 00 Test Fall 06 QP-,8-, Calc.-.,App B-D Student s Printed Name: _Key_& Grading Guidelines CUID: Instructor: Section # : You are not permitted to use a calculator on any portion of this test. You are
More informationSTUDENT NAME: STUDENT SIGNATURE: STUDENT ID NUMBER: SECTION NUMBER AND RECITATION INSTRUCTOR:
MA66 EXAM II SPRING 09 MARCH 5, 09 TEST NUMBER INSTRUCTIONS:. Do not open the exam booklet until you are instructed to do so.. Before you open the booklet fill in the information below and use a # pencil
More informationUniversity of Maryland Department of Physics. Spring 2009 Final Exam 20. May (175 points) Post grades on web? (Initial, please) Yes No
University of Maryland Department of Physics Physics 122 20. May 2009 (175 points) Post grades on web? (Initial, please) Yes No (If you agree, I will post your grades and your detailed scores for each
More informationDesigning Information Devices and Systems II Spring 2016 Anant Sahai and Michel Maharbiz Midterm 2
EECS 16B Designing Information Devices and Systems II Spring 2016 Anant Sahai and Michel Maharbiz Midterm 2 Exam location: 145 Dwinelle (SIDs ending in 1 and 5) PRINT your student ID: PRINT AND SIGN your
More informationWithout fully opening the exam, check that you have pages 1 through 11.
MTH 33 Solutions to Final Exam May, 8 Name: Section: Recitation Instructor: INSTRUCTIONS Fill in your name, etc. on this first page. Without fully opening the exam, check that you have pages through. Show
More information