How to solve these types of equations - Сообщения

However you have to consider the default root limits with integrated solve().
The limits are -20..20 but you can change it from options.
And even better, you can define the limits while you are writing the function.
Regards.
WroteTry it with integrated solve() function. Or you can try to solve with maple plugin.
However you have to consider the default root limits with integrated solve().
The limits are -20..20 but you can change it from options.
And even better, you can define the limits while you are writing the function.
Regards.
Thank you, you shed some light upon my problem! Couple of questions, though:
Here is what I get with a bit more complicated equation using the integrated solve() (I already calculated the answer by hand and the root is way above the "Root limit (1000))":

Maple seems to do the trick, thank you a lot!:

1. The integrated function solve() has roots limit from -1000 to 1000, so it won't show bigger or smaller roots?
2. Having said that there are limits, does this mean you have to roughly guess the value of the equation's roots when using integrated solve()?
Solution has to be pure numbers, because this function iterates with numbers.
However, in some cases you can trick the function to solve with units.
Just adding units to key places will make expression unitless.
This will cause the solve() function operate as designated.
For your other question, solve() will calculate if root is over 1000,
if you had specified the lower and upper limit within the function.
Without entering the limits into function, roots finding is limited to... well, limits.
Maple can calculate with units as far as I know.
However maybe there are be some cases which it couldn't.
But I have not encountered any with my simple engineering calculations.
Regards
WroteIntegrated solve() function can not do calculation with units.
Solution has to be pure numbers, because this function iterates with numbers.
However, in some cases you can trick the function to solve with units.
Just adding units to key places will make expression unitless.
This will cause the solve() function operate as designated.
For your other question, solve() will calculate if root is over 1000,
if you had specified the lower and upper limit within the function.
Without entering the limits into function, roots finding is limited to... well, limits.
Maple can calculate with units as far as I know.
However maybe there are be some cases which it couldn't.
But I have not encountered any with my simple engineering calculations.
Regards
Thank you very much for the clear and understandable explanation. I think that for my calculations Maple will do the job, so I'll refrain from using the integrated solve() function (not that it's bad, it just seems unnecessary to trick it when you can use Maple with units).
Stay safe.
WroteThere are also root() and FindRoot() functions.
root() is same with solve (so to speak) but without range limits.
You can also use FindRoot to solve with units.
You only have to give it some starting point.
Usually a humble guess should suffice.
Look at the examples below
Regards.
I'm having a bit of a difficult time using the FindRoot () function.
It just doesn't appear in the menu. Is it a part of some plugin?

WroteI'm having a bit of a difficult time using the FindRoot () function.
It just doesn't appear in the menu. Is it a part of some plugin?
It is in Nonlinear Solver plugin. If you have not, you need to install it.
FindRoot() has a bug which it prevents to assign a variable and show result in same line.
It makes the calculation, can't show the result but assign to variable.
Actually you don't have to assign to variable with it, direct function automatically assign.
See example below, regards.
WroteWroteI'm having a bit of a difficult time using the FindRoot () function.
Accurate from FindRoot(3) ... algebra.
:d Give me similar solutions for this one:

Multiple errors and I have no idea how to deal with them.
See attached smath file. Thanks.Equation Solving Issues.sm (12 КиБ) скачан 34 раз(а).
If I have two non-linear equations with 2 unknowns x,y: f(x,y)=0 and g(x,y)=0. I know there are real roots and the ranges of the roots. How can I solve these in Smath?
Thanks,
WroteIf I have two non-linear equations with 2 unknowns x,y: f(x,y)=0 and g(x,y)=0. I know there are real roots and the ranges of the roots. How can I solve these in Smath?
1.f(x,y)=0 and g(x,y)=0 are implicit [= 0] in mathematical definition.
2. That they have real roots, you can't know in advance.
3. Solving in there means solving for their intersection
4. Visit this triplet solved.
Cheers ... Jean ... give your functions..
Contour SOLVE AstroidHyperbola.sm (22 КиБ) скачан 45 раз(а).
WroteI have another newbie's question:
If I have two non-linear equations with 2 unknowns x,y: f(x,y)=0 and g(x,y)=0. I know there are real roots and the ranges of the roots. How can I solve these in Smath?
Thanks,
You can check the example below.
Regards
nonlinear.sm (21 КиБ) скачан 47 раз(а).
It should be careful if the equations are a bit more complicated.
As far as I know, al_nleqsolve() is the only solver in SMath which will solve nonlinear equations in a pure numerical fashion (excluding solvers from Maxima and Maple plugins).
This "numerical thing" was mentioned here many times - maybe to many.
Regards,
Radovan
nonlinear-alglib.sm (12 КиБ) скачан 66 раз(а).
-
Новые сообщения
-
Нет новых сообщений