Symbolic multiplication

35 views
Skip to first unread message

djpesic

unread,
Jun 21, 2017, 1:11:33 AM6/21/17
to yacas
Hi all,
Can yacas do symbolic mulitiplication, with symbolic bounds?
For example: 2*2*2*2....*2 = 2^n
1*2*3*4*...*(n-1)*n = n!.
I tried with Factorize() method, but it works only when both bounds are numeric.
What i try to do: Factorize(x,1,n,2) and Factorize(x,1,n,x)
Thanks,
Djordje

Grzegorz Mazur

unread,
Jun 22, 2017, 6:00:32 AM6/22/17
to yacas
Hi,

Do I understand correctly that what you ask is analogous to the Sum(var, start, end, expr) only with multiplication instead of addition? As an example:

In> Sum(k, 1, n, k)
Out> (n*(n+1))/2

If this is so, the bad news is that there's no such function. The good news is that implementing one shoudn't be a big issue. Please report the issue to the https://github.com/grzegorzmazur/yacas/issues so it doesn't slip through the cracks and I try to implement it soon.

Best,
Grzesiek

djpesic

unread,
Jun 23, 2017, 8:01:11 AM6/23/17
to yacas
Hi,
Yes, that is right. This function should work exactly the same like de sum, but instead the sum it should do multiplication. I will create the issue.
Regards,
Djordje
Reply all
Reply to author
Forward
0 new messages