Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,494 Was thanked: 1274 time(s) in 745 post(s)
|
Updated. al_nleqsolve() refactored. Try now. You can also specify only names of the systems ( f and j). Edited by user 18 July 2018 06:39:19(UTC)
| Reason: Not specified |
Russia ☭ forever Viacheslav N. Mezentsev |
4 users thanked uni for this useful post.
|
on 18/07/2018(UTC), on 18/07/2018(UTC), on 18/07/2018(UTC), on 18/07/2018(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/07/2010(UTC) Posts: 437 Location: Beer-Sheva Was thanked: 520 time(s) in 288 post(s)
|
One example of V. Mezentsev (Uni) Primer Uni.sm (14kb) downloaded 61 time(s).Edited by user 27 July 2018 16:37:57(UTC)
| Reason: Not specified
|
2 users thanked Ber7 for this useful post.
|
on 18/07/2018(UTC), on 18/07/2018(UTC)
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Originally Posted by: Ber7 One example of V. Mezentsev (Uni) Primer Uni.sm (14kb) downloaded 61 time(s). 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 (14kb) downloaded 57 time(s). |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 22/02/2014(UTC) Posts: 81
Was thanked: 11 time(s) in 10 post(s)
|
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.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: tomtit But 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 (19kb) downloaded 44 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/07/2010(UTC) Posts: 437 Location: Beer-Sheva Was thanked: 520 time(s) in 288 post(s)
|
|
1 user thanked Ber7 for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/07/2010(UTC) Posts: 437 Location: Beer-Sheva Was thanked: 520 time(s) in 288 post(s)
|
3d.sm (30kb) downloaded 53 time(s).Edited by user 27 July 2018 16:35:26(UTC)
| Reason: Not specified
|
2 users thanked Ber7 for this useful post.
|
on 22/07/2018(UTC), on 22/07/2018(UTC)
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Thanks Ber7 for the 3D, nice.
Jean
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/07/2010(UTC) Posts: 437 Location: Beer-Sheva Was thanked: 520 time(s) in 288 post(s)
|
|
1 user thanked Ber7 for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/07/2010(UTC) Posts: 437 Location: Beer-Sheva Was thanked: 520 time(s) in 288 post(s)
|
The process of finding the roots Primer Anim.sm (31kb) downloaded 49 time(s).
|
1 user thanked Ber7 for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/07/2010(UTC) Posts: 437 Location: Beer-Sheva Was thanked: 520 time(s) in 288 post(s)
|
|
2 users thanked Ber7 for this useful post.
|
on 22/08/2018(UTC), on 22/08/2018(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/07/2010(UTC) Posts: 437 Location: Beer-Sheva Was thanked: 520 time(s) in 288 post(s)
|
|
2 users thanked Ber7 for this useful post.
|
on 22/08/2018(UTC), on 22/08/2018(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/07/2010(UTC) Posts: 437 Location: Beer-Sheva Was thanked: 520 time(s) in 288 post(s)
|
|
1 user thanked Ber7 for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/07/2010(UTC) Posts: 437 Location: Beer-Sheva Was thanked: 520 time(s) in 288 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/07/2010(UTC) Posts: 437 Location: Beer-Sheva Was thanked: 520 time(s) in 288 post(s)
|
Simple solutions to two problems1.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 (65kb) downloaded 45 time(s).
|
1 user thanked Ber7 for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Hi. The same, but without plugins. SphereSMath.sm (76kb) downloaded 46 time(s).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 users thanked Razonar for this useful post.
|
on 08/10/2018(UTC), on 08/10/2018(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/07/2010(UTC) Posts: 437 Location: Beer-Sheva Was thanked: 520 time(s) in 288 post(s)
|
Originally Posted by: Razonar 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.
|
1 user thanked Ber7 for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Ber7 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 (16kb) downloaded 50 time(s). Solve Euler Fails.sm (23kb) downloaded 43 time(s). Rotate Breather [Euler].sm (38kb) downloaded 42 time(s). Rotate_0 Euler, xyz(t), Quaternion.sm (276kb) downloaded 46 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,494 Was thanked: 1274 time(s) in 745 post(s)
|
Updated. Changes for al_rkckadapt(): - zero point issue fixed; - added support for the simple D(t,x) definition. Edited by user 12 December 2018 19:28:27(UTC)
| Reason: Not specified |
Russia ☭ forever Viacheslav N. Mezentsev |
2 users thanked uni for this useful post.
|
on 12/12/2018(UTC), on 12/12/2018(UTC)
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.