Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline OchkovVF  
#1 Posted : 07 September 2023 17:05:14(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 339
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
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 (12kb) downloaded 10 time(s).

Edited by moderator 08 September 2023 12:53:02(UTC)  | Reason: marked as SOLVED (not a bug)

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline PompelmoTell  
#2 Posted : 07 September 2023 17:47:49(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 319
Man
Italy
Location: italy

Was thanked: 109 time(s) in 93 post(s)
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
thanks 1 user thanked PompelmoTell for this useful post.
on 07/09/2023(UTC)
Offline alyles  
#3 Posted : 07 September 2023 17:58:54(UTC)
alyles


Rank: Advanced Member

Groups: Registered
Joined: 23/03/2016(UTC)
Posts: 277
United States

Was thanked: 91 time(s) in 57 post(s)
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
Offline Davide Carpi  
#4 Posted : 07 September 2023 18:00:34(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,648
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Originally Posted by: PompelmoTell Go to Quoted Post
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 consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 2 users thanked Davide Carpi for this useful post.
on 07/09/2023(UTC),  on 07/09/2023(UTC)
Offline oscampo  
#5 Posted : 07 September 2023 18:01:59(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 248
Man
Colombia
Location: Cali, Colombia

Was thanked: 87 time(s) in 66 post(s)
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

Edited by user 07 September 2023 18:06:56(UTC)  | Reason: Not specified

thanks 1 user thanked oscampo for this useful post.
on 07/09/2023(UTC)
Offline OchkovVF  
#6 Posted : 07 September 2023 19:43:13(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 339
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
Better so
S-Sum.png
thanks 1 user thanked OchkovVF for this useful post.
on 08/09/2023(UTC)
Offline Razonar  
#7 Posted : 07 September 2023 20:24:15(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: OchkovVF Go to Quoted Post
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.

Edited by user 07 September 2023 20:26:28(UTC)  | Reason: Not specified

Offline OchkovVF  
#8 Posted : 07 September 2023 21:28:30(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 339
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
It if Mathcad 15

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

lnx.png

Users browsing this topic
Guest
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.