1 stranica (10 stavki)
How can I use not a for but a while cycle? - Poruke
See please the attached file.Newton.sm (23,6 KiB) preuzeto 1676 put(ova).
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 korisnika je svidelo ovu objavu
Valery Ochkov 10. 2. 2024. 14:37:00
As well, while associates with Bolean Critical region
Solve [Dichotomy_Newton_Secant] Copy.sm (52,75 KiB) preuzeto 1523 put(ova).
Solve [Dichotomy_Newton_Secant] Copy.sm (52,75 KiB) preuzeto 1523 put(ova).
1 korisnika je svidelo ovu objavu
Valery Ochkov 11. 2. 2024. 02:13:00
Wroteoots vs Newton
No interest vs the codes
mNewton() from the Maxima plugin is another option. It also may fail for particular initial guess values.
mNewton.sm (16,22 KiB) preuzeto 1691 put(ova).

mNewton.sm (16,22 KiB) preuzeto 1691 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 29. 2. 2024. 12:13:00
1 stranica (10 stavki)
- Novi postovi
- Nema novih postova

