noob question

noob question - How to get intermediate formula - Messages

#21 Posted: 7/11/2022 2:29:59 PM
Nicolae Olaru

Nicolae Olaru

1 likes in 115 posts.

Group: User

Greetings Jean Giraud. I mean by "analytic", to write a function "func (arg)" using strictly the functions defined in smath (other than "Clear (arg)") whose result is identical to that provided by the predefined function in smath "Clear (arg)"
#22 Posted: 7/11/2022 5:53:36 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Analytical function(s) are function(s) that you can:
derive, integrate, Laplace, Fourier, else transform ... etc.
Clear(▪,▪,▪, ...) simply evaporates the collection.
What you can do: front end a program by Clear(▪,▪,▪, ...)
If your program is analytical, de-facto Clear is analytical,
that is for twisted mind... glass ½ full/empty.
Cheers ... Jean.
#23 Posted: 7/12/2022 10:49:30 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Once the vector 'x' has been cleared ▼ internally
'x' is free for analytic/numeric function(s)...
If that's what you mean by analytic Clear(,)
If you have comments or more in mind ... welcome.
Cheers ... Jean.

Maths Clear.sm (22 KiB) downloaded 25 time(s).
#24 Posted: 7/13/2022 5:04:50 PM
Nicolae Olaru

Nicolae Olaru

1 likes in 115 posts.

Group: User

Wrote

... Clear(▪,▪,▪, ...) simply evaporates the collection ...



OK. Then why doesn't this function exist in MathCAD - at least until MathCAD 14, which I use. In fact, that would be the basic idea. How do I synthesize such a function in MathCAD, a function that I often miss ?!
#25 Posted: 7/14/2022 11:08:06 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

OK. Then why doesn't this function exist in MathCAD - at least until MathCAD 14, which I use. In fact, that would be the basic idea. How do I synthesize such a function in MathCAD, a function that I often miss ?!


Mathcad 14 was a freak. Saved as 11 ... back 11 was Christmas decoration !
At Mathsoft home, my MCD 11 crashed Mona MCD 14.
Mathcad 11 was a semi-compiled CAS, much different than Smath Plugins.
In Mathcad 11 and earlier, variables, data don't reside, nothing to Clear.
If 'x' has been ranged above and next you want the symbolic wrt 'x'
x:= ▪
it shows the place holder, then evaporated, free for symbolic.
Don't hesitate for more ... Jean.
#26 Posted: 7/20/2022 5:49:08 AM
Nicolae Olaru

Nicolae Olaru

1 likes in 115 posts.

Group: User

OK. Many thanks Jean Giraud
#27 Posted: 2/27/2023 7:23:16 PM
⚜ Kenny Lemens, P.E. ᵂᴵ

⚜ Kenny Lemens, P.E. ᵂᴵ

74 likes in 164 posts.

Group: User

Greetings,

Another solution was just posted as a worksheet example, located here: https://en.smath.com/forum/yaf_postsm80591_Showing-substitutions-in-a-formula.aspx#post80591

Show Spoiler




As an additional observation to this whole topic, I achieved sufficient success if I did the following (without the need for a plugin or special functions):
  1. defining the equations before declaring any of the variables
  2. defining the variables and display evaluation immediately (optimization=NONE)
  3. display the equation, define optimization=NONE
  4. Final: display the equation, define optimization=numeric
SMath_DisplayIntermediateCalcs.jpg

Depending on your circumstance, utilizing Symbolic evaluation and calling the function Eval() may be in your best interest.

Hope this helps;
Kenny Lemens, P.E. ᵂᴵ


"No matter where you go, there you are." -Buckaroo BanzaiHotkeys: https://en.smath.com/forum/resource.ashx?a=45771&b=2
2 users liked this post
Alvaro Diaz Falconi 2/27/2023 9:47:00 PM, Mark R Harris 2/28/2023 5:13:00 AM
  • New Posts New Posts
  • No New Posts No New Posts