1 Pages (5 items)
special symbolic display - How can I display the variables symbolically? - Messages
#1 Posted: 10/9/2014 2:02:27 AM
#2 Posted: 10/9/2014 2:36:02 AM
#3 Posted: 10/9/2014 3:03:46 AM
Thank you, while this works in this short example it is not feasible in real world calculations:
Are there other means to optimize symbolically without putting figures?

- Engineering calculations usually start with the inputs (constraints), output is at the end. In an extended calculation that is several pages long you can't define all the calculations at the beginning and then just fill the variables.
- This example does not work if you have any loops or if statements in between.
Are there other means to optimize symbolically without putting figures?
#4 Posted: 10/9/2014 4:50:12 AM
Wrote
Are there other means to optimize symbolically without putting figures?
For the given problem a global switch would be handy, which could disable all assignments with the right hand side being numerically evaluable.
You can fake this behaviour by using a custom conditional definition statement. You also might need a modified display function, because for numeric results symbolic optimization just gives ugly formatting.
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#5 Posted: 10/9/2014 5:44:45 AM
Wrote
You can fake this behaviour by using a custom conditional definition statement.
This is a step towards the right direction. Again, however :-)
- Your file does not work for me. If I choose sym, I get "a not defined" in the last line P:= I am using the portable version and everything seems to be up to date.
- The usage of a function drastically decreases the readibility of the sheet.
- It is not efficient. I have to put every variable definition in the ugly function just to display one line symbolically.
- You probably didn't mean g_e but g :d
I do not think a global switch is the thing an average engineering user wants. The purpose is to show the dependibility. So only for a selected number of results I want the numerical result and the symbolical result just close to each other. If you define 20 variables and make long calculations you would like to know which variables affect the numerical result and which ones don't.
1 Pages (5 items)
-
New Posts
-
No New Posts