Post Reply 
sum and product inside a program
03-29-2016, 11:57 PM
Post: #2
RE: sum and product inside a program
I could never get sum() to work right inside a program unless I made it a CAS program. This seems to do what you need:

#cas
POLY(n,z):=
BEGIN
LOCAL k;
sum(z^k/k^n,k,1,3,1);
END;
#end

-road
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: sum and product inside a program - roadrunner - 03-29-2016 11:57 PM



User(s) browsing this thread: 1 Guest(s)