Access "±" type outputs?

Access "±" type outputs? - Messages

#1 Posted: 10/1/2009 10:18:26 PM
Daniel

Daniel

0 likes in 2 posts.

Group: User

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:


I tried addressing it as a vector, but it is a scaler so this will not work.

Thanks in advance,
Daniel
#2 Posted: 10/2/2009 6:06:10 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello Daniel
Wrote

I have a question about how to address the answers from the following example:


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:
[MATH]x←10±5[/MATH]
[MATH]x=sys(15;5;2;1)[/MATH]
[MATH]el(x;1;1)=15[/MATH]
[MATH]el(x;2;1)=5[/MATH]
As 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=222
Regards,
Radovan

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Posted: 10/3/2009 10:07:25 PM
Daniel

Daniel

0 likes in 2 posts.

Group: User

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/forum/default.aspx?g=posts&t=138
#4 Posted: 10/4/2009 5:48:16 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello Daniel,
Wrote

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/forum/default.aspx?g=posts&t=138



Take a look at https://smath.com/wiki/Matrices.ashx or https://smath.com/wiki/Tutorials.ashx

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#5 Posted: 10/4/2009 9:04:18 PM
Andrey Ivashov

Andrey Ivashov

2270 likes in 3734 posts.

Group: Super Administrator

Everything is true. Thank you Radovan
#6 Posted: 10/5/2009 6:01:09 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

You are welcome, and welcome back
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#7 Posted: 10/5/2009 4:57:43 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: User

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.
#8 Posted: 10/5/2009 6:23:33 PM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello 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
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#9 Posted: 10/5/2009 11:01:48 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: User

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
  • New Posts New Posts
  • No New Posts No New Posts