One more about lens

One more about lens - Poruke

#1 Objavljeno: 1. 12. 2024. 01:52:00
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

How can we use here a Mathcad-block?
Lens-Mathcad-Block.sm (43,8 KiB) preuzeto 1876 put(ova).

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

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

1.558 svidjanja u 1.868 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Valery Ochkov 2. 12. 2024. 15:44:00
#3 Objavljeno: 1. 12. 2024. 19:52:45
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

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

Fajl nije pronađen.Fajl nije pronađen.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
2 korisnika je svidelo ovu objavu
Valery Ochkov 2. 12. 2024. 15:45:00, francesco rapuano 3. 12. 2024. 04:21:00
#4 Objavljeno: 7. 12. 2024. 13:02:58
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

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

Cornel

2 svidjanja u 78 postova.

Grupa: 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 Objavljeno: 8. 12. 2024. 01:21:21
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: 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 Objavljeno: 8. 12. 2024. 02:29:44
Вячеслав Мезенцев

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

1.558 svidjanja u 1.868 postova.

Grupa: 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 Objavljeno: 8. 12. 2024. 03:54:39
Cornel

Cornel

2 svidjanja u 78 postova.

Grupa: 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 Objavljeno: 8. 12. 2024. 05:04:39
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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) preuzeto 2313 put(ova).
RKA.pdf (931,16 KiB) preuzeto 1819 put(ova).

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 Objavljeno: 8. 12. 2024. 08:58:47
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

Wrote

How can we use here a Mathcad-block?
Lens-Mathcad-Block.sm (43,8 KiB) preuzeto 1876 put(ova).

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) preuzeto 1849 put(ova).

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

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

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

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

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

Hi Valery. This is a way.

lens.png

spherical aberration.sm (15,88 KiB) preuzeto 1841 put(ova).

Best regards.
Alvaro.
2 korisnika je svidelo ovu objavu
Oscar Campo 10. 12. 2024. 09:43:00, Valery Ochkov 10. 12. 2024. 12:26:00
#13 Objavljeno: 10. 12. 2024. 12:38:25
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

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

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

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

spherical aberration.sm (26,41 KiB) preuzeto 2008 put(ova).

lens.png

Best regards.
Alvaro.
3 korisnika je svidelo ovu objavu
francesco rapuano 10. 12. 2024. 23:05:00, NDTM Amarasekera 10. 12. 2024. 23:16:00, Вячеслав Мезенцев 10. 12. 2024. 23:19:00
#15 Objavljeno: 10. 12. 2024. 21:35:39
Oscar Campo

Oscar Campo

135 svidjanja u 309 postova.

Grupa: Moderator

Wrote

Hi Valery. This is a way.

...

spherical aberration.sm (15,88 KiB) preuzeto 1841 put(ova).

Best regards.
Alvaro.




Very elegant solution
1 korisnika je svidelo ovu objavu
Alvaro 11. 12. 2024. 06:18:00
#16 Objavljeno: 11. 12. 2024. 03:06:13
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: Moderator

Root-free version of the spherical lens

spherical aberration_Kr.png
spherical aberration_Kr.sm (12,37 KiB) preuzeto 1767 put(ova).

Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1 korisnika je svidelo ovu objavu
Alvaro 11. 12. 2024. 06:18:00
#17 Objavljeno: 11. 12. 2024. 06:22:06
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Oscar Campo 11. 12. 2024. 12:09:00
#18 Objavljeno: 12. 12. 2024. 04:49:07
Вячеслав Мезенцев

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

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

spherical aberration_Kr.png
Russia ☭ forever, Viacheslav N. Mezentsev
2 korisnika je svidelo ovu objavu
Oscar Campo 12. 12. 2024. 18:29:00, Alvaro 13. 12. 2024. 07:27:00
  • Novi postovi
  • Nema novih postova