# Question:Least Squares fitting through fixed point

## Question:Least Squares fitting through fixed point

Maple
Hi... I don't have a lot of experience with Maple, but I want to plot some test data and find a least squares curve fitting. I know how to plot the stuff I want to plot, and how to do basic least square fitting. However, I have 6 data points to apply least squares on, and I have one additional "fixed" point. I know the curve will have to become parabolic (And I know how to curve fit to that using LeastSquares), but the problem is that the minimum of that parabola has to go through the fixed point. I have no idea how to achieve this (if it is at all possible). BTW, I tried cheating a bit, by adding some weights, but it doesn't quite get me exactly what is require. The graph appears to go through the point, alright, but I it is not at it's minimum there. I used: LeastSquares(Data5, x, curve = a*x^2+b*x+c, weight = [1000, 1, 1, 1, 1, 1, 1]) (Data5 is the data; first point fixed point, remaining 6 test results) I hope someone can help me. Thanks in advance
﻿