Find Sine function without given Minimum












1














So, recently for a grade 11 school math project, I collected data, which I knew took a form of a sine graph, but the values which experimented to find were chosen randomly. Faith the data collected, I got the maximum point, but did not include the minimum point. So is there a way to find an equation of sine regression if no minimum is given/shown?










share|cite|improve this question






















  • Attempting to "solve" the sine wave with several points could be a good starting point - you have unknown as - frequency, phase and amplitude and bias (I assume all the values are positive. Usually you loom for a sine wave that provides you the lowest error (based on RMS)
    – Moti
    Nov 21 '18 at 21:17










  • Why don't you put the data in order we play with them ? By the way, welcome to the site !
    – Claude Leibovici
    Nov 22 '18 at 17:50










  • @ClaudeLeibovici Thank you for the greetings! Here is the data which i have collected: goo.gl/YBhu1i
    – Jugal Bilimoria
    Nov 22 '18 at 22:27










  • Could you precise the equation you want to search ?
    – Claude Leibovici
    Nov 23 '18 at 9:40










  • @ClaudeLeibovici Hey cal you help me out for a small part? Is it possible for you to send a picture of what your excel space looked like when you you plotted everythign and used excel solver?. I found out how but i just want to double check.
    – Jugal Bilimoria
    Nov 26 '18 at 23:30
















1














So, recently for a grade 11 school math project, I collected data, which I knew took a form of a sine graph, but the values which experimented to find were chosen randomly. Faith the data collected, I got the maximum point, but did not include the minimum point. So is there a way to find an equation of sine regression if no minimum is given/shown?










share|cite|improve this question






















  • Attempting to "solve" the sine wave with several points could be a good starting point - you have unknown as - frequency, phase and amplitude and bias (I assume all the values are positive. Usually you loom for a sine wave that provides you the lowest error (based on RMS)
    – Moti
    Nov 21 '18 at 21:17










  • Why don't you put the data in order we play with them ? By the way, welcome to the site !
    – Claude Leibovici
    Nov 22 '18 at 17:50










  • @ClaudeLeibovici Thank you for the greetings! Here is the data which i have collected: goo.gl/YBhu1i
    – Jugal Bilimoria
    Nov 22 '18 at 22:27










  • Could you precise the equation you want to search ?
    – Claude Leibovici
    Nov 23 '18 at 9:40










  • @ClaudeLeibovici Hey cal you help me out for a small part? Is it possible for you to send a picture of what your excel space looked like when you you plotted everythign and used excel solver?. I found out how but i just want to double check.
    – Jugal Bilimoria
    Nov 26 '18 at 23:30














1












1








1







So, recently for a grade 11 school math project, I collected data, which I knew took a form of a sine graph, but the values which experimented to find were chosen randomly. Faith the data collected, I got the maximum point, but did not include the minimum point. So is there a way to find an equation of sine regression if no minimum is given/shown?










share|cite|improve this question













So, recently for a grade 11 school math project, I collected data, which I knew took a form of a sine graph, but the values which experimented to find were chosen randomly. Faith the data collected, I got the maximum point, but did not include the minimum point. So is there a way to find an equation of sine regression if no minimum is given/shown?







trigonometry regression






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 21 '18 at 19:52









Jugal BilimoriaJugal Bilimoria

61




61












  • Attempting to "solve" the sine wave with several points could be a good starting point - you have unknown as - frequency, phase and amplitude and bias (I assume all the values are positive. Usually you loom for a sine wave that provides you the lowest error (based on RMS)
    – Moti
    Nov 21 '18 at 21:17










  • Why don't you put the data in order we play with them ? By the way, welcome to the site !
    – Claude Leibovici
    Nov 22 '18 at 17:50










  • @ClaudeLeibovici Thank you for the greetings! Here is the data which i have collected: goo.gl/YBhu1i
    – Jugal Bilimoria
    Nov 22 '18 at 22:27










  • Could you precise the equation you want to search ?
    – Claude Leibovici
    Nov 23 '18 at 9:40










  • @ClaudeLeibovici Hey cal you help me out for a small part? Is it possible for you to send a picture of what your excel space looked like when you you plotted everythign and used excel solver?. I found out how but i just want to double check.
    – Jugal Bilimoria
    Nov 26 '18 at 23:30


















  • Attempting to "solve" the sine wave with several points could be a good starting point - you have unknown as - frequency, phase and amplitude and bias (I assume all the values are positive. Usually you loom for a sine wave that provides you the lowest error (based on RMS)
    – Moti
    Nov 21 '18 at 21:17










  • Why don't you put the data in order we play with them ? By the way, welcome to the site !
    – Claude Leibovici
    Nov 22 '18 at 17:50










  • @ClaudeLeibovici Thank you for the greetings! Here is the data which i have collected: goo.gl/YBhu1i
    – Jugal Bilimoria
    Nov 22 '18 at 22:27










  • Could you precise the equation you want to search ?
    – Claude Leibovici
    Nov 23 '18 at 9:40










  • @ClaudeLeibovici Hey cal you help me out for a small part? Is it possible for you to send a picture of what your excel space looked like when you you plotted everythign and used excel solver?. I found out how but i just want to double check.
    – Jugal Bilimoria
    Nov 26 '18 at 23:30
















Attempting to "solve" the sine wave with several points could be a good starting point - you have unknown as - frequency, phase and amplitude and bias (I assume all the values are positive. Usually you loom for a sine wave that provides you the lowest error (based on RMS)
– Moti
Nov 21 '18 at 21:17




Attempting to "solve" the sine wave with several points could be a good starting point - you have unknown as - frequency, phase and amplitude and bias (I assume all the values are positive. Usually you loom for a sine wave that provides you the lowest error (based on RMS)
– Moti
Nov 21 '18 at 21:17












Why don't you put the data in order we play with them ? By the way, welcome to the site !
– Claude Leibovici
Nov 22 '18 at 17:50




Why don't you put the data in order we play with them ? By the way, welcome to the site !
– Claude Leibovici
Nov 22 '18 at 17:50












@ClaudeLeibovici Thank you for the greetings! Here is the data which i have collected: goo.gl/YBhu1i
– Jugal Bilimoria
Nov 22 '18 at 22:27




@ClaudeLeibovici Thank you for the greetings! Here is the data which i have collected: goo.gl/YBhu1i
– Jugal Bilimoria
Nov 22 '18 at 22:27












Could you precise the equation you want to search ?
– Claude Leibovici
Nov 23 '18 at 9:40




Could you precise the equation you want to search ?
– Claude Leibovici
Nov 23 '18 at 9:40












@ClaudeLeibovici Hey cal you help me out for a small part? Is it possible for you to send a picture of what your excel space looked like when you you plotted everythign and used excel solver?. I found out how but i just want to double check.
– Jugal Bilimoria
Nov 26 '18 at 23:30




@ClaudeLeibovici Hey cal you help me out for a small part? Is it possible for you to send a picture of what your excel space looked like when you you plotted everythign and used excel solver?. I found out how but i just want to double check.
– Jugal Bilimoria
Nov 26 '18 at 23:30










1 Answer
1






active

oldest

votes


















1














Given $n$ data points $(x_i,y_i)$ for a sine wave means fitting the model
$$y=A+Bsin(Cx+D)$$ and it is a quite difficelt task (google for fitting a sine wave).



From a practical point of view, it is easier to expand the sine term and consider instead
$$y=a+bsin(cx)+dcos(cx)$$ Taking into account the fact that your $x_i$'s are given in degrees, I prefer to rewrite the model as
$$y=a+b sin left(cfrac{pi x}{180}right)+d cos left(cfrac{pi x}{180}right)$$This problem is nonlinear (because of the $c$ parameter). If $c$ was known, it would just be a multilinear regression easy to do.



So, for the time being, give $c$ a value; for this value, compute $a,b,d$ and the sum of squares $SSQ$ (all of that can easily be done using Excel). Now, plot $SSQ$ a a funtion of $c$ and locate its minimum. When done, you have all the estimates required for the nonlinear regression for a fine tuning of the parameters.



Using the data you posted, $c=4.5$ seems to be a good candidate. Using this value and the corresponding $a,b,d$ obtained by the preliminary multilinear regression, a nonlinear regression will give
$$a=34.442 qquad b=6.987 qquad c=4.526 qquad d=8.002$$ For these values, the table below reproduces your data and the predicted values from the regression
$$left(
begin{array}{ccc}
x & y & text{predicted} \
90 & 48.88 & 45.003 \
68 & 33.98 & 33.820 \
41.2 & 26.58 & 25.704 \
33.2 & 30.72 & 30.960 \
20.4 & 38.59 & 41.098 \
0 & 40.28 & 42.445
end{array}
right)$$
which is not fantastic even if $R^2=0.9968$ seems to be be quite good.



Now, taking the derivative of $y$ with respect to $x$
$$y'=frac{pi c}{180} left(b cos left(cfrac{pi x}{180}right)-d sin
left(cfrac{pi x}{180}right)right) $$
and solving the trigonometric equation
$$b cos left(cfrac{pi x}{180}right)-d sin
left(cfrac{pi x}{180}right)=0 implies x=frac{180 }{pi c}tan ^{-1}left(frac{b}{d}right)$$
gives $y_{max}=45.066$ at $x=88.63 ^{circ}$ and $y_{min}=23.819$ at $x=48.86 ^{circ}$.






share|cite|improve this answer





















  • OMG ur a legend! However im confused on how and why you split up the original equation to y=a+bsin(cx)+dcos(cx) and how you found the a b c and d values. is it possible for you to explain more indepth, and how you did it on excel?
    – Jugal Bilimoria
    Nov 24 '18 at 17:49










  • @JugalBilimoria. Start with the initial model and expand $sin(Cx+D)$. Then, linear regressions for given $c$. Polish the whole using nonlinear regression or optimization with Excel solver.
    – Claude Leibovici
    Nov 25 '18 at 2:25










  • I also need to shot step by step, and annotate how and why for the project. So is it possible for you to explain it to me as I am still confused about your method(e.g. getting c as 4.5, then computing abd on excel use. Sum of squares). Thanks for everything in advance!
    – Jugal Bilimoria
    Nov 25 '18 at 14:35












  • @JugalBilimoria. Do you know about linear regression or not yet ?
    – Claude Leibovici
    Nov 25 '18 at 15:02












  • Yes i do, along with quadratic, exponential, sine, cos, etc...
    – Jugal Bilimoria
    Nov 25 '18 at 16:58











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3008250%2ffind-sine-function-without-given-minimum%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














Given $n$ data points $(x_i,y_i)$ for a sine wave means fitting the model
$$y=A+Bsin(Cx+D)$$ and it is a quite difficelt task (google for fitting a sine wave).



From a practical point of view, it is easier to expand the sine term and consider instead
$$y=a+bsin(cx)+dcos(cx)$$ Taking into account the fact that your $x_i$'s are given in degrees, I prefer to rewrite the model as
$$y=a+b sin left(cfrac{pi x}{180}right)+d cos left(cfrac{pi x}{180}right)$$This problem is nonlinear (because of the $c$ parameter). If $c$ was known, it would just be a multilinear regression easy to do.



So, for the time being, give $c$ a value; for this value, compute $a,b,d$ and the sum of squares $SSQ$ (all of that can easily be done using Excel). Now, plot $SSQ$ a a funtion of $c$ and locate its minimum. When done, you have all the estimates required for the nonlinear regression for a fine tuning of the parameters.



Using the data you posted, $c=4.5$ seems to be a good candidate. Using this value and the corresponding $a,b,d$ obtained by the preliminary multilinear regression, a nonlinear regression will give
$$a=34.442 qquad b=6.987 qquad c=4.526 qquad d=8.002$$ For these values, the table below reproduces your data and the predicted values from the regression
$$left(
begin{array}{ccc}
x & y & text{predicted} \
90 & 48.88 & 45.003 \
68 & 33.98 & 33.820 \
41.2 & 26.58 & 25.704 \
33.2 & 30.72 & 30.960 \
20.4 & 38.59 & 41.098 \
0 & 40.28 & 42.445
end{array}
right)$$
which is not fantastic even if $R^2=0.9968$ seems to be be quite good.



Now, taking the derivative of $y$ with respect to $x$
$$y'=frac{pi c}{180} left(b cos left(cfrac{pi x}{180}right)-d sin
left(cfrac{pi x}{180}right)right) $$
and solving the trigonometric equation
$$b cos left(cfrac{pi x}{180}right)-d sin
left(cfrac{pi x}{180}right)=0 implies x=frac{180 }{pi c}tan ^{-1}left(frac{b}{d}right)$$
gives $y_{max}=45.066$ at $x=88.63 ^{circ}$ and $y_{min}=23.819$ at $x=48.86 ^{circ}$.






share|cite|improve this answer





















  • OMG ur a legend! However im confused on how and why you split up the original equation to y=a+bsin(cx)+dcos(cx) and how you found the a b c and d values. is it possible for you to explain more indepth, and how you did it on excel?
    – Jugal Bilimoria
    Nov 24 '18 at 17:49










  • @JugalBilimoria. Start with the initial model and expand $sin(Cx+D)$. Then, linear regressions for given $c$. Polish the whole using nonlinear regression or optimization with Excel solver.
    – Claude Leibovici
    Nov 25 '18 at 2:25










  • I also need to shot step by step, and annotate how and why for the project. So is it possible for you to explain it to me as I am still confused about your method(e.g. getting c as 4.5, then computing abd on excel use. Sum of squares). Thanks for everything in advance!
    – Jugal Bilimoria
    Nov 25 '18 at 14:35












  • @JugalBilimoria. Do you know about linear regression or not yet ?
    – Claude Leibovici
    Nov 25 '18 at 15:02












  • Yes i do, along with quadratic, exponential, sine, cos, etc...
    – Jugal Bilimoria
    Nov 25 '18 at 16:58
















1














Given $n$ data points $(x_i,y_i)$ for a sine wave means fitting the model
$$y=A+Bsin(Cx+D)$$ and it is a quite difficelt task (google for fitting a sine wave).



From a practical point of view, it is easier to expand the sine term and consider instead
$$y=a+bsin(cx)+dcos(cx)$$ Taking into account the fact that your $x_i$'s are given in degrees, I prefer to rewrite the model as
$$y=a+b sin left(cfrac{pi x}{180}right)+d cos left(cfrac{pi x}{180}right)$$This problem is nonlinear (because of the $c$ parameter). If $c$ was known, it would just be a multilinear regression easy to do.



So, for the time being, give $c$ a value; for this value, compute $a,b,d$ and the sum of squares $SSQ$ (all of that can easily be done using Excel). Now, plot $SSQ$ a a funtion of $c$ and locate its minimum. When done, you have all the estimates required for the nonlinear regression for a fine tuning of the parameters.



Using the data you posted, $c=4.5$ seems to be a good candidate. Using this value and the corresponding $a,b,d$ obtained by the preliminary multilinear regression, a nonlinear regression will give
$$a=34.442 qquad b=6.987 qquad c=4.526 qquad d=8.002$$ For these values, the table below reproduces your data and the predicted values from the regression
$$left(
begin{array}{ccc}
x & y & text{predicted} \
90 & 48.88 & 45.003 \
68 & 33.98 & 33.820 \
41.2 & 26.58 & 25.704 \
33.2 & 30.72 & 30.960 \
20.4 & 38.59 & 41.098 \
0 & 40.28 & 42.445
end{array}
right)$$
which is not fantastic even if $R^2=0.9968$ seems to be be quite good.



Now, taking the derivative of $y$ with respect to $x$
$$y'=frac{pi c}{180} left(b cos left(cfrac{pi x}{180}right)-d sin
left(cfrac{pi x}{180}right)right) $$
and solving the trigonometric equation
$$b cos left(cfrac{pi x}{180}right)-d sin
left(cfrac{pi x}{180}right)=0 implies x=frac{180 }{pi c}tan ^{-1}left(frac{b}{d}right)$$
gives $y_{max}=45.066$ at $x=88.63 ^{circ}$ and $y_{min}=23.819$ at $x=48.86 ^{circ}$.






share|cite|improve this answer





















  • OMG ur a legend! However im confused on how and why you split up the original equation to y=a+bsin(cx)+dcos(cx) and how you found the a b c and d values. is it possible for you to explain more indepth, and how you did it on excel?
    – Jugal Bilimoria
    Nov 24 '18 at 17:49










  • @JugalBilimoria. Start with the initial model and expand $sin(Cx+D)$. Then, linear regressions for given $c$. Polish the whole using nonlinear regression or optimization with Excel solver.
    – Claude Leibovici
    Nov 25 '18 at 2:25










  • I also need to shot step by step, and annotate how and why for the project. So is it possible for you to explain it to me as I am still confused about your method(e.g. getting c as 4.5, then computing abd on excel use. Sum of squares). Thanks for everything in advance!
    – Jugal Bilimoria
    Nov 25 '18 at 14:35












  • @JugalBilimoria. Do you know about linear regression or not yet ?
    – Claude Leibovici
    Nov 25 '18 at 15:02












  • Yes i do, along with quadratic, exponential, sine, cos, etc...
    – Jugal Bilimoria
    Nov 25 '18 at 16:58














1












1








1






Given $n$ data points $(x_i,y_i)$ for a sine wave means fitting the model
$$y=A+Bsin(Cx+D)$$ and it is a quite difficelt task (google for fitting a sine wave).



From a practical point of view, it is easier to expand the sine term and consider instead
$$y=a+bsin(cx)+dcos(cx)$$ Taking into account the fact that your $x_i$'s are given in degrees, I prefer to rewrite the model as
$$y=a+b sin left(cfrac{pi x}{180}right)+d cos left(cfrac{pi x}{180}right)$$This problem is nonlinear (because of the $c$ parameter). If $c$ was known, it would just be a multilinear regression easy to do.



So, for the time being, give $c$ a value; for this value, compute $a,b,d$ and the sum of squares $SSQ$ (all of that can easily be done using Excel). Now, plot $SSQ$ a a funtion of $c$ and locate its minimum. When done, you have all the estimates required for the nonlinear regression for a fine tuning of the parameters.



Using the data you posted, $c=4.5$ seems to be a good candidate. Using this value and the corresponding $a,b,d$ obtained by the preliminary multilinear regression, a nonlinear regression will give
$$a=34.442 qquad b=6.987 qquad c=4.526 qquad d=8.002$$ For these values, the table below reproduces your data and the predicted values from the regression
$$left(
begin{array}{ccc}
x & y & text{predicted} \
90 & 48.88 & 45.003 \
68 & 33.98 & 33.820 \
41.2 & 26.58 & 25.704 \
33.2 & 30.72 & 30.960 \
20.4 & 38.59 & 41.098 \
0 & 40.28 & 42.445
end{array}
right)$$
which is not fantastic even if $R^2=0.9968$ seems to be be quite good.



Now, taking the derivative of $y$ with respect to $x$
$$y'=frac{pi c}{180} left(b cos left(cfrac{pi x}{180}right)-d sin
left(cfrac{pi x}{180}right)right) $$
and solving the trigonometric equation
$$b cos left(cfrac{pi x}{180}right)-d sin
left(cfrac{pi x}{180}right)=0 implies x=frac{180 }{pi c}tan ^{-1}left(frac{b}{d}right)$$
gives $y_{max}=45.066$ at $x=88.63 ^{circ}$ and $y_{min}=23.819$ at $x=48.86 ^{circ}$.






share|cite|improve this answer












Given $n$ data points $(x_i,y_i)$ for a sine wave means fitting the model
$$y=A+Bsin(Cx+D)$$ and it is a quite difficelt task (google for fitting a sine wave).



From a practical point of view, it is easier to expand the sine term and consider instead
$$y=a+bsin(cx)+dcos(cx)$$ Taking into account the fact that your $x_i$'s are given in degrees, I prefer to rewrite the model as
$$y=a+b sin left(cfrac{pi x}{180}right)+d cos left(cfrac{pi x}{180}right)$$This problem is nonlinear (because of the $c$ parameter). If $c$ was known, it would just be a multilinear regression easy to do.



So, for the time being, give $c$ a value; for this value, compute $a,b,d$ and the sum of squares $SSQ$ (all of that can easily be done using Excel). Now, plot $SSQ$ a a funtion of $c$ and locate its minimum. When done, you have all the estimates required for the nonlinear regression for a fine tuning of the parameters.



Using the data you posted, $c=4.5$ seems to be a good candidate. Using this value and the corresponding $a,b,d$ obtained by the preliminary multilinear regression, a nonlinear regression will give
$$a=34.442 qquad b=6.987 qquad c=4.526 qquad d=8.002$$ For these values, the table below reproduces your data and the predicted values from the regression
$$left(
begin{array}{ccc}
x & y & text{predicted} \
90 & 48.88 & 45.003 \
68 & 33.98 & 33.820 \
41.2 & 26.58 & 25.704 \
33.2 & 30.72 & 30.960 \
20.4 & 38.59 & 41.098 \
0 & 40.28 & 42.445
end{array}
right)$$
which is not fantastic even if $R^2=0.9968$ seems to be be quite good.



Now, taking the derivative of $y$ with respect to $x$
$$y'=frac{pi c}{180} left(b cos left(cfrac{pi x}{180}right)-d sin
left(cfrac{pi x}{180}right)right) $$
and solving the trigonometric equation
$$b cos left(cfrac{pi x}{180}right)-d sin
left(cfrac{pi x}{180}right)=0 implies x=frac{180 }{pi c}tan ^{-1}left(frac{b}{d}right)$$
gives $y_{max}=45.066$ at $x=88.63 ^{circ}$ and $y_{min}=23.819$ at $x=48.86 ^{circ}$.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Nov 24 '18 at 4:38









Claude LeiboviciClaude Leibovici

119k1157132




119k1157132












  • OMG ur a legend! However im confused on how and why you split up the original equation to y=a+bsin(cx)+dcos(cx) and how you found the a b c and d values. is it possible for you to explain more indepth, and how you did it on excel?
    – Jugal Bilimoria
    Nov 24 '18 at 17:49










  • @JugalBilimoria. Start with the initial model and expand $sin(Cx+D)$. Then, linear regressions for given $c$. Polish the whole using nonlinear regression or optimization with Excel solver.
    – Claude Leibovici
    Nov 25 '18 at 2:25










  • I also need to shot step by step, and annotate how and why for the project. So is it possible for you to explain it to me as I am still confused about your method(e.g. getting c as 4.5, then computing abd on excel use. Sum of squares). Thanks for everything in advance!
    – Jugal Bilimoria
    Nov 25 '18 at 14:35












  • @JugalBilimoria. Do you know about linear regression or not yet ?
    – Claude Leibovici
    Nov 25 '18 at 15:02












  • Yes i do, along with quadratic, exponential, sine, cos, etc...
    – Jugal Bilimoria
    Nov 25 '18 at 16:58


















  • OMG ur a legend! However im confused on how and why you split up the original equation to y=a+bsin(cx)+dcos(cx) and how you found the a b c and d values. is it possible for you to explain more indepth, and how you did it on excel?
    – Jugal Bilimoria
    Nov 24 '18 at 17:49










  • @JugalBilimoria. Start with the initial model and expand $sin(Cx+D)$. Then, linear regressions for given $c$. Polish the whole using nonlinear regression or optimization with Excel solver.
    – Claude Leibovici
    Nov 25 '18 at 2:25










  • I also need to shot step by step, and annotate how and why for the project. So is it possible for you to explain it to me as I am still confused about your method(e.g. getting c as 4.5, then computing abd on excel use. Sum of squares). Thanks for everything in advance!
    – Jugal Bilimoria
    Nov 25 '18 at 14:35












  • @JugalBilimoria. Do you know about linear regression or not yet ?
    – Claude Leibovici
    Nov 25 '18 at 15:02












  • Yes i do, along with quadratic, exponential, sine, cos, etc...
    – Jugal Bilimoria
    Nov 25 '18 at 16:58
















OMG ur a legend! However im confused on how and why you split up the original equation to y=a+bsin(cx)+dcos(cx) and how you found the a b c and d values. is it possible for you to explain more indepth, and how you did it on excel?
– Jugal Bilimoria
Nov 24 '18 at 17:49




OMG ur a legend! However im confused on how and why you split up the original equation to y=a+bsin(cx)+dcos(cx) and how you found the a b c and d values. is it possible for you to explain more indepth, and how you did it on excel?
– Jugal Bilimoria
Nov 24 '18 at 17:49












@JugalBilimoria. Start with the initial model and expand $sin(Cx+D)$. Then, linear regressions for given $c$. Polish the whole using nonlinear regression or optimization with Excel solver.
– Claude Leibovici
Nov 25 '18 at 2:25




@JugalBilimoria. Start with the initial model and expand $sin(Cx+D)$. Then, linear regressions for given $c$. Polish the whole using nonlinear regression or optimization with Excel solver.
– Claude Leibovici
Nov 25 '18 at 2:25












I also need to shot step by step, and annotate how and why for the project. So is it possible for you to explain it to me as I am still confused about your method(e.g. getting c as 4.5, then computing abd on excel use. Sum of squares). Thanks for everything in advance!
– Jugal Bilimoria
Nov 25 '18 at 14:35






I also need to shot step by step, and annotate how and why for the project. So is it possible for you to explain it to me as I am still confused about your method(e.g. getting c as 4.5, then computing abd on excel use. Sum of squares). Thanks for everything in advance!
– Jugal Bilimoria
Nov 25 '18 at 14:35














@JugalBilimoria. Do you know about linear regression or not yet ?
– Claude Leibovici
Nov 25 '18 at 15:02






@JugalBilimoria. Do you know about linear regression or not yet ?
– Claude Leibovici
Nov 25 '18 at 15:02














Yes i do, along with quadratic, exponential, sine, cos, etc...
– Jugal Bilimoria
Nov 25 '18 at 16:58




Yes i do, along with quadratic, exponential, sine, cos, etc...
– Jugal Bilimoria
Nov 25 '18 at 16:58


















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3008250%2ffind-sine-function-without-given-minimum%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

SQL update select statement

'app-layout' is not a known element: how to share Component with different Modules