Saturday, 11 February 2017

algebra precalculus - Combining sum of floor functions

Consider a simple sum of floor functions:
S=cxa+dxb




Can we combine these two terms into a single function? I am trying to simplify something like this to avoid successive divisions in a computer program.



My question, in general, is: can we combine the following k terms to avoid performing k divisions and multiplications of x:
S(x,k)=ki=0cixai

No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find limh0sin(ha)h without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...