AlgLib 3.1x

AlgLib 3.1x - AlgLib Plugin (based on ALGLIB 3.1x) - Mensajes

#21 Publicado: 17/7/2018 19:49:21
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

Updated. al_nleqsolve() refactored. Try now.

Archivo no encontrado. Archivo no encontrado.

You can also specify only names of the systems (f and j).

Archivo no encontrado. Archivo no encontrado.
Russia ☭ forever, Viacheslav N. Mezentsev
A 4 usuarios les gustó este mensaje
frapuano 18/7/2018 10:53:00, Fridel Selitsky 18/7/2018 2:35:00, Radovan Omorjan 18/7/2018 5:41:00, Igor Skarine 18/7/2018 10:17:00
#22 Publicado: 18/7/2018 2:35:44
Fridel Selitsky

Fridel Selitsky

520 me gusta en 451 mensajes.

Grupo: User

One example of V. Mezentsev (Uni)
Primer Uni.sm (13,49 KiB) descargado 1663 vez(es).
A 2 usuarios les gustó este mensaje
Radovan Omorjan 18/7/2018 5:34:00, frapuano 18/7/2018 10:53:00
#23 Publicado: 18/7/2018 5:40:48
Radovan Omorjan

Radovan Omorjan

325 me gusta y 1 no me gusta en 2.052 mensajes.

Grupo: Moderator

Wrote

One example of V. Mezentsev (Uni)
Primer Uni.sm (13,49 KiB) descargado 1663 vez(es).



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.

ber7.GIF

Primer%20Uni-mod.sm (13,3 KiB) descargado 1723 vez(es).
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#24 Publicado: 18/7/2018 10:15:46
Igor Skarine

Igor Skarine

14 me gusta en 97 mensajes.

Grupo: User

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.
#25 Publicado: 18/7/2018 15:19:47
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

But for some reason simple Newton-Raphson with variable step usually
works better than al_nleqsolve.



Can you demonstrate for this application ?

Electfnct.PNG

Solve al_nleqsolve-Electron.sm (18,41 KiB) descargado 1630 vez(es).

#26 Publicado: 21/7/2018 12:45:03
Fridel Selitsky

Fridel Selitsky

520 me gusta en 451 mensajes.

Grupo: User

We find several roots at once


Primer Uni3.sm (15,93 KiB) descargado 1627 vez(es).
Primer Jean1.sm (14,78 KiB) descargado 1579 vez(es).
A 1 usuarios les gustó este mensaje
frapuano 21/7/2018 13:44:00
#27 Publicado: 22/7/2018 3:50:27
Fridel Selitsky

Fridel Selitsky

520 me gusta en 451 mensajes.

Grupo: User



3d.sm (29,62 KiB) descargado 1603 vez(es).
A 2 usuarios les gustó este mensaje
NDTM Amarasekera 22/7/2018 5:00:00, frapuano 22/7/2018 5:30:00
#28 Publicado: 22/7/2018 23:29:32
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Thanks Ber7 for the 3D, nice.

Jean
#29 Publicado: 24/7/2018 13:03:26
Fridel Selitsky

Fridel Selitsky

520 me gusta en 451 mensajes.

Grupo: User

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) descargado 1599 vez(es).
A 1 usuarios les gustó este mensaje
Andrey Ivashov 26/7/2018 18:06:00
#30 Publicado: 30/7/2018 13:09:38
Fridel Selitsky

Fridel Selitsky

520 me gusta en 451 mensajes.

Grupo: User

The process of finding the roots

Primer Anim.sm (30,29 KiB) descargado 1585 vez(es).
A 1 usuarios les gustó este mensaje
frapuano 30/7/2018 14:08:00
#31 Publicado: 22/8/2018 4:32:16
Fridel Selitsky

Fridel Selitsky

520 me gusta en 451 mensajes.

Grupo: User

The intersection points of two curves

Primer1b.sm (33,88 KiB) descargado 1632 vez(es).
Primer1b.pdf (212,69 KiB) descargado 928 vez(es).
A 2 usuarios les gustó este mensaje
sergio 22/8/2018 5:52:00, frapuano 22/8/2018 11:24:00
#32 Publicado: 22/8/2018 11:39:31
Fridel Selitsky

Fridel Selitsky

520 me gusta en 451 mensajes.

Grupo: User

Fixed. Now you can find all the intersection points.

Primer2.sm (36,58 KiB) descargado 1658 vez(es).
Primer2.pdf (215,28 KiB) descargado 947 vez(es).
A 2 usuarios les gustó este mensaje
Davide Carpi 22/8/2018 11:41:00, sergio 22/8/2018 13:01:00
#33 Publicado: 23/8/2018 5:11:57
Fridel Selitsky

Fridel Selitsky

520 me gusta en 451 mensajes.

Grupo: User


Primer3.sm (20,12 KiB) descargado 1693 vez(es).
A 1 usuarios les gustó este mensaje
frapuano 23/8/2018 9:07:00
#34 Publicado: 23/8/2018 10:57:07
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

... thanks Ber7

Astroid.PNG

Contour SOLVE AstroidHyperbola.sm (20,85 KiB) descargado 1686 vez(es).
#35 Publicado: 25/8/2018 6:22:47
Fridel Selitsky

Fridel Selitsky

520 me gusta en 451 mensajes.

Grupo: User


Primer6.sm (18,31 KiB) descargado 1613 vez(es).
#36 Publicado: 6/10/2018 14:56:58
Fridel Selitsky

Fridel Selitsky

520 me gusta en 451 mensajes.

Grupo: User

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) descargado 1615 vez(es).
A 1 usuarios les gustó este mensaje
NDTM Amarasekera 6/10/2018 22:52:00
#37 Publicado: 8/10/2018 3:23:09
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Hi. The same, but without plugins.

SphereSMath.sm (75,21 KiB) descargado 1583 vez(es).

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:

Clipboard1.gif

Actually, as I know, the minus in the last atan is a mistake, but at least give the same absolute values.
A 2 usuarios les gustó este mensaje
Fridel Selitsky 8/10/2018 3:35:00, NDTM Amarasekera 8/10/2018 4:19:00
#38 Publicado: 9/10/2018 11:42:42
Fridel Selitsky

Fridel Selitsky

520 me gusta en 451 mensajes.

Grupo: User

Wrote

Hi. 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.

A 1 usuarios les gustó este mensaje
Alvaro 9/10/2018 21:14:00
#39 Publicado: 10/10/2018 0:40:38
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Unfortunately, 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) descargado 1620 vez(es).
Solve Euler Fails.sm (22,54 KiB) descargado 1665 vez(es).
Rotate Breather [Euler].sm (37,2 KiB) descargado 1425 vez(es).
Rotate_0 Euler, xyz(t), Quaternion.sm (275,27 KiB) descargado 1655 vez(es).
#40 Publicado: 12/12/2018 12:57:19
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

Updated.

Changes for al_rkckadapt():
- zero point issue fixed;
- added support for the simple D(t,x) definition.

2018-12-12_21-27-19.png
Russia ☭ forever, Viacheslav N. Mezentsev
A 2 usuarios les gustó este mensaje
frapuano 12/12/2018 14:31:00, sergio 12/12/2018 13:54:00
  • Nuevos mensajes
  • Sin mensajes nuevos