What do you mean by "square function"? My first thought was a "square wave" (beloved of electrical engineers) but I suspect you mean just a "quadraticfunction. Okay, the most general quadratic function would be for numbers a, b, and c. Then and the equation you have becomes . Combine "like powers" on the left, set the corresponding coefficients equal and solve for a, b, and c.