Rank: Advanced Member Groups: Registered
Joined: 21/11/2017(UTC) Posts: 114 Location: Olt county Was thanked: 1 time(s) in 1 post(s)
|
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)" Edited by user 11 July 2022 20:37:26(UTC)
| Reason: Not specified
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
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.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
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 (23kb) downloaded 13 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 21/11/2017(UTC) Posts: 114 Location: Olt county Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: Jean Giraud ... 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 ?! Edited by user 13 July 2022 23:13:09(UTC)
| Reason: Not specified
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: ola_nicolas 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.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 21/11/2017(UTC) Posts: 114 Location: Olt county Was thanked: 1 time(s) in 1 post(s)
|
OK. Many thanks Jean Giraud
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 11/01/2018(UTC) Posts: 134 Location: Wisconsin Was thanked: 62 time(s) in 39 post(s)
|
Greetings, Another solution was just posted as a worksheet example, located here: https://en.smath.com/for...a-formula.aspx#post80591
Originally Posted by: Razonar Hi Kenny, thanks. It is absolutely true, I completely forgot that the purpose is necessarily not only to show the calculation, but to use it later. Well, though, at least it's not a 3-order-of-magnitude error, like the one I recently had. This version saves in the first argument the numerical value of the evaluated formula. The rest of the code and the behavior stays the same. Evals v2.sm (66kb) downloaded 39 time(s). Evals v2.pdf (148kb) downloaded 18 time(s).Best regards. Alvaro.
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): - defining the equations before declaring any of the variables
- defining the variables and display evaluation immediately (optimization=NONE)
- display the equation, define optimization=NONE
- Final: display the equation, define optimization=numeric
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. ᵂᴵ |
|
2 users thanked Kenny Lemens for this useful post.
|
on 28/02/2023(UTC), on 28/02/2023(UTC)
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.