noob question

noob question - How to get intermediate formula - Mensajes

#21 Publicado: 11/7/2022 14:29:59
Nicolae Olaru

Nicolae Olaru

1 me gusta en 115 mensajes.

Grupo: 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 Publicado: 11/7/2022 17:53:36
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 12/7/2022 10:49:30
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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) descargado 1316 vez(es).
#24 Publicado: 13/7/2022 17:04:50
Nicolae Olaru

Nicolae Olaru

1 me gusta en 115 mensajes.

Grupo: 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 Publicado: 14/7/2022 11:08:06
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 20/7/2022 5:49:08
Nicolae Olaru

Nicolae Olaru

1 me gusta en 115 mensajes.

Grupo: User

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

⚜ Kenny Lemens, P.E. ᵂᴵ

85 me gusta en 181 mensajes.

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

Mostrar 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
A 2 usuarios les gustó este mensaje
Alvaro 27/2/2023 21:47:00, Mark R Harris 28/2/2023 5:13:00
  • Nuevos mensajes
  • Sin mensajes nuevos