Program help needed
|
11-22-2014, 09:02 PM
(This post was last modified: 11-22-2014 09:06 PM by Han.)
Post: #6
|
|||
|
|||
RE: Program help needed
(11-22-2014 08:34 PM)DrD Wrote: Before asking for help, I tried encapsulating the variables in 'single' quotes, without success. It looks like in your second example, you fed mat2list() a vector consisting of only one element (so the result is also a 1-element list). In algebraic entry, you are require to use a comma to separate entries in a vector [a,b,c]. So [a b c] would cause the calculator to complain. Likewise for textbook mode, except pressing comma places a space between entries. If, on the other hand, you manually type in a space, you will generally receive a syntax error. However, if you type something like: [-3*y^3+2*x (space) -9*x*y^2 ] and the minus sign in front of the 9 is the subtraction symbol, then you haven't created 2 entries. What looks like a 2-entry vector is actually a single entry -- the CAS gracefully handles spaces inside an algebraic expression as if they aren't there. You can test this by using the size command. Graph 3D | QPI | SolveSys |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Program help needed - DrD - 11-22-2014, 01:36 PM
RE: Program help needed - Han - 11-22-2014, 01:44 PM
RE: Program help needed - DrD - 11-22-2014, 03:53 PM
RE: Program help needed - Han - 11-22-2014, 06:04 PM
RE: Program help needed - DrD - 11-22-2014, 08:34 PM
RE: Program help needed - Han - 11-22-2014 09:02 PM
RE: Program help needed - DrD - 11-22-2014, 11:29 PM
RE: Program help needed - Han - 11-23-2014, 12:50 AM
RE: Program help needed - DrD - 11-23-2014, 03:25 PM
RE: Program help needed - Han - 11-23-2014, 05:32 PM
RE: Program help needed - DrD - 11-24-2014, 12:07 PM
RE: Program help needed - Han - 11-24-2014, 01:43 PM
|
User(s) browsing this thread: 5 Guest(s)