Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/8/2004(UTC) Posts: 2,266
Was thanked: 1 time(s) in 1 post(s)
|
To make it Dema smoothed we could try something like :
N1:=8;
TN8:=Mov(C,N1,E);
S8:=((n1-1)/2)*
C+((n1-3)/2)*
Ref(C,-1)+((n1-5)/2)*
Ref(C,-2)+((n1-7)/2)*
Ref(C,-3)+((n1-9)/2)*
Ref(C,-4)+((n1-11)/2)*
Ref(C,-5)+((n1-13)/2)*
Ref(C,-6)+((n1-15)/2)*
Ref(C,-7);
MMA8:=TN8+(6*S8)/((n1+1)*n1);
N2:=17;
TN17:=Mov(C,N2,E);
S17:=((n2-1)/2)*
C+((n2-3)/2)*
Ref(C,-1)+((n2-5)/2)*
Ref(C,-2)+((n2-7)/2)*
Ref(C,-3)+((n2-9)/2)*
Ref(C,-4)+((n2-11)/2)*
Ref(C,-5)+((n2-13)/2)*
Ref(C,-6)+((n2-15)/2)*
Ref(C,-7)+((n2-17)/2)*
Ref(C,-8)+((n2-19)/2)*
Ref(C,-9)+((n2-21)/2)*
Ref(C,-10)+((n2-23)/2)*
Ref(C,-11)+((n2-25)/2)*
Ref(C,-12)+((n2-27)/2)*
Ref(C,-13)+((n2-29)/2)*
Ref(C,-14)+((n2-31)/2)*
Ref(C,-15)+((n2-33)/2)*
Ref(C,-16);
MMA17:=TN17+(6*S17)/((n2+1)*n2);
VALUE:=MMA8-MMA17 ;
DEMA(VALUE,21)
|