CAS programs, order of LOCAL variables?
|
12-11-2016, 07:00 PM
Post: #7
|
|||
|
|||
RE: CAS programs, order of LOCAL variables?
If you declare local variables and assign them, then priorities for assignation apply, and local a:=1,j is like local a:=(1,j). You must add parenthesis: local (a:=1),j; or enter 2 local statements or assign them after declaration.
For sums, there is no table lookup. The current version of Xcas returns ln(2) for sum( ((-1)^(j+1))/j,j,1,inf), therefore it should work in a future release on the Prime. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
CAS programs, order of LOCAL variables? - Helge Gabert - 12-10-2016, 09:13 PM
RE: CAS programs, order of LOCAL variables? - DrD - 12-10-2016, 09:20 PM
RE: CAS programs, order of LOCAL variables? - Arno K - 12-10-2016, 09:59 PM
RE: CAS programs, order of LOCAL variables? - Han - 12-10-2016, 09:47 PM
RE: CAS programs, order of LOCAL variables? - Helge Gabert - 12-11-2016, 12:23 AM
RE: CAS programs, order of LOCAL variables? - Helge Gabert - 12-11-2016, 02:54 AM
RE: CAS programs, order of LOCAL variables? - parisse - 12-11-2016 07:00 PM
RE: CAS programs, order of LOCAL variables? - Helge Gabert - 12-11-2016, 10:41 PM
|
User(s) browsing this thread: 1 Guest(s)