Substituting numbers in formulas ("Explicit all" mathcad feature)

Substituting numbers in formulas ("Explicit all" mathcad feature) - Messages

#1 Posted: 3/5/2021 10:38:44 AM
Mifuzion

Mifuzion

0 likes in 2 posts.

Group: User

Hello,

i would like to know how to use "explicit all" function from mathcad in SMath Studio. Optimization->None doesn't work for me(watch screenshots). For some reason, all variables are displayed in fractions, not decimal.

First screen - Smath, Second - Mathcad 15.

File not found.File not found.
#2 Posted: 3/5/2021 12:16:14 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Document would help or a typical short example.
#3 Posted: 3/5/2021 1:21:50 PM
Mifuzion

Mifuzion

0 likes in 2 posts.

Group: User

Wrote

Document would help or a typical short example.



1.sm (7 KiB) downloaded 42 time(s).
#4 Posted: 3/5/2021 3:48:15 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

I don't understand what you are looking for,
or otherwise that's not needed ?
Smath has nothing to do with Mathcad

1 (2) Explicit.sm (14 KiB) downloaded 43 time(s).
#5 Posted: 3/11/2021 5:55:31 PM
Wesly Centerwall

Wesly Centerwall

26 likes in 156 posts.

Group: User

What Mifuzion is trying to do is display the formula with the numbers in the place of the variables.

normally we would do this.

a:=1
b:=2

c:=a+b=3

what Mifuzion wants is to show the values of a and b before the calculation, but in the formula form:

c:=a+b=1+2

The optimization options seem to only be showing exact values (fractions) instead of decimal values.
#6 Posted: 3/11/2021 6:05:54 PM
Wesly Centerwall

Wesly Centerwall

26 likes in 156 posts.

Group: User

What you need to do is optimize the variables being used in your formula as "none", otherwise they will only display as an exact (fractional) form.
In my simple example, both c values are optimized as none with the difference being in how the variable a was optimized.
Good luck.

2021-03-11 16_02_27.png
Optimization for Explicit Display.sm (4 KiB) downloaded 64 time(s).
1 users liked this post
churichuro 3/11/2021 6:37:00 PM
#7 Posted: 3/11/2021 6:11:44 PM
Wesly Centerwall

Wesly Centerwall

26 likes in 156 posts.

Group: User

Also, spending a few extra minutes searching for similar questions might help. This questions has been asked and answered before in one way or another.

Related Post
  • New Posts New Posts
  • No New Posts No New Posts