One more about lens

One more about lens - Mensajes

#1 Publicado: 1/12/2024 1:52:00
Valery Ochkov

Valery Ochkov

67 me gusta en 713 mensajes.

Grupo: User

How can we use here a Mathcad-block?
Lens-Mathcad-Block.sm (43,8 KiB) descargado 1840 vez(es).

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

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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
A 1 usuarios les gustó este mensaje
Valery Ochkov 2/12/2024 15:44:00
#3 Publicado: 1/12/2024 19:52:45
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: 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.

Archivo no encontrado.Archivo no encontrado.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
A 2 usuarios les gustó este mensaje
Valery Ochkov 2/12/2024 15:45:00, francesco rapuano 3/12/2024 4:21:00
#4 Publicado: 7/12/2024 13:02:58
Valery Ochkov

Valery Ochkov

67 me gusta en 713 mensajes.

Grupo: User

Mathcad Prime
Lens.png
Lens-MP-1.png
Lens-MP-2.png
#5 Publicado: 8/12/2024 1:05:34
Cornel

Cornel

2 me gusta en 78 mensajes.

Grupo: 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 Publicado: 8/12/2024 1:21:21
Valery Ochkov

Valery Ochkov

67 me gusta en 713 mensajes.

Grupo: 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 Publicado: 8/12/2024 2:29:44
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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 Publicado: 8/12/2024 3:54:39
Cornel

Cornel

2 me gusta en 78 mensajes.

Grupo: 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 Publicado: 8/12/2024 5:04:39
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: 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) descargado 2254 vez(es).
RKA.pdf (931,16 KiB) descargado 1722 vez(es).

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 Publicado: 8/12/2024 8:58:47
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Wrote

How can we use here a Mathcad-block?
Lens-Mathcad-Block.sm (43,8 KiB) descargado 1840 vez(es).

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) descargado 1813 vez(es).

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

Best regards.
Alvaro.
#11 Publicado: 9/12/2024 10:44:48
Valery Ochkov

Valery Ochkov

67 me gusta en 713 mensajes.

Grupo: User

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

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Hi Valery. This is a way.

lens.png

spherical aberration.sm (15,88 KiB) descargado 1802 vez(es).

Best regards.
Alvaro.
A 2 usuarios les gustó este mensaje
Oscar Campo 10/12/2024 9:43:00, Valery Ochkov 10/12/2024 12:26:00
#13 Publicado: 10/12/2024 12:38:25
Valery Ochkov

Valery Ochkov

67 me gusta en 713 mensajes.

Grupo: User

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

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

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

spherical aberration.sm (26,41 KiB) descargado 1951 vez(es).

lens.png

Best regards.
Alvaro.
A 3 usuarios les gustó este mensaje
francesco rapuano 10/12/2024 23:05:00, NDTM Amarasekera 10/12/2024 23:16:00, Вячеслав Мезенцев 10/12/2024 23:19:00
#15 Publicado: 10/12/2024 21:35:39
Oscar Campo

Oscar Campo

135 me gusta en 309 mensajes.

Grupo: Moderator

Wrote

Hi Valery. This is a way.

...

spherical aberration.sm (15,88 KiB) descargado 1802 vez(es).

Best regards.
Alvaro.




Very elegant solution
A 1 usuarios les gustó este mensaje
Alvaro 11/12/2024 6:18:00
#16 Publicado: 11/12/2024 3:06:13
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

Root-free version of the spherical lens

spherical aberration_Kr.png
spherical aberration_Kr.sm (12,37 KiB) descargado 1734 vez(es).

Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
A 1 usuarios les gustó este mensaje
Alvaro 11/12/2024 6:18:00
#17 Publicado: 11/12/2024 6:22:06
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: 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.




A 1 usuarios les gustó este mensaje
Oscar Campo 11/12/2024 12:09:00
#18 Publicado: 12/12/2024 4:49:07
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

spherical aberration_Kr.png
Russia ☭ forever, Viacheslav N. Mezentsev
A 2 usuarios les gustó este mensaje
Oscar Campo 12/12/2024 18:29:00, Alvaro 13/12/2024 7:27:00
  • Nuevos mensajes
  • Sin mensajes nuevos