AlgLib 3.1x - AlgLib Plugin (based on ALGLIB 3.1x) - Messaggi
Updated. al_nleqsolve() refactored. Try now.
File non trovato. File non trovato.
You can also specify only names of the systems (f and j).
File non trovato. File non trovato.
File non trovato. File non trovato.
You can also specify only names of the systems (f and j).
File non trovato. File non trovato.
Russia ☭ forever, Viacheslav N. Mezentsev
4 utenti hanno apprezzato questo post
frapuano 18/07/2018 10:53:00, Fridel Selitsky 18/07/2018 02:35:00, Radovan Omorjan 18/07/2018 05:41:00, Igor Skarine 18/07/2018 10:17:00
2 utenti hanno apprezzato questo post
WroteOne example of V. Mezentsev (Uni)
Primer Uni.sm (13,49 KiB) scaricato 1668 volta(e).
Fortunately, I was wrong. We could use it with different number of equations and unknowns.
I just use the Ber7 example and change it with n as a global variable. No need for zeros as non-existing functions.
Primer%20Uni-mod.sm (13,3 KiB) scaricato 1728 volta(e).
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Thanks a lot uni!
The issue listed in my post #18 has been resolved.
But for some reason simple Newton-Raphson with variable step usually
works better than al_nleqsolve.
The issue listed in my post #18 has been resolved.
But for some reason simple Newton-Raphson with variable step usually
works better than al_nleqsolve.
WroteBut for some reason simple Newton-Raphson with variable step usually
works better than al_nleqsolve.
Can you demonstrate for this application ?
Solve al_nleqsolve-Electron.sm (18,41 KiB) scaricato 1635 volta(e).
We find several roots at once


Primer Uni3.sm (15,93 KiB) scaricato 1631 volta(e).
Primer Jean1.sm (14,78 KiB) scaricato 1583 volta(e).


Primer Uni3.sm (15,93 KiB) scaricato 1631 volta(e).
Primer Jean1.sm (14,78 KiB) scaricato 1583 volta(e).
1 utenti hanno apprezzato questo post
frapuano 21/07/2018 13:44:00
2 utenti hanno apprezzato questo post
Thanks Ber7 for the 3D, nice.
Jean
Jean
Solution of an overdetermined system of equations. The problem is taken from here
https://en.smath.info/forum/yaf_postst12745_How-to-solve-it.aspx

Overdetermined.sm (15,26 KiB) scaricato 1604 volta(e).
https://en.smath.info/forum/yaf_postst12745_How-to-solve-it.aspx

Overdetermined.sm (15,26 KiB) scaricato 1604 volta(e).
1 utenti hanno apprezzato questo post
Andrey Ivashov 26/07/2018 18:06:00
The intersection points of two curves

Primer1b.sm (33,88 KiB) scaricato 1635 volta(e).
Primer1b.pdf (212,69 KiB) scaricato 933 volta(e).

Primer1b.sm (33,88 KiB) scaricato 1635 volta(e).
Primer1b.pdf (212,69 KiB) scaricato 933 volta(e).
Fixed. Now you can find all the intersection points.

Primer2.sm (36,58 KiB) scaricato 1662 volta(e).
Primer2.pdf (215,28 KiB) scaricato 954 volta(e).

Primer2.sm (36,58 KiB) scaricato 1662 volta(e).
Primer2.pdf (215,28 KiB) scaricato 954 volta(e).
2 utenti hanno apprezzato questo post
Simple solutions to two problems
1.The construction of a sphere with respect to four given points
2.The construction of a circle with respect to three given points
To calculate the coordinates of the center and radius using the solver AlgLib
In the first problem, a system of four sphere equations for four given points is solved.
In the second - a system of three equations of a circle and the equation of a plane for three given points.

SphereAlglib.sm (64,36 KiB) scaricato 1618 volta(e).
1.The construction of a sphere with respect to four given points
2.The construction of a circle with respect to three given points
To calculate the coordinates of the center and radius using the solver AlgLib
In the first problem, a system of four sphere equations for four given points is solved.
In the second - a system of three equations of a circle and the equation of a plane for three given points.

SphereAlglib.sm (64,36 KiB) scaricato 1618 volta(e).
1 utenti hanno apprezzato questo post
NDTM Amarasekera 06/10/2018 22:52:00
Hi. The same, but without plugins.
SphereSMath.sm (75,21 KiB) scaricato 1587 volta(e).
Best regards.
Alvaro.
PD: Do you know the angles for your rotation matrix gamma? I get this, but can't put the matrix elements in the correct order nor sign:

Actually, as I know, the minus in the last atan is a mistake, but at least give the same absolute values.
SphereSMath.sm (75,21 KiB) scaricato 1587 volta(e).
Best regards.
Alvaro.
PD: Do you know the angles for your rotation matrix gamma? I get this, but can't put the matrix elements in the correct order nor sign:

Actually, as I know, the minus in the last atan is a mistake, but at least give the same absolute values.
2 utenti hanno apprezzato questo post
WroteHi. The same, but without plugins.
PD: Do you know the angles for your rotation matrix gamma? I get this, but can't put the matrix elements in the correct order nor sign:
Actually, as I know, the minus in the last atan is a mistake, but at least give the same absolute values.
Hi, Alvaro.
Unfortunately, I have never done reverse transformations (gamma-omega).
Your error may be caused by the use of the left coordinate system in Smath- graphs.
I selected the angles for the axial matrices empirically in order to get a good perspective ,using the gamma matrix.perspective.

1 utenti hanno apprezzato questo post
Alvaro 09/10/2018 21:14:00
WroteUnfortunately, I have never done reverse transformations (gamma-omega).
Mathcad solves the Euler angles from a given γ [gamma matrix].
Smath does not immediately, it complains: Try to use a more specific algorithm.
There are 24 [4!] possible ways to define a 3D system [Mathematica].
The most common is Euler though Mathcad Mathcad ≠ Mathematica.
For common use to define some pleasant views, especially in Smath:
1. Euler [ 3 trig angles]
2. Parametric [X,Y,Z,t] very easy to manage.
3. Quaternion only two coefficients that Quaternion solves for the 3D γ matrix
Rotate Horn.sm (15,07 KiB) scaricato 1623 volta(e).
Solve Euler Fails.sm (22,54 KiB) scaricato 1668 volta(e).
Rotate Breather [Euler].sm (37,2 KiB) scaricato 1432 volta(e).
Rotate_0 Euler, xyz(t), Quaternion.sm (275,27 KiB) scaricato 1660 volta(e).
- Nuovi post
- Nessun nuovo post




