Coursehero >>
Canada >>
UBC >>
CPSC 303 Course Hero has millions of student submitted documents similar to the one below including study guides, homework solutions, papers, and exam answer keys.
Approximation Numerical and Discretization CPSC 303, Term 2, Winter 2007 2008 Piecewise Cubic Example Consider interpolating the points i xi hi yi 0 0.00 0.10 1.0000 1 0.10 0.15 0.2857 2 0.25 0.25 0.1379 3 0.50 0.50 0.0741 4 1.00 0.0385 Table 1: Data for the cubic spline. where hi = xi+1 - xi and the yi were generated from Runge's function y= 1 1 + 25x2 (1) We will interpolate this data with a cubic spline using the xi as the breakpoints. We will use the following spline as our basis si (x) = ai + bi (x - xi ) + ci (x - xi )2 + di (x - xi )3 , for i = 0, . . . , r - 1 where r = 4 in this case. So there are four cubic interpolants, and 16 coefficients to determine. We need the derivatives later, so they are: si (x) = bi + 2ci (x - xi ) + 3di (x - xi )2 , si (x) = 2ci + 6di (x - xi ). Consider first the interpolation conditions on the left side of the interval: si (xi ) = yi , i = 0, . . . , r - 1. Noticing that (x - xi )|x=xi = (xi - xi ) = 0, we get the set of equations: s0 (x0 ) = a0 = y0 , s1 (x1 ) = a1 = y1 , s2 (x2 ) = a2 = y2 , s3 (x3 ) = a3 = y3 . Now consider the interpolation conditions on the right side of the interval: si (xi+1 ) = yi+1 , i = 0, . . . , r-1. Noticing that (x - xi )|x=xi+1 = (xi+1 - xi ) = hi , we get the set of equations: s0 (x1 ) = a0 + b0 h0 + c0 h2 + d0 h3 = y1 , 0 0 s1 (x2 ) = a1 + b1 h1 + c1 h2 + d1 h3 = y2 , 1 1 s2 (x3 ) = a2 + b2 h2 + c2 h2 + d2 h3 = y3 , 2 2 s3 (x4 ) = a3 + b3 h3 + c3 h2 + d3 h3 = y4 . 3 3 So now we have 8 equations for the 16 coefficients. In order to get the other equations, we impose continuity conditions. First, the first derivatives: si (xi+1 ) = si+1 (xi+1 ), i = 0, . . . , r - 2. s0 (x1 ) = b0 + 2c0 h0 + 3d0 h2 = b1 = s1 (x1 ), 0 s1 (x2 ) = b1 + 2c1 h1 + 3d1 h2 = b2 = s2 (x2 ), 1 s2 (x3 ) = b2 + 2c2 h2 + 3d2 h2 = b3 = s3 (x3 ), 2 1 Notice that we only get three equations out of this condition, since we cannot impose continuity at the outside knots x0 and x4 . Now the second derivatives: si (xi+1 ) = si+1 (xi+1 ), i = 0, . . . , r - 2. s0 (x1 ) = 2c0 + 6d0 h0 = 2c1 = s1 (x1 ), s1 (x2 ) = 2c1 + 6d1 h1 = 2c2 = s2 (x2 ), s2 (x3 ) = 2c2 + 6d2 h2 = 2c3 = s3 (x3 ), So now we have a total of 14 equations for 16 unknowns. Let's write them out in matrix form (where all the 0 entries are replaced by a dot to make the nonzero entries easier to see): a0 1 . . . . . . . . . . . . . . . a1 y0 . 1 . . . . . . . . . . . . . . a2 y1 . . 1 . . . . . . . . . . . . . a3 y2 . . . 1 . . . . . . . . . . . . b0 y3 1 . . . h . . . h3 . . . b1 y1 . . . h2 0 0 0 . 1 . . . h . . . h2 . . . h3 . . b2 y2 1 1 1 . h2 . . . h2 . . . h3 . b3 y3 . . 1 . . 2 2 = . . h3 . . . h2 . . . h3 c0 y4 . . . 1 . (2) 3 3 . . . . 1 -1 . . 2h0 . . . 3h2 . . . c1 0 0 . . . . . 1 -1 . . 2h1 . . . 3h2 . . c2 0 1 . . . . . . 1 -1 . . 2h2 . . . 3h2 . c3 0 2 . . . . . . . . 2 -2 . . 6h0 . . . d0 0 . . . . . . . . . 2 -2 . . 6h1 . . d1 0 . . . . . . . . . . 2 -2 . . 6h2 . d2 0 d3 A1 w = u1 The rows correspond to the equations listed previously in the same order. Make sure that you understand how this system is formed from the previous equations. Also notice that A1 is rectangular 14 16--count it yourself, don't just look at its shape on the page, since the width of the columns is not the same as the height of the rows. Therefore, an infinite number of coefficient vectors w will solve this system. We need two more equations before w (and hence our spline) will be unique. There are several options, but note that each option provided below generates the necessary two rows and hence the options are mutually exclusive. One option is a "free boundary," giving rise to a "natural spline," by setting the second derivatives at the first and last data point to be zero: s0 (x0 ) = 2c0 = 0, s3 (x4 ) = 2c3 + 6d3 h3 = 0 (3) As mentioned in class, such a choice may degrade the order of accuracy of the approximation from O(h4 ) to O(h2 ) near the ends of the spline. Since this example has only four segments, "near" the ends of the spline is almost the entire spline, so it probably is not a good idea to use "natural" a spline. However, as we shall see below, maybe it isn't too bad. You should be able to easily translate (3) into two rows to add to (2) and make a square system. 2 A second option is the "not a knot" condition, that the third derivatives match at the first interior knots on each end. In this case: s0 (x1 ) = 6d0 = 6d1 = s1 (x1 ) (4) s2 (x3 ) = 6d2 = 6d3 = s3 (x3 ) While this choice does not degrade the order of accuracy of the approximation, it does in effect mean that we are using only two separate interpolants, rather than four. Again, you should easily be able to translate (4) into two rows to add to (2). A third option is to match the derivatives at the endpoints. Using (1) we find that y0 = 0 and y4 = -0.0030: s0 (x0 ) = b0 = y0 , (5) s3 (x4 ) = b3 + 2c3 h3 + 3d3 h2 = y4 3 This option would probably be the most accurate, since it uses the most information about the underlying function. However, it needs additional information beyond that provided by table 1. Again, from (5) we can get two rows to add to (2). Finally, we could be more creative. Let us assume that we know that the underlying function generating the data is differentiable and symmetric, but we do not know its actual form. Therefore, we do not know its general derivative and cannot use (5). But a symmetric differentiable function must have derivative zero at the origin (why?). So we can use the exact derivative on the left end of the interval, and then not a knot at the other end where we have no additional information: s0 (x0 ) = b0 = 0, s2 (x3 ) = 6d2 = 6d3 = s3 (x3 ) (6) You could consider these some weird new "mixed" conditions, but the point is that we have used the knowledge that we have about the problem--the data is symmetric and differentiable--where we can, and we used the most accurate approximation elsewhere. To finish the example, we take the two additional rows from (6) and put 1 . . . . . . . . . . . . . . 1 . . . . . . . . . . . . . . 1 . . . . . . . . . . . . . . 1 . . . . . . . . . . 1 . . . h . . . h2 . . . h3 . 0 0 0 . 1 . . . h 2 . . . h1 . . . h3 1 1 . . 1 . . 2 . h2 . . . h2 . . . . . h3 . . . h2 . . . . . 1 . 3 2 . 2h0 . . . 3h0 . . . . . 1 -1 . . . . . . 1 -1 . . 2h1 . . . 3h2 1 . . . . . . 1 -1 . . 2h2 . . . . . . . . . . . 2 -2 . . 6h0 . . . . . . . . . . 2 -2 . . 6h1 . . . . . . . . . . 2 -2 . . . . . . 1 . . . . . . . . . . . . . . . . . . . . . . . A2 them on the bottom of (2): y0 a0 . . . . a1 y1 . . a2 y2 . . a3 y3 . . b0 y1 . . b1 y2 h3 . b2 y3 2 . h3 b3 y4 3 = . . c0 0 (7) . . c1 0 3h2 . c2 0 2 . . c3 0 . . d0 0 6h2 . d1 0 . . d2 0 0 d3 6 -6 w = u2 Notice that the vector of coefficients w did not change. Now we have a square matrix. The pattern of nonzero entries in the matrix is not particularly pretty (for example, not tridiagonal), so it may not be 3 Figure 1: Cubic spline approximation of Runge's function. immediately obvious how to solve the system efficiently. It is also small enough (16 16) that Matlab can solve it essentially instantly treating the matrix as dense.1 The file piecewiseCubic.m implements (7) in Matlab, and the results are shown in figure 1. Notice that the results are very good to the left where there are more data points and we had an exact condition with which to build one of the two missing equations. The results are much poorer to the right, where there are fewer data points and the not a knot condition essentially requires a single cubic spline from x = 0.2 to x = 1.0. 1 These days desktop computers are fast enough that you only need to use sparse matrices for systems with hundreds of rows. But if you were trying to fit hundreds of data points, it is worth knowing that because there are only a constant number of nonzero entries per row--a cubic spline problem could never have more than eight, since no row will involve more than two splines, and each spline has four coefficients--there are techniques to solve this system in O(n) time, where n is the number of rows. But you can take CPSC 402 if you are interested in those details. 4
Find millions of documents here - Study Guides, Homework Solutions, Papers, Exam Answer Keys and more.
Course Hero has millions of course related materials that will enable you to learn better, faster and get an A in all your courses.
Below is a small sample set of documents:
1.09 the definition of numerical analysis
Path: UBC >> CPSC >> 303 Winter, 2007
Description: The following essay appeared in the November, 1992 issue of SIAM News and the March, 1993 issue of the Bulletin of the Institute for Mathematics and Applications.] THE DEFINITION OF NUMERICAL ANALYSIS Lloyd N. Trefethen Dept. of Computer Science Cor...
Chapter 12
Path: Cal Poly Pomona >> ME >> 214 Fall, 2006
Description: ...
Chapter 13
Path: Cal Poly Pomona >> ME >> 214 Fall, 2006
Description: ...
Solutions Manual - Engineering Mechanics Statics 10E (Hibbeler)
Path: UMKC >> ME >> 275 Spring, 2008
Description: ...
Vector Mechanics for engineers Statics 7th - Cap 05
Path: UMKC >> ME >> 275 Spring, 2008
Description: PROBLEM 5.1 Locate the centroid of the plane area shown. SOLUTION A, in 2 x , in. y , in. xA, in 3 yA, in 3 1 2 8 6 = 48 16 12 = 192 -4 9 6 -192 432 1152 1584 8 1536 1344 240 xA 1344 in 3 = A 240 in 2 yA 1584 in 3 = A 240 in 2 Th...
comm actuate outline
Path: Cornell >> COMM >> 2010 Fall, 2007
Description: Maya Grinberg Comm 201 Actuate Outline Title: Take a CHILL PILL! General Subject: Leisure time Specific Subject: College Students Need to Manage their Stress and Can do so by Engaging in More Leisure Activities. Purpose: To entice my audience into pl...
Thrift Protocol (Facebook)
Path: Stanford >> CS >> 145 Fall, 2007
Description: Thrift: Scalable Cross-Language Services Implementation Mark Slee, Aditya Agarwal and Marc Kwiatkowski Facebook, 156 University Ave, Palo Alto, CA {mcslee,aditya,marc}@facebook.com Abstract Thrift is a software library and set of code-generation too...
exam2
Path: Allegheny >> ECON >> 300 Spring, 2008
Description: ECONOMICS 300 EXAM 2 SPRING 2004 PLEDGE:_ NAME:_ Use this information to answer questions 1-4. Suppose that the supply curve for news stories concerning Michael Jackson is perfectly elastic at the price of $10. The demand curve is downward sloping an...
exam3
Path: Allegheny >> ECON >> 300 Spring, 2008
Description: ECONOMICS 300 FINAL EXAM SPRING 2004 PLEDGE: _ NAME: _ 1. (3) In a model of oligopoly: a. There are many firms that are price takers. b. There are many firms that offer heterogeneous product. c. One firm that is a price setter. d. Several firms that...
Intermediate macroeconomics exam1
Path: Allegheny >> ECON >> 300 Spring, 2008
Description: ECONOMICS 300 FIRST MIDTERM SPRING 2004 PLEDGE:_ NAME:_ Multiple Choice (3 points each) (48 points total) 1. When a consumer is consuming a bundle on her budget constraint then a. She must be maximizing her utility. b. She must be exhausting her inco...
midterm2version1s07
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: Econ 101 Principles of Microeconomics Korinna K. Hansen Student Name: Section #: TA Name: Second Midterm Examination Spring 2007 Version 1 DO NOT BEGIN WORKING UNTIL THE INSTRUCTOR TELLS YOU TO DO SO. READ THESE INSTRUCTIONS FIRST. You have 50 m...
midterm 2 review questions
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: Review Questions for Midterm 2 Econ 101, Lecture 4, Spring 2007 Professor Korinna K. Hansen TAs: Jonathan Thornhill, Kyoung Jin Choi, Woo Jin Choi and Jim Lin 1) In a world of two goods X and Y with prices P X and PY, an increase in both prices PX a...
final review key
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: Econ 101, Final Review Key Spring 2007 1) c 2) a 3) c 4) d 5) b, this is assuming that fixed cost is included in the marginal cost of the first unit. 6) b 7) a 8) d 9) b 10) c 11) b 12) d 13) b 14) c 15) c 16) d 17) a 18) a 19) c 20) b 21) c 22) d 23...
final review problems
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: Review Questions for the Final Exam Econ 101, Lecture 4, Spring 2007 Professor Korinna K. Hansen TAs: Jonathan Thornhill, Kyoung Jin Choi, Woo Jin Choi and Jim Lin Use this graph for the next question. 1) Points A, B, and C in the above Figure indic...
finalexamreviewtopics
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: Additional Topics for Final Exam Econ 101, Lecture 4, Spring 2007 Professor Korinna K. Hansen In addition to all topics you prepared for Midterms 1 & 2, please prepare the following topics: Monopoly Barriers to entry Revenue curves for the Monopolist...
Income and Substition Effects
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: Y Income and Substitution Effects: Px increases E\' E2 E1 New budget line Hypothetical budget line Original budget line X Income effect Substitution effect Y Income and Substitution Effects: Px decreases E1 E\' Original budget line E2 Hypothetic...
LearningGuide1
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: University of Wisconsin Department of Economics Economics 101: Principles of Microeconomics Korinna K. Hansen Learning Guide 1 Due Date: Week of Monday, Jan. 29th, 2007 Reading Assignment: Case & Fair Chapter 2 and Lecture Material. Problem Assignm...
LGuide2
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: University of Wisconsin Department of Economics Economics 101: Principles of Microeconomics Korinna K. Hansen Learning Guide 2 Due Date: Week of Monday, February 5th, 2007 Reading Assignment: Case & Fair Chapter 3 up to page 59 and Lecture Materia...
LGuide3
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: University of Wisconsin Department of Economics Economics 101: Principles of Microeconomics Korinna K. Hansen Learning Guide 3 Due Date: Week of Monday, February 12th, 2007 Reading Assignment: Case & Fair Chapter 3 (mostly beyond page 59) and all ...
LGuide4
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: University of Wisconsin Department of Economics Economics 101: Principles of Microeconomics Korinna K. Hansen Learning Guide 4 Due Date: Week of Monday, February 26th, 2007 Reading Assignment: Case & Fair Chapter 6 up to the middle of page 126. Pl...
midterm1reviewtopics
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: Review Topics for Midterm 1 Econ 101, Lecture 4, Spring 2007 Professor Korinna K. Hansen Opportunity Cost Absolute Advantage Comparative Advantage Production Possibility Frontier Marginal Rate of Transformation Law of Increasing Opportunity Cost Law ...
Long-run Producer Theory & Input Market Graphs
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: ...
midterm1 review questions
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: Review Questions for Midterm 1 Econ 101, Lecture 4, Spring 2007 Professor Korinna K. Hansen TAs: Jonathan Thornhill, Kyoung Jin Choi, Woo Jin Choi and Jim Lin Use the graph below to answer the following question. 1) In the above Figure, which of th...
Midterm1reviewkey
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: Econ 101: Principles of Microeconomics - Lecture 4 - Spring 2007 Key to the Review problems for First Midterm 1) d 2) d 3) b 4) b 5) a 6) d 7) a 8) b 9) a 10) c 11) d 12) c 13) a 14) c 15) c 16) d 17) c 18) b 19) a 20) b 21) d 22) b 23) b 24) b 25) c...
midterm2version1key
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: Version 1 1) b 2) b 3) a 4) a 5) b 6) b 7) b 8) b 9) a 10) a 11) b 12) d 13) c 14) d 15) a 16) c 17) a 18) d 19) c 20) b 21) b 22) a 23) b 24) d 25) c 26) d 27) b 28) c 29) d 30) b ...
midterm1version1key
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: Version 1 1) a 2) b 3) a 4) a 5) a 6) b 7) b 8) a 9) b 10) b 11) b 12) c 13) a 14) d 15) c 16) c 17) b 18) c 19) a 20) b 21) a 22) d 23) d 24) a 25) c 26) b 27) d 28) d 29) b 30) d ...
midterm1version1s07
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: Econ 101 Principles of Microeconomics Korinna K. Hansen Student Name: Section #: TA Name: First Midterm Examination Spring 2007 Version 1 DO NOT BEGIN WORKING UNTIL THE INSTRUCTOR TELLS YOU TO DO SO. READ THESE INSTRUCTIONS FIRST. You have 50 mi...
midterm2reviewtopics
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: Review Topics for Midterm 2 Econ 101, Lecture 4, Spring 2007 Professor Korinna K. Hansen Budget constraint Opportunity set Slope of the budget constraint Shifts and rotations of the budget constraint Total utility and marginal utility The law of dim...
ch01
Path: Virginia Tech >> ME >> 2124 Spring, 2008
Description: ...
lecture notes3
Path: Cal Poly >> STAT >> 321 Winter, 2008
Description: Stat 321 Day 3 Measures of Spread Announcements Lab questions? NHL: $209.78 NFL: $322.82 MLB: $147.72 NBA: $244.48 HW 1 (due Tuesday) questions? Reminder: Office Hour today 1-3 Last Time Measures of Center Mean = average all values ...
LGuide12
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: University of Wisconsin Department of Economics Economics 101: Principles of Microeconomics Korinna K. Hansen Learning Guide 11 Due Date: Week of Monday, May 7, 2007 Reading Assignment: Case & Fair Chapter 15 up to page 345. Also, all relevant lectu...
LGuide11
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: University of Wisconsin Department of Economics Economics 101: Principles of Microeconomics Korinna K. Hansen Learning Guide 11 Due Date: Week of Monday, April 30, 2007 Reading Assignment: Case & Fair Chapter 14 pp. 310- end, and all relevant lectur...
LGuide9
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: University of Wisconsin Department of Economics Economics 101: Principles of Microeconomics Korinna K. Hansen Learning Guide 9 Due Date: Week of Monday, April 16, 2007 Reading Assignment: Case & Fair Chapter 13 up to page 287. Problem Assignment: P...
LGuide7
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: University of Wisconsin Department of Economics Economics 101: Principles of Microeconomics Korinna K. Hansen Learning Guide 7 Due Date: Week of Monday, March 19, 2007 Reading Assignment: Case 9 (not the appendix). Problem Assign...
LGuide5
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: University of Wisconsin Department of Economics Economics 101: Principles of Microeconomics Korinna K. Hansen Learning Guide 5 Due Date: Week of Monday, March 5, 2007 Reading Assignment: Case & Fair Chapter 6 (the whole chapter including the appendi...
sol_practice_midterm1_eco2302
Path: UT Dallas >> ECON >> 2302 Spring, 2006
Description: SOLUTIONS TO PRACTICE EXAM 1 Economics 2302 Principles of Microeconomics Professor Isaac McFarlin Examination 1 University of Texas at Dallas Exam#: WARNING: I strongly recommend you first work through the practice exam COMPLETELY before looking at ...
S06_Syllabus_ECO2302
Path: UT Dallas >> ECON >> 2302 Spring, 2006
Description: Tentative 01/09/2006 Economics 2302 Spring 2006 Principles of Microeconomics University of Texas at Dallas Professor: Isaac McFarlin Office: Green Hall, Rm. GR3.816 Phone: (972) 883-4761 E-mail: imcfarlin@utdallas.edu (Not via WebCT) Course websit...
s06_prac_final_&_sol_eco2302
Path: UT Dallas >> ECON >> 2302 Spring, 2006
Description: MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. 1) Which of the following is the best definition of economics? A) The study of how consumers spend their income B) The study of how the federal gov...
s06_prac_exam2_eco2302
Path: UT Dallas >> ECON >> 2302 Spring, 2006
Description: Economics 2302 Principles of Microeconomics Professor Isaac McFarlin Practice Examination 2 University of Texas at Dallas Student Name (print) _ Student ID: xxx xx - _ Student Signature (required) __ INSTRUCTIONS: The exam is closed book. You may...
ps1_econ2302
Path: UT Dallas >> ECON >> 2302 Spring, 2006
Description: Economics 2302 Professor McFarlin Problem Set 1 Principles of Microeconomics University of Texas at Dallas [Note: Problem sets in this class will not be collected or graded.] Economics is a quantitative social science. If you take a moment and scan...
Chapter 8 true false
Path: Mines >> EBGN >> 312 Fall, 2002
Description: Chapter 8: Aggregate Expenditure and Equilibrium Output True or False 1. Consumption is a highly volatile component of aggregate expenditure. TRUE FALSE 2. The marginal propensity to consume is the slope of the aggregate expenditure function (C +...
Chapter 9 hw4
Path: Mines >> EBGN >> 312 Fall, 2002
Description: Chapter 9: The Government and Fiscal Policy Multiple Choice 1. In macroeconomics, the debate over the role of government includes the views of Keynesian economists who believe that: The government is incapable of stabilizing the economy. The govern...
externality and tax graphs
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: ...
Home work Statistics 220
Path: Carnegie Mellon >> STAT >> 220 Fall, 2005
Description: Homework Assignment Statistics 220, Fall 2005 Homework Assignment #1 Problems from Devore: 1. 2. 3. 4. 5. 6. 7. Problem 1.10 Problem 1.36 Problem 1.38 Problem 1.41 Problem 1.42 Problem 1.44 Problem 1.51 Homework Assignment #2 Due September 14 Show y...
PrevExam-1 part4
Path: Mines >> EBGN >> 312 Fall, 2002
Description: ...
ps4_ans_econ2302
Path: UT Dallas >> ECON >> 2302 Spring, 2006
Description: Economics 2302 Professor McFarlin Solution to problem Set 4 Principles of Microeconomics University of Texas at Dallas 1. Here\'s a table with all the info: L 0 1 2 3 4 5 6 7 8 Q 0 30 70 100 120 130 135 140 140 MPL 30 40 30 20 10 5 5 0 APL 30 35 33...
ps2_econ2302
Path: UT Dallas >> ECON >> 2302 Spring, 2006
Description: Economics 2302 Professor McFarlin Problem Set 2 Principles of Microeconomics University of Texas at Dallas [Note: Problem sets in this class will not be collected or graded.] 1. Consider an economy comprised of Jack and Jill, each of whom is capab...
PrevExam-1
Path: Mines >> EBGN >> 312 Fall, 2002
Description: ...
CPSC 303 Syllabus Numerical Approximation and Discretization 2007 Class Home Page
Path: UBC >> CPSC >> 303 Winter, 2007
Description: CPSC 303: Numerical Approximation and Discretization 2007 Class Home Page CPSC 303, Term 2, Winter 2007-2008 Class Home Page Numerical Approximation and Discretization Contents of this page Late breaking news Things to print r Handouts r H...
1.07_hw.0
Path: UBC >> CPSC >> 303 Winter, 2007
Description: Numerical Approximation and Discretization CPSC 303, Term 2, Winter 20072008 Assigned Monday January 7. Not due for grading. Submit by Thursday, January 24 if you wish to have the TA check it. Homework #0 This homework is designed to give you a litt...
1.07 soln.hw1
Path: UBC >> CPSC >> 303 Winter, 2007
Description: Numerical Approximation and Discretization CPSC 303, Term 2, Winter 20072008 Homework #1 Solutions 1. Weather Simulation. (10 points) Imagine trying to predict the weather in Vancouver tomorrow using a computer simulation. What might be involved in...
1.21 Linear Algebra Fact Sheet
Path: UBC >> CPSC >> 303 Winter, 2007
Description: Numerical Approximation and Discretization gg QHQD erm PD inter PHHT{PHHU Linear Algebra Review Notation: intry ppers in row nd olumn of F hen tlking out mtriesD rememerX rows then olumnsF4 etor P R hs rows @ olumn vetorAF intry ppers in row F p...
1.27 Interpolation Error Examples
Path: UBC >> CPSC >> 303 Winter, 2007
Description: Numerical Approximation and Discretization CPSC 303, Term 2, Winter 20072008 Interpolation Error Examples Consider a problem similar to what we studied using interpolateSine.m: interpolate f (x) = sin(2x) on the interval x [0, +1]. Our error formul...
1.21_hw.2
Path: UBC >> CPSC >> 303 Winter, 2007
Description: Numerical Approximation and Discretization. CPSC 303, Term 2, Winter 20072008. Assigned Monday January 21. Due Monday February 4. Maximum 2 late days. Homework #2 1. Paper and Pencil. (10 points) (a) Imagine that we have already computed an interpol...
1.24 Approximation & Error Example
Path: UBC >> CPSC >> 303 Winter, 2007
Description: Numerical Approximation and Discretization CPSC 303, Term 2, Winter 20072008 Approximations & Errors Example There are two sources of error we need to take into account when we are designing and analyzing numerical algorithms: data error (which occu...
Answers to Ch 2 Problems
Path: JMU >> ECON >> 201 Fall, 2007
Description: Answers to Problems: Chapter 2 1. In time it takes Ted to wash a car he can wax one-third of a car. So his opportunity cost of washing one car is one-third of a wax job. In the time it takes Tom to wash a car, he can wax one-half of a car. So his opp...
Ch7 Answer to Problems
Path: JMU >> ECON >> 201 Fall, 2007
Description: ...
chapter 3 answers
Path: JMU >> ECON >> 201 Fall, 2007
Description: Answers to Problems 1a. Substitutes b. Complements c. Probably substitutes for most people, but complements for some others who like to eat ice cream and chocolate together. d. Substitutes. 2. The supply curve would shift: a. Right. The discovery is ...
Ch 11 Answers to Problems
Path: JMU >> ECON >> 201 Fall, 2007
Description: Answers to Problems 1a. All others Study a lot Study a lot -5 for Sam -5 for others Sam Study a little -6 for Sam 10 for others -1 for Sam -1 for others Study a little 10 for Sam -6 for others b. All study a lot and receive an average grade. From th...
Ch 10 Answers to Problems
Path: JMU >> ECON >> 201 Fall, 2007
Description: Answers to Problems 1. As shown in the following table, Volvo\'s greater production volume gives it substantially lower average production cost, and this advantage helps explain why Volvo\'s market share has in fact been growing relative to Saab\'s. Saa...
Ch 6 Answers to Problems
Path: JMU >> ECON >> 201 Fall, 2007
Description: Chapter 6 Answers to Problems 1. If the price of a fossil is below $5.40, Zoe should devote all her time to photography because when the price is, say, $5 per fossil, an hour spent looking for fossils will give her 5($5) = $25, or $2 less than she\'d ...
Syllabus
Path: UCSB >> ECON >> 01 Summer, 2007
Description: Econ 1: Principles of Microeconomics I. Administrative Information Lecturer: Francisco Azeredo Office: NH 2028 Teaching assistant: Ben Hansen Office: NH 2044 Class: MTW TA section: R R 9:30 10:55am 9:30 10:55am 12:30 1:55 pm Office Hours: TW 11:00...
Homework3
Path: UCSB >> ECON >> 01 Summer, 2007
Description: UNIVERSITY OF CALIFORNIA SANTA BARBARA Economics 1 Principles of Economics Summer 2007 Session A Homework #3 I. Problems: Chapter 5 I.1 Book Problems Francisco Azeredo Ben Hansen Please place your answers in the space below. Take the time to draw ...
chapter 4 answers
Path: JMU >> ECON >> 201 Fall, 2007
Description: Answers to Problems 1. For the demand curve shown, the slope is 1 so (1/slope) is also 1. The absolute value of the price elasticity of demand at any point on this demand curve is thus the ratio (P/Q) at that point. A B C D E P 100 75 50 25 A B C D E...
Ch 5 answers
Path: JMU >> ECON >> 201 Fall, 2007
Description: Answers to Problems 1. Because willingness to pay for food quality is likely to be an increasing function of income, we expect patrons of the gourmet restaurant to have higher incomes, on average, than the patron of the diner. And since willingness t...
PQuiz10
Path: Wisconsin >> ECON >> 101 Spring, 2007
Description: Econ 101: Principles of Economics Korinna K. Hansen NAME: Disc. Section: Practice Quiz 10 Use clear graphs to answer the questions below. Be brief, but clear and neat. Make sure that you label all your axes and curves. 1). (4 points). True or False...
Ch 8 (partal) Answers to Problems
Path: JMU >> ECON >> 201 Fall, 2007
Description: Ch 8 Answers to Problems 1 a. False: the maxim tells us that there are no unexploited economic opportunities when the market is in long-run equilibrium. b. False: firms in long-run equilibrium have to make an accounting profit in order to cover the o...
Homework2
Path: UCSB >> ECON >> 01 Summer, 2007
Description: UNIVERSITY OF CALIFORNIA SANTA BARBARA Economics 1 Principles of Economics Summer 2007 Session A Homework #2 I. Problems: Chapter 3 I.1 Book Problems Francisco Azeredo Ben Hansen Please place your answers in the space below. Take the time to draw ...
1.07_hw.1
Path: UBC >> CPSC >> 303 Winter, 2007
Description: Numerical Approximation and Discretization CPSC 303, Term 2, Winter 20072008 Assigned Wednesday January 9. Due Friday January 18. Homework #1 For questions involving Matlab coding, please submit a hardcopy of your Matlab program. Among the comments ...
Homework 1
Path: UCSB >> ECON >> 01 Summer, 2007
Description: UNIVERSITY OF CALIFORNIA SANTA BARBARA Economics 1 Principles of Economics Summer 2007 Session A Homework #1 I. Problems: Chapter 1 I.1 Book Problems Please place your answers in the space below. Q1. Francisco Azeredo Ben Hansen Q2. Q5. 1 Q8. ...