1 Pages (11 items)
Roots - intersection points - Trouble with finding intersection points of a line and a parabola using "roots" command. - Messages
#1 Posted: 4/14/2023 4:43:40 PM
Good afternoon everyone.
I'm using the "roots" command, but I'm not getting the two points where the line intersects the parabola. The command gives me only one result and omits the other point. Attached is the file and image of the problem. How can I find both intersection points?
Roots.sm (8 KiB) downloaded 35 time(s).

I'm using the "roots" command, but I'm not getting the two points where the line intersects the parabola. The command gives me only one result and omits the other point. Attached is the file and image of the problem. How can I find both intersection points?
Roots.sm (8 KiB) downloaded 35 time(s).
#2 Posted: 4/14/2023 5:35:21 PM
WroteI'm using the "roots" command, but I'm not getting the two points where the line intersects the parabola. The command gives me only one result and omits the other point. Attached is the file and image of the problem. How can I find both intersection points?
As doctored ... Jean
Roots Doctored.sm (9 KiB) downloaded 30 time(s).
#3 Posted: 4/14/2023 6:41:21 PM
Hi Sergio. There are a 3 argument version of roots, where the third is a guess value for the root.
Roots.sm (9 KiB) downloaded 42 time(s).
Best regards.
Alvaro.
Roots.sm (9 KiB) downloaded 42 time(s).
Best regards.
Alvaro.
#4 Posted: 4/15/2023 8:54:21 AM
'roots' is essentially based on differentiable function.
Often, in Engineering works you don't have differentiable functions,
Gamma(x), spline fit ... etc.
In those cases, use the X(Φ,a,b,ε) utility.
Cheers ... Jean.
roots Gamma(x).sm (18 KiB) downloaded 25 time(s).
Often, in Engineering works you don't have differentiable functions,
Gamma(x), spline fit ... etc.
In those cases, use the X(Φ,a,b,ε) utility.
Cheers ... Jean.
roots Gamma(x).sm (18 KiB) downloaded 25 time(s).
#5 Posted: 4/15/2023 7:31:34 PM
#6 Posted: 4/15/2023 8:44:04 PM
Wrote
PS: MapleCorrect() function can be found here.
Assign() function can be used instead of str2num() + num2str() + strrep().
My personal favourite way to handle solver results is Davide's at() substitution function.
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#8 Posted: 4/16/2023 9:11:08 AM
Wrote'roots' is essentially based on differentiable function.
Often, in Engineering works you don't have differentiable functions,
Gamma(x), spline fit ... etc.
In those cases, use the X(Φ,a,b,ε) utility.
Many Smath built-in functions are not differentiable.
diff(▄ ▄) not defined ... Airy example attached.
roots Airy.sm (11 KiB) downloaded 23 time(s).
#9 Posted: 4/16/2023 11:22:35 AM
WroteHi. This is another way.
What the heck? Can we use maple keywords if they are written as `function`?
This is so mind-blowing, thanks Razonar.
1 users liked this post
Alvaro Diaz Falconi 4/17/2023 5:27:00 PM
#10 Posted: 4/16/2023 6:34:02 PM
1 Pages (11 items)
-
New Posts
-
No New Posts