1 страниц (10 вхождений)
How can I use not a for but a while cycle? - Сообщения
#1 Опубликовано: 09.02.2024 21:27:16
See please the attached file.Newton.sm (23 КиБ) скачан 32 раз(а).
#2 Опубликовано: 09.02.2024 23:38:00
Greetings,
Instead of using for(3); you can use for(4):
The four parameter 「for(4)」 gives you the ability to loop while checking a condition. Below is the description of for( {0}, {1}, {2}, {3} )
example:
Where 'i' starts at 1 and until i is no longer less than 10, perform operation of k:=2*i. Apply operation i:=i+2 and check if less then 10...; LOOP!
May this be of Good Help;
⚜ Kenny Lemens, P.E. ᵂᴵ
Instead of using for(3); you can use for(4):
for ▮, ▮, ▮
▮
▮
The four parameter 「for(4)」 gives you the ability to loop while checking a condition. Below is the description of for( {0}, {1}, {2}, {3} )
"For loop. The function of controlled iterations. The cycle repeats {3}, while {0} satisfies the condition {1} and after each passage necessarily satisfied {2}. Repeating expressions can be set to any number of expressions."
example:
for i:=1, i<10, i:=i+2
k:=2*i
k:=2*i
Where 'i' starts at 1 and until i is no longer less than 10, perform operation of k:=2*i. Apply operation i:=i+2 and check if less then 10...; LOOP!
May this be of Good Help;
⚜ Kenny Lemens, P.E. ᵂᴵ
"No matter where you go, there you are." -Buckaroo BanzaiHotkeys: https://en.smath.com/forum/resource.ashx?a=45771&b=2
1 пользователям понравился этот пост
Valery Ochkov 10.02.2024 14:37:00
#3 Опубликовано: 10.02.2024 14:38:31
#4 Опубликовано: 10.02.2024 18:38:42
1 пользователям понравился этот пост
Valery Ochkov 10.02.2024 19:44:00
#5 Опубликовано: 11.02.2024 01:58:11
As well, while associates with Bolean Critical region
Solve [Dichotomy_Newton_Secant] Copy.sm (52 КиБ) скачан 26 раз(а).
Solve [Dichotomy_Newton_Secant] Copy.sm (52 КиБ) скачан 26 раз(а).
1 пользователям понравился этот пост
Valery Ochkov 11.02.2024 02:13:00
#6 Опубликовано: 11.02.2024 02:53:28
#7 Опубликовано: 11.02.2024 07:55:50
Wroteoots vs Newton
No interest vs the codes
#8 Опубликовано: 11.02.2024 13:41:06
#9 Опубликовано: 11.02.2024 21:59:12
#10 Опубликовано: 13.02.2024 06:19:59
mNewton() from the Maxima plugin is another option. It also may fail for particular initial guess values.
mNewton.sm (16 КиБ) скачан 27 раз(а).

mNewton.sm (16 КиБ) скачан 27 раз(а).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
Alvaro Diaz Falconi 29.02.2024 12:13:00
1 страниц (10 вхождений)
-
Новые сообщения
-
Нет новых сообщений