1 Pages (3 items)
Vectorial Function - Messages
#1 Posted: 11/23/2022 1:05:46 PM
#2 Posted: 11/23/2022 2:21:48 PM
Symbolic calculations are SMath's weakness.
You will see huge fractions for floats when symbolic optimization used.
Even when maxima or maple used, decimals shall be shown as fractions.
You can avoid this using eval() and round() to a certain point.
But it will not give result as mathcad or your desire.
Regards

You will see huge fractions for floats when symbolic optimization used.
Even when maxima or maple used, decimals shall be shown as fractions.
You can avoid this using eval() and round() to a certain point.
But it will not give result as mathcad or your desire.
Regards
#3 Posted: 11/23/2022 6:17:09 PM
There are several options:

numsym.sm (8 KiB) downloaded 54 time(s).
- using custom units. Units are handled symbolically even in numeric evaluation by SMath. Disadvantage is that there may be clashes with pre-defined units. That is why I had to write 'u.0 instead of 'u.
- using Maxima as you did but with numeric evaluation in Maxima (using float()) and optimization=none in the context menu of the SMath region.
- if the symbolic part is just a factor, you can write it in the units field of the result and use numeric evaluation
numsym.sm (8 KiB) downloaded 54 time(s).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 Pages (3 items)
-
New Posts
-
No New Posts