One more about lens

One more about lens - Messaggi

#1 Pubblicato: 01/12/2024 01:52:00
Valery Ochkov

Valery Ochkov

67 apprezzamenti in 713 post.

Gruppo: User

How can we use here a Mathcad-block?
Lens-Mathcad-Block.sm (43,8 KiB) scaricato 1846 volta(e).

See too
https://en.smath.com/forum/yaf_postst25212_Lens.aspx
#2 Pubblicato: 01/12/2024 18:08:12
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Wrote

How can we use here a Mathcad-block?


Here the function rkfixed() can't process the incoming expressions correctly. The block has nothing to do with it, it does not perform detailed analysis of expressions.
This is a bug in the function. The function has not been tested for this case. I can't see what's wrong here right now.

Russia ☭ forever, Viacheslav N. Mezentsev
1 utenti hanno apprezzato questo post
Valery Ochkov 02/12/2024 15:44:00
#3 Pubblicato: 01/12/2024 19:52:45
Martin Kraska

Martin Kraska

1.361 apprezzamenti in 2.275 post.

Gruppo: Moderator

This is not a solution of the rkfixed problem, just a little playing around with X-Y plot.

Here, an option of setting the aspect ratio of the axes to 1 would be good.

File non trovato.File non trovato.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
2 utenti hanno apprezzato questo post
Valery Ochkov 02/12/2024 15:45:00, francesco rapuano 03/12/2024 04:21:00
#4 Pubblicato: 07/12/2024 13:02:58
Valery Ochkov

Valery Ochkov

67 apprezzamenti in 713 post.

Gruppo: User

Mathcad Prime
Lens.png
Lens-MP-1.png
Lens-MP-2.png
#5 Pubblicato: 08/12/2024 01:05:34
Cornel

Cornel

2 apprezzamenti in 78 post.

Gruppo: User

I am wondering if there is such a kind of Mathcad Prime odesolve for solving differential equations numerically also for SMath Studio somehow?
#6 Pubblicato: 08/12/2024 01:21:21
Valery Ochkov

Valery Ochkov

67 apprezzamenti in 713 post.

Gruppo: User

Wrote

I am wondering if there is such a kind of Mathcad Prime odesolve for solving differential equations numerically also for SMath Studio somehow?



Not yet, but will be soon!
Question - why is the answer meters squared, and not just meters?
#7 Pubblicato: 08/12/2024 02:29:44
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Wrote

I am wondering if there is such a kind of Mathcad Prime odesolve for solving differential equations numerically also for SMath Studio somehow?


What's wrong with the existing solvers?

Russia ☭ forever, Viacheslav N. Mezentsev
#8 Pubblicato: 08/12/2024 03:54:39
Cornel

Cornel

2 apprezzamenti in 78 post.

Gruppo: User

Wrote

Wrote

I am wondering if there is such a kind of Mathcad Prime odesolve for solving differential equations numerically also for SMath Studio somehow?


What's wrong with the existing solvers?



Because odesolve in Mathcad Prime:

1. Do not require to rewrite the differential equation of a higher order into a system of first order odes

2. Determines whether a system is stiff or nonstiff and then is using accordingly the stiff numerical differential eq solver or nonstiff numerical differential eq solver

3. Can solve numerically a system of differential equations (whatever it's a system of first order differential eq or a system of higher order differential eq)

What are these existing numerical solvers of differential eq in SMath? What are the posibilities of SMath to solve numerically differential equations? Exist at least one solver that mimic the Mathcad Prime odesolve (i.e. the 3 points above menționed)?
#9 Pubblicato: 08/12/2024 05:04:39
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Hi Cornel. For points 1 and 3, SMath can do what Mathcad can, and just a little more. Please, check the first post in this plugin. Can mathcad solve this odes?

RKA.sm (308,62 KiB) scaricato 2262 volta(e).
RKA.pdf (931,16 KiB) scaricato 1729 volta(e).

About point 2, one would have to review the documentation for the following plugins to see if they are capable, and to what extent, of doing what you are asking, and choose it for the solver in the SMath's solver block.

● [topic=17088]Intel ODE Solver Library[/topic]
● [topic=1918]DotNumerics[/topic]
● [topic=13809]SADEL[/topic]
● [topic=1970]Matlab C++ Math Library[/topic]
● [topic=17063]OSLO[/topic]
● [topic=17067]lsoda[/topic]
● [topic=1997]GNU Scientific Library (GSL)[/topic]



Best regards.
Alvaro.
#10 Pubblicato: 08/12/2024 08:58:47
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Wrote

How can we use here a Mathcad-block?
Lens-Mathcad-Block.sm (43,8 KiB) scaricato 1846 volta(e).

See too
https://en.smath.com/forum/yaf_postst25212_Lens.aspx



Hi. dsol can solve it with this setup:

dsol.png

RKA-Lens.sm (179,91 KiB) scaricato 1817 volta(e).

I also use the Martin's setup for the plot.

Best regards.
Alvaro.
#11 Pubblicato: 09/12/2024 10:44:48
Valery Ochkov

Valery Ochkov

67 apprezzamenti in 713 post.

Gruppo: User

How to create this picture
https://en.wikipedia.org/wiki/Spherical_aberration
aberration.png
#12 Pubblicato: 10/12/2024 04:11:05
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Hi Valery. This is a way.

lens.png

spherical aberration.sm (15,88 KiB) scaricato 1807 volta(e).

Best regards.
Alvaro.
2 utenti hanno apprezzato questo post
Oscar Campo 10/12/2024 09:43:00, Valery Ochkov 10/12/2024 12:26:00
#13 Pubblicato: 10/12/2024 12:38:25
Valery Ochkov

Valery Ochkov

67 apprezzamenti in 713 post.

Gruppo: User

Thanks!
The last step
Cyrcles.png
#14 Pubblicato: 10/12/2024 21:21:41
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Hi. The screen. I also simplify a little the calculations.

spherical aberration.sm (26,41 KiB) scaricato 1958 volta(e).

lens.png

Best regards.
Alvaro.
3 utenti hanno apprezzato questo post
francesco rapuano 10/12/2024 23:05:00, NDTM Amarasekera 10/12/2024 23:16:00, Вячеслав Мезенцев 10/12/2024 23:19:00
#15 Pubblicato: 10/12/2024 21:35:39
Oscar Campo

Oscar Campo

135 apprezzamenti in 309 post.

Gruppo: Moderator

Wrote

Hi Valery. This is a way.

...

spherical aberration.sm (15,88 KiB) scaricato 1807 volta(e).

Best regards.
Alvaro.




Very elegant solution
1 utenti hanno apprezzato questo post
Alvaro 11/12/2024 06:18:00
#16 Pubblicato: 11/12/2024 03:06:13
Martin Kraska

Martin Kraska

1.361 apprezzamenti in 2.275 post.

Gruppo: Moderator

Root-free version of the spherical lens

spherical aberration_Kr.png
spherical aberration_Kr.sm (12,37 KiB) scaricato 1741 volta(e).

Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1 utenti hanno apprezzato questo post
Alvaro 11/12/2024 06:18:00
#17 Pubblicato: 11/12/2024 06:22:06
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Wrote

Very elegant solution



Gracias Oscar! Pero espérate tantito nomás para que veas lo que puede hacer un doc alemán.

Thanks Oscar! But wait a little longer so you can see what a German doctor can do.

Best regards.
Alvaro.




1 utenti hanno apprezzato questo post
Oscar Campo 11/12/2024 12:09:00
#18 Pubblicato: 12/12/2024 04:49:07
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

spherical aberration_Kr.png
Russia ☭ forever, Viacheslav N. Mezentsev
2 utenti hanno apprezzato questo post
Oscar Campo 12/12/2024 18:29:00, Alvaro 13/12/2024 07:27:00
  • Nuovi post
  • Nessun nuovo post