Engineering-oriented feature requests

Engineering-oriented feature requests - Сообщения

#1 Опубликовано: 12.05.2010 04:19:15
dg1727

dg1727

0 сообщений из 18 понравились пользователям.

Группа: User

Hi,

Many thanks to Andrey and the team for SMath Studio. It is an impressive program. It is rare, and valuable, among free (gratis) math software in having a user-friendly paper-oriented interface like Mathcad. It also has remarkably few bugs.

I work as an engineer and would like to use SMath Studio more in my job, but I would like to see the following features implemented first:

1. I need to combine numerical and symbolic math in the same document, so I look forward to the symbolic solve() mentioned in the following forum topic:
http://en.smath.info/forum/default.aspx?g=posts&t=377

2. I would like to show multiple scenarios in the same document. The equations are the same, but the input variables are different.

Example:
y:=x^2 x:=1 y=1[/code] (where the "=" is numerical evaluation)
After that, I would like to write just:
[code]x:=2 y=4
But instead I have to write (copy-and-paste) the equation for "y" again:
y:=x^2 x:=2 y=4
If there are several equations for each scenario, rewriting the equations can take up a lot of space on the page.
I would like to put comments between the math statements (e.g., to label the conditions of each scenario), so I think that using matrices to combine several cases into one equation would be too compact.

The requested feature would change the operation described in the "common mistake" picture on https://smath.com/wiki/%E2%80%8EUser%20functions.ashx

I believe Mathcad works in the requested way.

3. I would like to be able to share files more easily with other people who don't use SMath Studio. It would be great if the following improvements could be made to .XMCD import and export:

a. Graphs (starting with simple 2-D graphs)

b. Automatic word-wrap in text boxes (this would also affect the GUI for entering text)

Thanks in advance for considering these for the future.
#2 Опубликовано: 12.05.2010 14:59:56
maweilian

maweilian

5 сообщений из 103 понравились пользователям.

Группа: User

Wrote

2. I would like to show multiple scenarios in the same document. The equations are the same, but the input variables are different.



For your request number 2, if I understand you correctly, I think that Smath already functions in the manner you desire. See screenshot below,

Will Massie Mechanical Engineer Oregon, USA
#3 Опубликовано: 12.05.2010 18:32:00
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: Moderator

Hello dg1727,

The symbolic engine of SMath is quite useful and interesting. Just play with it a bit.
For instance, if you insert something like this:
[MATH]a←b+c[/MATH]
Symbolic equal to ( -> )will give (the same you will see when hoovering the mouse over the previous assignment)
[MATH]a—b+c[/MATH]
Numerical equal to ( = ) will give an error, because the expression on the right hand side can not be defined numerically (variables b and c do not have numerical values). Now, assign the b and c numerical values:
[MATH]b←1/2[/MATH] [MATH]c←2[/MATH]
See below what these assignments will make with variable a
Symbolically:
[MATH]a—5/2[/MATH]
Numerically:
[MATH]a=2,5[/MATH]
Now change b and c
[MATH]b←7[/MATH] [MATH]c←5,8[/MATH]
And see the value of a
[MATH]a—64/5[/MATH]
[MATH]a=12,8[/MATH]

After all, if you are still in doubt about symbolic or numeric variables, you can also type its name and Dynamic assistance will also show its value:


You can use your imagination and make more complex structures, vectors, matrices, use loops, units etc.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#4 Опубликовано: 12.05.2010 19:41:51
maweilian

maweilian

5 сообщений из 103 понравились пользователям.

Группа: User

Wrote


The requested feature would change the operation described in the "common mistake" picture on https://smath.com/wiki/%E2%80%8EUser%20functions.ashx



dg1727,

The common mistake in the wiki article (User_functions) you referred to is avoided as long as the function is defined first. The variables should be assigned to their desired values only after the function is defined. It seems to me that this behavior is logical and predictable. Smath (like Mathcad) calculates from the top-left corner towards the bottom-right corner of the worksheet; therefore, if a variable is defined and then a function is defined, Smath defines the new function using the previously assigned VALUE of the variable. Changing the variable lower on the worksheet cannot redefine the function because the function was defined higher up on the worksheet. Therefore, if the user wants to be able to edit variable values used within a function, the function must be defined first using previously UNDEFINED variables and then the variables can be defined (and redefined as many times as desired) lower down on the worksheet.

Hopefully this makes sense. I invite others to clarify and/or correct this if I have it wrong.
Will Massie Mechanical Engineer Oregon, USA
#5 Опубликовано: 12.05.2010 20:16:20
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: Moderator

Yes Will, you are quite right.

This was a very clear explanation.

It seems this should be added to the function hints on the Wiki in order to clarify it.

Could you please put the entire text from your previous post on the Wiki, if you do not mind. Maybe to include some pictures with simple examples.

Regards,
Radovan

EDIT: It is now on the Wiki. Thank you Will
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений