for loop programing issues

for loop programing issues - Сообщения

#1 Опубликовано: 10.09.2021 02:02:33
wty3000

wty3000

0 сообщений из 5 понравились пользователям.

Группа: User

a very simply question.
unlike Matlab Mathtype the "for loop" is quit strange. for loop.png

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 (3 КиБ) скачан 39 раз(а).
#2 Опубликовано: 10.09.2021 10:02:27
churichuro

churichuro

28 сообщений из 79 понравились пользователям.

Группа: User

It works well for me
#3 Опубликовано: 10.09.2021 10:10:00
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

Fine here too, no problems.
Is the Auto calculation enabled?
#4 Опубликовано: 15.09.2021 00:30:44
wty3000

wty3000

0 сообщений из 5 понравились пользователям.

Группа: User

Wrote

a very simply question.
unlike Matlab Mathtype the "for loop" is quit strange. for loop.png

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 (3 КиБ) скачан 39 раз(а).



after the software restarted, the for loop is OK

thanks
#5 Опубликовано: 15.09.2021 08:43:49
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Sum Algo.PNG
#6 Опубликовано: 15.09.2021 14:29:04
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

Wrote

after the software restarted, the for loop is OK

thanks


So it was "four engineer joke" again.


  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений