![Daniel Daniel](/forum/images/noavatar.gif) Rank: Newbie
Groups: Registered
Joined: 02/10/2009(UTC) Posts: 2 Location: New Zealand
|
Hi Guys, This is some great software you have here and I commend you for the great effort that has gone into it! I have a question about how to address the answers from the following example: ![](http://www.iforce.co.nz/i/z5wa0dud.jpg) I tried addressing it as a vector, but it is a scaler so this will not work. Thanks in advance, Daniel
|
|
|
|
![omorr omorr](/forum/resource.ashx?u=274) ![](/forum/Images/Ranks/Administration.png) Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 ![Man Man](/forum/Themes/yafvision/male.gif) ![Serbia Serbia](/forum/Content/images/flags/SP.png) Was thanked: 318 time(s) in 268 post(s)
|
Hello Daniel Daniel wrote:I have a question about how to address the answers from the following example: ![](http://www.iforce.co.nz/i/z5wa0dud.jpg) I tried addressing it as a vector, but it is a scaler so this will not work The Equation systems template should, actually, give a vector. Try this: x←10±5x=sys(15;5;2;1)el(x;1;1)=15el(x;2;1)=5As this is a vector you can omit the second index BTW, it seems there are some problems with Equation system. Please look at the http://en.smath.info/forum/default.aspx?g=posts&t=222Regards, Radovan Edited by user 02 October 2009 13:17:47(UTC)
| Reason: Not specified |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
![Daniel Daniel](/forum/images/noavatar.gif) Rank: Newbie
Groups: Registered
Joined: 02/10/2009(UTC) Posts: 2 Location: New Zealand
|
Ahh I see, I was trying to access this using the matrix minor function thinking it was the same as what the key "[" provides (which I only just figured out too!). I could not find a reference to access matrix elements in your SMath tutorial, but did find it here: http://en.smath.info/for...t.aspx?g=posts&t=138
|
|
|
|
![omorr omorr](/forum/resource.ashx?u=274) ![](/forum/Images/Ranks/Administration.png) Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 ![Man Man](/forum/Themes/yafvision/male.gif) ![Serbia Serbia](/forum/Content/images/flags/SP.png) Was thanked: 318 time(s) in 268 post(s)
|
|
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
![Andrey Ivashov Andrey Ivashov](/forum/resource.ashx?u=4) ![](/forum/Images/Ranks/Administration.png) Rank: Administration Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member Joined: 11/07/2008(UTC) Posts: 1,616 ![Man Man](/forum/Themes/yafvision/male.gif) ![Russian Federation Russian Federation](/forum/Content/images/flags/RU.png) Was thanked: 1978 time(s) in 666 post(s)
|
Everything is true. Thank you Radovan
|
|
|
|
![omorr omorr](/forum/resource.ashx?u=274) ![](/forum/Images/Ranks/Administration.png) Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 ![Man Man](/forum/Themes/yafvision/male.gif) ![Serbia Serbia](/forum/Content/images/flags/SP.png) Was thanked: 318 time(s) in 268 post(s)
|
You are welcome, and welcome back |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
![ElSid ElSid](/forum/images/noavatar.gif) ![](/forum/Images/Ranks/Advanced-Member.png) Rank: Advanced Member Groups: Registered
Joined: 05/03/2009(UTC) Posts: 433 ![Man Man](/forum/Themes/yafvision/male.gif) ![United States United States](/forum/Content/images/flags/US.png) Location: USA Was thanked: 17 time(s) in 15 post(s)
|
Nice to see vectors with single subscripts. Was a literal subscript (in Mathcad its the {.}) implemented? Also, do all matrix/array/vectors start at 1? In Mathcad the Origin defaults to "0". Either way is fine.
|
|
|
|
![omorr omorr](/forum/resource.ashx?u=274) ![](/forum/Images/Ranks/Administration.png) Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 ![Man Man](/forum/Themes/yafvision/male.gif) ![Serbia Serbia](/forum/Content/images/flags/SP.png) Was thanked: 318 time(s) in 268 post(s)
|
Hello ElSid ElSid wrote:Nice to see vectors with single subscripts. Was a literal subscript (in Mathcad its the {.}) implemented? Also, do all matrix/array/vectors start at 1? In Mathcad the Origin defaults to "0". Either way is fine. As I remember, few posts mentioned literal subscript. You are right, we (Mathcad users) are used to literal index notation. I think this is not implemented. The final decission is on SMath creators. Also, we are used to ORIGIN in Mathcad. As I remember, ORIGIN made problems in earlier version of Mathcad. I agree with you, starting index at 0 or 1 makes no difference, as far as I am concerned. In my experience, the only use of ORIGIN was to set it up to 0 or 1. I do not remember that I set it up to some other values. Regards, Radovan Edited by user 06 October 2009 02:24:16(UTC)
| Reason: Not specified |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
![ElSid ElSid](/forum/images/noavatar.gif) ![](/forum/Images/Ranks/Advanced-Member.png) Rank: Advanced Member Groups: Registered
Joined: 05/03/2009(UTC) Posts: 433 ![Man Man](/forum/Themes/yafvision/male.gif) ![United States United States](/forum/Content/images/flags/US.png) Location: USA Was thanked: 17 time(s) in 15 post(s)
|
omorr wrote:Hello ElSid Also, we are used to ORIGIN in Mathcad. As I remember, ORIGIN made problems in earlier version of Mathcad. I agree with you, starting index at 0 or 1 makes no difference, as far as I am concerned. In my experience, the only use of ORIGIN was to set it up to 0 or 1. I do not remember that I set it up to some other values.
Regards, Radovan
Just curious to know which way the developer goes. Mathcad defaults to ORIGIN=0. For most people, ORIGIN=1 is initially easier, although thinking of an initial state (velocity sub initial) is typically written with 0 ![Good](/forum/Images/Emoticons/sm_smile_good.gif)
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.