One more about lens

One more about lens - Сообщения

#1 Опубликовано: 01.12.2024 01:52:00
Valery Ochkov

Valery Ochkov

55 сообщений из 633 понравились пользователям.

Группа: User

How can we use here a Mathcad-block?
Lens-Mathcad-Block.sm (43 КиБ) скачан 36 раз(а).

See too
https://en.smath.com/forum/yaf_postst25212_Lens.aspx
#2 Опубликовано: 01.12.2024 18:08:12
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 пользователям понравился этот пост
Valery Ochkov 02.12.2024 15:44:00
#3 Опубликовано: 01.12.2024 19:52:45
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: 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.

Файл не найден.Файл не найден.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
2 пользователям понравился этот пост
Valery Ochkov 02.12.2024 15:45:00, francesco rapuano 03.12.2024 04:21:00
#4 Опубликовано: 07.12.2024 13:02:58
Valery Ochkov

Valery Ochkov

55 сообщений из 633 понравились пользователям.

Группа: User

Mathcad Prime
Lens.png
Lens-MP-1.png
Lens-MP-2.png
#5 Опубликовано: 08.12.2024 01:05:34
Cornel

Cornel

2 сообщений из 78 понравились пользователям.

Группа: 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 Опубликовано: 08.12.2024 01:21:21
Valery Ochkov

Valery Ochkov

55 сообщений из 633 понравились пользователям.

Группа: 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 Опубликовано: 08.12.2024 02:29:44
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 Опубликовано: 08.12.2024 03:54:39
Cornel

Cornel

2 сообщений из 78 понравились пользователям.

Группа: 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 Опубликовано: 08.12.2024 05:04:39
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: 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 КиБ) скачан 85 раз(а).
RKA.pdf (931 КиБ) скачан 96 раз(а).

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 Опубликовано: 08.12.2024 08:58:47
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

Wrote

How can we use here a Mathcad-block?
Lens-Mathcad-Block.sm (43 КиБ) скачан 36 раз(а).

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 КиБ) скачан 26 раз(а).

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

Best regards.
Alvaro.
#11 Опубликовано: 09.12.2024 10:44:48
Valery Ochkov

Valery Ochkov

55 сообщений из 633 понравились пользователям.

Группа: User

How to create this picture
https://en.wikipedia.org/wiki/Spherical_aberration
aberration.png
#12 Опубликовано: 10.12.2024 04:11:05
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

Hi Valery. This is a way.

lens.png

spherical aberration.sm (15 КиБ) скачан 26 раз(а).

Best regards.
Alvaro.
2 пользователям понравился этот пост
Oscar Campo 10.12.2024 09:43:00, Valery Ochkov 10.12.2024 12:26:00
#13 Опубликовано: 10.12.2024 12:38:25
Valery Ochkov

Valery Ochkov

55 сообщений из 633 понравились пользователям.

Группа: User

Thanks!
The last step
Cyrcles.png
#14 Опубликовано: 10.12.2024 21:21:41
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

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

spherical aberration.sm (26 КиБ) скачан 32 раз(а).

lens.png

Best regards.
Alvaro.
3 пользователям понравился этот пост
francesco rapuano 10.12.2024 23:05:00, NDTM Amarasekera 10.12.2024 23:16:00, Вячеслав Мезенцев 10.12.2024 23:19:00
#15 Опубликовано: 10.12.2024 21:35:39
Oscar Campo

Oscar Campo

124 сообщений из 298 понравились пользователям.

Группа: Moderator

Wrote

Hi Valery. This is a way.

...

spherical aberration.sm (15 КиБ) скачан 26 раз(а).

Best regards.
Alvaro.




Very elegant solution
1 пользователям понравился этот пост
Alvaro Diaz Falconi 11.12.2024 06:18:00
#16 Опубликовано: 11.12.2024 03:06:13
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

Root-free version of the spherical lens

spherical aberration_Kr.png
spherical aberration_Kr.sm (12 КиБ) скачан 22 раз(а).

Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
Alvaro Diaz Falconi 11.12.2024 06:18:00
#17 Опубликовано: 11.12.2024 06:22:06
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: 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 пользователям понравился этот пост
Oscar Campo 11.12.2024 12:09:00
#18 Опубликовано: 12.12.2024 04:49:07
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

spherical aberration_Kr.png
Russia ☭ forever, Viacheslav N. Mezentsev
2 пользователям понравился этот пост
Oscar Campo 12.12.2024 18:29:00, Alvaro Diaz Falconi 13.12.2024 07:27:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений