You are on page 1of 1

macro

deret n x
mconstant a sum i jum n x
let a=1
let sum=0
do i=1:n
let sum=sum +((-1)**i)*(x**i)
enddo
let jum=a+sum
print jum
endmacro

You might also like