Science:Math Exam Resources/Courses/MATH307/April 2012/Question 05 (c)

From UBC Wiki
Jump to: navigation, search


MATH307 April 2012
Men at work sign.gif


Work in progress: this question page is incomplete, there might be mistakes in the material you are seeing here.


  •  Q1 (a)  •  Q1 (b)  •  Q1 (c)  •  Q1 (d)  •  Q2 (a)  •  Q2 (b)  •  Q2 (c)  •  Q3  •  Q4 (a)  •  Q4 (b)  •  Q4 (c)  •  Q4 (d)  •  Q4 (e)  •  Q5 (a)  •  Q5 (b)  •  Q5 (c)  •  Q6 (a)  •  Q6 (b)  •  Q6 (c)  •  Q6 (d)  •  Q7 (a)  •  Q7 (b)  •  Q7 (c)  •  Q8 (a)  •  Q8 (b)  •  Q8 (c)  •  

   Other MATH307 Exams
  •  December 2012  •  December 2010  •  December 2008  •  April 2013  •  April 2012  •  April 2006  •  

Question 05 (c)

You are given a set of 100 data points (xn, yn) with xn increasing.

(c) Suppose instead that you choose to make a least square fit of the data points to a quadratic polynomial

Write down the MATLAB/Octave command you would use to calculate the coefficients, plot the original data points and plot the quadratic fit (you may assume that vectors and have already been defined).

Make sure you understand the problem fully: What is the question asking you to do? Are there specific conditions or constraints that you should take note of? How will you know if your answer is correct from your work only? Can you rephrase the question in your own words in a way that makes sense to you?

If you are stuck, check the hint below. Consider it for a while. Does it give you a new idea on how to approach the problem? If so, try it!


Checking a solution serves two purposes: helping you if, after having used the hint, you still are stuck on the problem; or if you have solved the problem and would like to check your work.

  • If you are stuck on a problem: Read the solution slowly and as soon as you feel you could finish the problem on your own, hide it and work on the problem. Come back later to the solution if you are stuck or if you want to check your work.
  • If you want to check your work: Don't only focus on the answer, problems are mostly marked for the work you do, make sure you understand all the steps that were required to complete the problem and see if you made mistakes or forgot some aspects. Your goal is to check that your mental process was correct, not only the result.




Click here for similar questions
MER CH flag, MER QGQ flag, MER RS flag, MER RT flag, MER Tag MATLAB
lightbulb image
Math Learning Centre
  • A space to study math together.
  • Free math graduate and undergraduate TA support.
  • Mon - Fri: 11 am - 5 pm, LSK 301&302.

Private tutor