1 Pages (7 items)
Integration and use of matrices - Messages
#1 Posted: 10/28/2011 10:50:35 PM
Hello,
I am starting to get used to using SMath Studio, however, I am having some problems, I have uploaded an SMath Studio file which can be downloaded at the following link which will show the two problems I am having. Would really appreciate some input on this please. Thanks.
https://files.warwick.ac.uk/muratali/files/Example.sm
Thanks
I am starting to get used to using SMath Studio, however, I am having some problems, I have uploaded an SMath Studio file which can be downloaded at the following link which will show the two problems I am having. Would really appreciate some input on this please. Thanks.
https://files.warwick.ac.uk/muratali/files/Example.sm
Thanks
#2 Posted: 10/29/2011 1:25:17 AM
Hello,
Pay attention when using dot in the variable name ( z and z. are not the same - unfortunately, a common mistake). The nice thing about SMath is that when you click on the variable in a math region, then all the instances of the same variables will become gray - just use this please in order to see the mistakes of the kind like invisible dot at the end of a variable.
Please find the answer in the corrected example - Example corrected
Regards,
Radovan
Pay attention when using dot in the variable name ( z and z. are not the same - unfortunately, a common mistake). The nice thing about SMath is that when you click on the variable in a math region, then all the instances of the same variables will become gray - just use this please in order to see the mistakes of the kind like invisible dot at the end of a variable.
Please find the answer in the corrected example - Example corrected
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Posted: 10/29/2011 5:49:35 PM
Thanks Radovan, that really does help.
#4 Posted: 11/5/2011 4:40:06 AM
How did you do a double subscript el(z.eg.i) in the "Example corrected" worksheet above? Thanks.
#5 Posted: 11/5/2011 8:04:51 AM
Hello,
It is the same like in Mathcad. The dot in the variable name will not be visible - but it will make so called "literate subscript". It is the part of a variable name. That is different than the el() function which gives the array subscript (row,collumn position in a Matrix). Therefore the variable you mentioned
[MATH=eng]el(z.eg,i)[/MATH]
has been obtained by typing z.eg[i or el(z.eg,i)
Regards,
Radovan
WroteHow did you do a double subscript el(z.eg.i) in the "Example corrected" worksheet above?
It is the same like in Mathcad. The dot in the variable name will not be visible - but it will make so called "literate subscript". It is the part of a variable name. That is different than the el() function which gives the array subscript (row,collumn position in a Matrix). Therefore the variable you mentioned
[MATH=eng]el(z.eg,i)[/MATH]
has been obtained by typing z.eg[i or el(z.eg,i)
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#6 Posted: 11/5/2011 11:21:04 AM
Thanks,
Really sorry, I seem to be having two problems, not sure how I can get round them in the most simple way using SMath. I have uploaded the SMath studio file at the following link
https://files.warwick.ac.uk/muratali/files/Queries_SMath_Studio.sm
Really sorry, I seem to be having two problems, not sure how I can get round them in the most simple way using SMath. I have uploaded the SMath studio file at the following link
https://files.warwick.ac.uk/muratali/files/Queries_SMath_Studio.sm
#7 Posted: 11/5/2011 12:42:25 PM
Hello,
Here is the corrected file Queries corr.
My input is in blue color.
I hope this is what you need.
Regards,
Radovan
Here is the corrected file Queries corr.
My input is in blue color.
I hope this is what you need.
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1 Pages (7 items)
-
New Posts
-
No New Posts