Jean-Luc ARNAUD on Sun, 04 Dec 2022 02:04:01 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
I don't find the solution ...
|
- To: pari-dev@pari.math.u-bordeaux.fr
- Subject: I don't find the solution ...
- From: Jean-Luc ARNAUD <jl.arnaud@free.fr>
- Date: Sun, 4 Dec 2022 02:02:57 +0100
- Delivery-date: Sun, 04 Dec 2022 02:04:01 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1670115777; bh=9mz/M8SvqEY8FoRYZ0wPUTBCMpMtWQ9kANn0ZN8j1fE=; h=Date:To:Reply-To:From:Subject:From; b=lAI7OiilF95IQtJTGzQfTo65j7S87xWfghGx4EXSgCXzfgK/wzUSRQ9hRVCf/4kTr HsYtHxpkMc1Jjq1uDinZmI3SZQuxiAGt3bUfaYVI5TgdkmynRuIGn/QemXjgr2gETY T7Jln0hC0m9EMc2KnkJP7LGXFjOulAoHKTGVE939jY0/uVq3+rT74bN7nTDSwARJvi pZ5AWKa26sgY9yU1cLqNmxv9fgtDul6hha/Npmqorhgos4r8gyRwVvn3SwsFPcYUdb mZIvs/C+IqcSHwv+XvKknXY2YMIe2DCsxJEOspmr2Cg0ktDkfSi4T/A9SRd43j2TdW k56ZFqkpvkZIQ==
- Reply-to: jl.arnaud@free.fr
- User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.5.1
Hi,
Working with eval, I get the expected result with:
eval([ a=((6*k)!*(-1)^k)/(((3*k)!*(k!)^3)*640320^(3*k)), k*a ]);
But I don't achieve the same calculation with pareval.
I'm using ()-> for the first equation, but what should I use for the second?
I tried:
pareval([ (a)->((6*k)!*(-1)^k)/(((3*k)!*(k!)^3)*640320^(3*k)),
()->k*a ]));
or:
eval([ ()->a=((6*k)!*(-1)^k)/(((3*k)!*(k!)^3)*640320^(3*k)),
()->k*a ]));
The first pareval results in correct calculation of the first term, but
the second term is always 0.
Thanks for your help.
--
Jean-Luc Arnaud