SMath Studio Forum
»
SMath Studio
»
Questions
»
[gelöst] Problem mit While - Loop
Rank: Member Groups: Registered
Joined: 18/07/2018(UTC) Posts: 14
|
Hallo zusammen, wo liegt der Fehler des While - Loops? weshalb wird er nur einmal durchlaufen? Was mache ich falsch? Was habe ich nicht verstanden? verbesserte-Druckfederberechnung.sm (78kb) downloaded 13 time(s).Mit freundlichem Gruß Werner Edited by user 11 September 2022 20:34:13(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 508 time(s) in 338 post(s)
|
Originally Posted by: wega Hallo zusammen,
wo liegt der Fehler des While - Loops? weshalb wird er nur einmal durchlaufen? Was mache ich falsch? Was habe ich nicht verstanden?
Mit freundlichem Gruß Werner When you define a1:=a2 it makes (a2-a1)/a1 equals to 0. And it is less then 10^-3, so it concludes while(). This should work for your loop. Regards
|
|
|
|
Rank: Member Groups: Registered
Joined: 18/07/2018(UTC) Posts: 14
|
Danke für diese Hilfe.
mit freundlichem Gruß Werner
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
[gelöst] Problem mit While - Loop
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.