From theory to practice - page 1256

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
How's it going? Has anyone built a parabola?
I haven't built it yet, I'm reading, figuring it out.
How's it going? Has anyone built a parabola?
Let Alexander_K know when you're done.
This code is neither complicated nor simple. But there is nothing particularly complicated. So, it will work.
You can do it like this;
Public Function nv(n, t As Integer) As Single
nv = 0 ' Extrapolation of value at the point t<0,t>n by values at the points 0...n.
Dim j, k As Integer
Dim l As Single
For j = 0 To n
l = 1
For k = 0 To n
If k <> j Then l = l * (t - k) / (j - k)
Next k
nv = nv + l * v(j)
Next j
End Function
Let Alexander_K know when you've leaked.
Uh-.... Why?!
Pardon me, but this thread was created to help everyone the suffering, not me specifically. That's the concept that should be adhered to here.
You can do it like this;
Public Function nv(n, t As Integer) As Single
nv = 0 ' Extrapolate value at t<0,t>n by values at 0...n
...
t<0 - I don't get it... Is it data in the v() array, "values at points"? I don't understand much in the morning, variables make me dizzy, but I wanted to understand and try. Would you explain in more details what is what for and why it's being done here?