noob question

noob question - How to get intermediate formula - Сообщения

#21 Опубликовано: 11.07.2022 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 Опубликовано: 11.07.2022 17:53:36
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 12.07.2022 10:49:30
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 27 раз(а).
#24 Опубликовано: 13.07.2022 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 Опубликовано: 14.07.2022 11:08:06
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 20.07.2022 05:49:08
Nicolae Olaru

Nicolae Olaru

1 сообщений из 115 понравились пользователям.

Группа: User

OK. Many thanks Jean Giraud
#27 Опубликовано: 27.02.2023 19:23:16
⚜ Kenny Lemens, P.E. ᵂᴵ

⚜ Kenny Lemens, P.E. ᵂᴵ

74 сообщений из 164 понравились пользователям.

Группа: 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 Diaz Falconi 27.02.2023 21:47:00, Mark R Harris 28.02.2023 05:13:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений