next up previous contents index
suivant: Product of elements of monter: Product : product mul précédent: Product : product mul   Table des matières   Index


Product of values of an expression : product

product(expr,var,a,b,p) or mul(expr,var,a,b,p) returns the product of values of an expression ex when the variable var goes from a to b with a step p (by default p=1) : this syntax is for compatiblity with Maple.
Input :
product(x^2+1,x,1,4)
Or:
mul(x^2+1,x,1,4)
Output :
1700
Indeed 2*5*10*17 = 1700
Input :
product(x^2+1,x,1,5,2)
Or:
mul(x^2+1,x,1,5,2)
Output :
520
Indeed 2*10*26 = 520



giac documentation written by Renée De Graeve and Bernard Parisse