
William W. answered 06/21/22
Experienced Tutor and Retired Engineer
Since this data does not EXACTLY fit a sine function, you would want to do regression curve fitting. To do so, the easiest way is to use a tool like desmos. Input the data in a table in desmos and then, in a separate line enter the equation as follows:
y1~asin(b(x1-c))+d
From the generic sine functionwhere "A" is the amplitude, "B" is the value that determines the period, "C" is the phase shift, and "D" is the midline or vertical shift.
and desmos will return the best values of a, b, c, and d to fit the data. It also gives you a "goodness of fit" R2 value of 0.9777 (as compared to R2 = 1 being a perfect fit)
I got a = 18.082, b=0.520926, etc,
Let me know if you need more of an explanation.
Diea M.
so how would i enter in the since curve model06/24/22