1 Pages (9 items)
Mathcad to SMath_function root and solve - Messages
#1 Posted: 3/26/2021 6:59:33 AM
Hi,
can someone help me to copy this mathcad code in a SMath's one?
I have some problems with the solution of Xn
Thank you
File not found.File not found.
can someone help me to copy this mathcad code in a SMath's one?
I have some problems with the solution of Xn
Thank you
File not found.File not found.
#2 Posted: 3/26/2021 10:09:07 AM
#3 Posted: 3/26/2021 12:52:12 PM
#4 Posted: 3/30/2021 4:10:19 AM
Thanks Alvaro.
I made your correction, using the function cases(), but I have the same problem if I add other terms to fb(xn), for example if I add Ast*sigma sb(eps) and Asc*sigmasb(eps).
How is it possible?
Thanksverifica a flessione_prova2.sm (43 KiB) downloaded 34 time(s).

I made your correction, using the function cases(), but I have the same problem if I add other terms to fb(xn), for example if I add Ast*sigma sb(eps) and Asc*sigmasb(eps).
How is it possible?
Thanksverifica a flessione_prova2.sm (43 KiB) downloaded 34 time(s).
#5 Posted: 3/30/2021 6:37:01 AM
Possibly an odd bracket problem?
Here appears that Smath is making a group of "y+sigma bla bla" as object for the differential operator
So, fb(x) could not be evaluated.

I placed some brackets to clearly separate "y" from what follows in the equation, see picture below.
It appears that with brackets, fb(x) can be evaluated (but I get an error on units).
Maybe some other formula needs to be checked before?

Ciao!
Here appears that Smath is making a group of "y+sigma bla bla" as object for the differential operator
So, fb(x) could not be evaluated.
I placed some brackets to clearly separate "y" from what follows in the equation, see picture below.
It appears that with brackets, fb(x) can be evaluated (but I get an error on units).
Maybe some other formula needs to be checked before?
Ciao!
#6 Posted: 3/30/2021 6:54:56 AM
#7 Posted: 3/30/2021 8:03:34 AM
I am pretty sure my units mismatch correction is not suitable.
You should have to check this issue by yourself.
But I had managed to solve your function problem.
Rewriting it make function tick again.
Regards
verifica a flessione_prova2_rev.sm (45 KiB) downloaded 38 time(s).

You should have to check this issue by yourself.
But I had managed to solve your function problem.
Rewriting it make function tick again.
Regards
verifica a flessione_prova2_rev.sm (45 KiB) downloaded 38 time(s).
#8 Posted: 4/3/2021 8:06:31 AM
I've had this pending in background so I'll share the solution even here. Aside the initial issues about if() and units, the integral fails when x_n is set as 0, since epsilon is something/0. Therefore solve range must exclude 0 or the function has to handle it.

Happy Easter and take care, anyone.
Happy Easter and take care, anyone.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#9 Posted: 4/3/2021 6:45:13 PM
WroteHappy Easter and take care, anyone.
Thanks Davide ... Your's all too ... Jean
1 Pages (9 items)
-
New Posts
-
No New Posts