noob question

noob question - How to get intermediate formula - 消息

#21 已发布: 2022/7/11 14:29:59
Nicolae Olaru

Nicolae Olaru

1个赞,共115个帖子。

组: 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 已发布: 2022/7/11 17:53:36
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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 已发布: 2022/7/12 10:49:30
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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.25 KiB)已下载 1326 次。
#24 已发布: 2022/7/13 17:04:50
Nicolae Olaru

Nicolae Olaru

1个赞,共115个帖子。

组: 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 已发布: 2022/7/14 11:08:06
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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 已发布: 2022/7/20 05:49:08
Nicolae Olaru

Nicolae Olaru

1个赞,共115个帖子。

组: User

OK. Many thanks Jean Giraud
#27 已发布: 2023/2/27 19:23:16
⚜ Kenny Lemens, P.E. ᵂᴵ

⚜ Kenny Lemens, P.E. ᵂᴵ

85个赞,共181个帖子。

组: 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

显示剧透




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位用户喜欢此帖子
Alvaro 2023/2/27 21:47:00, Mark R Harris 2023/2/28 05:13:00
  • 有新帖
  • 无新帖