Ellipse and... go to bugs

Ellipse and... go to bugs - Is it one SMath bug? - Сообщения

#1 Опубликовано: 07.09.2023 11:05:14
Valery Ochkov

Valery Ochkov

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

Группа: User

My students were building a multifocal ellipse and... almost went crazy. My ellipse is correct, but the student's is incorrect. Although the formulas are the same.
Can you guess where the error is and whether it is necessary to modify SMath so that such an error is visible?
Do you know more some examples?
Ellipse4.png
Ellipse4.sm (11 КиБ) скачан 32 раз(а).
#2 Опубликовано: 07.09.2023 11:47:49
sergio

sergio

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

Группа: User

In fact only apparently the written formula is the same but in the first case "S" is outside the summation while in the second case it is inside the summation. You can verify this by copying and pasting the two formulas into a text editor.

Показать спойлер


sergio
1 пользователям понравился этот пост
Valery Ochkov 07.09.2023 13:42:00
#3 Опубликовано: 07.09.2023 11:58:54
Arie

Arie

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

Группа: User

Further illustrated by adding parenthesis around the summation in each formula

Показать спойлер

Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#4 Опубликовано: 07.09.2023 12:00:34
Davide Carpi

Davide Carpi

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

Группа: Moderator

Wrote

In fact only apparently the written formula is the same but in the first case "S" is outside the summation while in the second case it is inside the summation. You can verify this by copying and pasting the two formulas into a text editor.

Показать спойлер


sergio



You can also select/double-click the sum symbol to check what belongs to it.

2023-09-07 16_58_16-SMath Solver - [Ellipse4.sm].png

2023-09-07 16_58_04-SMath Solver - [Ellipse4.sm].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
2 пользователям понравился этот пост
sergio 07.09.2023 12:26:00, Valery Ochkov 07.09.2023 13:42:00
#5 Опубликовано: 07.09.2023 12:01:59
Oscar Campo

Oscar Campo

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

Группа: Moderator

The problem is that in the first Ellipse(x,y) definition, variable S is outside Sum function, but in the definition of your students is inside:

Your definition:
Ellipse(x,y):sum(sqrt((x-el(X.F,i))^2+(y-el(Y.F,i))^2),i,1,N)-S

Student´s definition:
Ellipse(x,y):sum(sqrt((x-el(X.F,i))^2+(y-el(Y.F,i))^2)-S,i,1,N)


Maybe, this explicit form is most clear for students:
Ellipse.PNG
1 пользователям понравился этот пост
Valery Ochkov 07.09.2023 13:42:00
#6 Опубликовано: 07.09.2023 13:43:13
Valery Ochkov

Valery Ochkov

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

Группа: User

Better so
S-Sum.png
1 пользователям понравился этот пост
Davide Carpi 08.09.2023 06:52:00
#7 Опубликовано: 07.09.2023 14:24:15
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

Wrote

Better so ...



You can tell your students that you are using the Note under Example 3 of point 7.1.3 of ISO 80000-1:2009(E) Quantities and units, Part 1: General.

Clipboard01.png

Best regards.
Alvaro.
#8 Опубликовано: 07.09.2023 15:28:30
Valery Ochkov

Valery Ochkov

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

Группа: User

It if Mathcad 15

1 ln(x)
2 ln*x - why not

lnx.png

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