Solution for f(n) in recurrence equation

  • Context: Graduate 
  • Thread starter Thread starter Bruno Tolentino
  • Start date Start date
  • Tags Tags
    Recurrence
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 1K views
Bruno Tolentino
Messages
96
Reaction score
0
Exist solution for SAR(n+1) in this equation:

5d3067fc0eb6fe426183193d6e3c0cb5.png


https://en.wikipedia.org/wiki/Parabolic_SAR

?

I want to eliminate SAR(n), but I never saw this kind of equation before...
 
Physics news on Phys.org
If you substitute ##SAR_n## by ##SAR_n = SAR_{n-1}+\alpha (EP-SAR_{n-1})## and so on, you will get the following (where I substituted ##n+1## by ##n## and if I made no mistake):
$$SAR_{n}=(1-\alpha)^{n}SAR_0+(1-(1-\alpha)^{n})EP$$
 
  • Like
Likes   Reactions: Bruno Tolentino