Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline wega  
#1 Posted : 11 September 2022 18:32:49(UTC)
wega

Rank: Newbie

Groups: Registered
Joined: 18/07/2018(UTC)
Posts: 9
Germany

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 12 time(s).

Mit freundlichem Gruß
Werner

Edited by user 11 September 2022 20:34:13(UTC)  | Reason: Not specified

Offline overlord  
#2 Posted : 11 September 2022 19:45:38(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 853
Turkey

Was thanked: 320 time(s) in 220 post(s)
Originally Posted by: wega Go to Quoted Post
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

2022-09-11_19-42.png
Offline wega  
#3 Posted : 11 September 2022 20:31:35(UTC)
wega

Rank: Newbie

Groups: Registered
Joined: 18/07/2018(UTC)
Posts: 9
Germany

Danke für diese Hilfe.

mit freundlichem Gruß
Werner
Users browsing this topic
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.