Rank: Newbie
Groups: Registered
Joined: 30/08/2021(UTC) Posts: 5
|
a very simply question. unlike Matlab Mathtype the "for loop" is quit strange. The result should be that the statements s+jj are executed 100 times, jj is incresed by 1.0 each time Finally, s is the sum, and the result should be a number such as 5050. I use this example to verify the execution of the for loop so what is wrong with it ? forloop.sm (4kb) downloaded 20 time(s).Edited by user 10 September 2021 08:44:43(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 27/03/2019(UTC) Posts: 75 Location: coah Was thanked: 27 time(s) in 22 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,125 Was thanked: 506 time(s) in 337 post(s)
|
Fine here too, no problems. Is the Auto calculation enabled?
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 30/08/2021(UTC) Posts: 5
|
Originally Posted by: wty3000 a very simply question. unlike Matlab Mathtype the "for loop" is quit strange. The result should be that the statements s+jj are executed 100 times, jj is incresed by 1.0 each time Finally, s is the sum, and the result should be a number such as 5050. I use this example to verify the execution of the for loop so what is wrong with it ? forloop.sm (4kb) downloaded 20 time(s). after the software restarted, the for loop is OK thanks Edited by moderator 15 September 2021 15:29:18(UTC)
| Reason: marked as SOLVED
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,125 Was thanked: 506 time(s) in 337 post(s)
|
Originally Posted by: wty3000 after the software restarted, the for loop is OK
thanks So it was "four engineer joke" again.
|
|
|
|
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.