1 страниц (7 вхождений)
Integration and use of matrices - Сообщения
#1 Опубликовано: 14 лет назад
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 Опубликовано: 14 лет назад
325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator
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 Опубликовано: 14 лет назад
Thanks Radovan, that really does help.
#4 Опубликовано: 14 лет назад
How did you do a double subscript el(z.eg.i) in the "Example corrected" worksheet above? Thanks.
#5 Опубликовано: 14 лет назад
325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator
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 Опубликовано: 14 лет назад
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 Опубликовано: 14 лет назад
325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator
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 страниц (7 вхождений)
-
Новые сообщения
-
Нет новых сообщений