Post Reply 
CAS versus HOME confusion.
01-23-2014, 04:51 PM (This post was last modified: 01-23-2014 05:12 PM by Han.)
Post: #10
RE: CAS versus HOME confusion.
The CAS has its own makelist() -- in lowercase -- command. There _is_ a bug, here, though. The toolbox produces lowercase makelist() but the display shows MAKELIST() -- which is a different command. This should only happen when the CAS command is the same as the Home command internally (i.e. there is really only one command).

The arguments are essentially the same.

HOME VIEW: MAKELIST(formula, var, start, stop, step)
CAS VIEW: makelist(formula, start, stop, step)

However, the "formula" for the CAS command must be a mathematical function. For example, you can make a function f(x):=x^2. Then do makelist(f,1,2,.1). You can also alternately use the internal format of a function: makelist(x->x^2,1,2,.1).

Please note that a "list" in the CAS is not the same as a "list" in Home.

In general, the toolbox will convert all commands to lowercase if you are in CAS. What you need to watch out for is whether there are two commands of the same name: MAKELIST() for non-CAS, and makelist() for CAS. Another example is STRING() and string(), TYPE() and type().

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
CAS versus HOME confusion. - cdecastro - 01-23-2014, 10:48 AM
RE: CAS versus HOME confusion. - parisse - 01-23-2014, 01:30 PM
RE: CAS versus HOME confusion. - cdecastro - 01-23-2014, 02:24 PM
RE: CAS versus HOME confusion. - eried - 01-23-2014, 02:37 PM
RE: CAS versus HOME confusion. - cdecastro - 01-23-2014, 02:55 PM
RE: CAS versus HOME confusion. - eried - 01-23-2014, 03:42 PM
RE: CAS versus HOME confusion. - John P - 01-23-2014, 04:07 PM
RE: CAS versus HOME confusion. - cdecastro - 01-23-2014, 04:28 PM
RE: CAS versus HOME confusion. - Han - 01-23-2014 04:51 PM
RE: CAS versus HOME confusion. - Han - 01-24-2014, 07:08 PM
RE: CAS versus HOME confusion. - John P - 01-24-2014, 08:45 PM
RE: CAS versus HOME confusion. - Han - 01-24-2014, 10:22 PM
RE: CAS versus HOME confusion. - John P - 01-24-2014, 10:37 PM
RE: CAS versus HOME confusion. - hape - 02-13-2014, 09:12 AM
RE: CAS versus HOME confusion. - parisse - 02-14-2014, 08:21 AM



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