I am unable to figure out where exactly am i getting the error cuz i crosschecked the formula it correct.
Please click my name and message your notebook an an attachment.
Or you could also take another look at your code. The whole point of \epsilon in this calculation is to avoid â€śdivide by zeroâ€ť errors. So it looks like perhaps you have problems with â€śorder of operationsâ€ť that causes the \epsilon value not to perform its intended function. Have a careful look at your code and compare to the formula. Notice that \epsilon is in the denominator, but is not under the square root.
Thanks for the notebook.
Here are some hints:

v_corrected
is incorrect. The denominator is 1  {\beta_1}^t. Do take evaluation order into consideration when not using brackets.  Following a similar line of reasoning,
s_corrected
needs rework.
Hope this helps.
1 Like