sys: same calculation different result

sys: same calculation different result - Сообщения

#1 Опубликовано: 18.04.2020 09:27:08
haweHofmann

haweHofmann

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

Группа: User

Copy from one page to an other shows different behavior of sys P

SMath Studio 0.99.6884 - [DreheRechteckVideo1.sm_]_2020-04-18_14-15-34.jpg

I know that eval will doctor (hello Jean :-) to the same result.
but why is eval necessary in the second case und how can I see if eval is necessary?
#2 Опубликовано: 18.04.2020 10:30:50
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Copy from one page to an other shows different behavior of sys P


Something in there does not cut the mustard.
Attach the creator document to be copied on blank sheet
Jean
#3 Опубликовано: 18.04.2020 11:07:02
haweHofmann

haweHofmann

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

Группа: User

the 2 versions of sys
sys1.sm (23 КиБ) скачан 31 раз(а).
sys2.sm (29 КиБ) скачан 26 раз(а).

#4 Опубликовано: 18.04.2020 12:28:12
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Copy from one page to an other shows different behavior of sys P


Not same α° between the two documents !
Again: too specific rectangular construction of polygon.
They are constructed from vertices coordinates.
That was exemplified few days ago [Area, Perimeter, Centroid]
Arc length on Engineering curve is partial perimeter,
it goes in triplet [A,P,C].
Jean
#5 Опубликовано: 18.04.2020 13:11:20
Jean Giraud

Jean Giraud

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

Группа: User

The other conceptual pitfall is your rotation.
rot(,) *[2*2] is commutative for only [2*2] systems [square/rectangle...]
The universal code for XY longer than [2*2] ... XY*rot(,)
If you don't follow this rule, Mathcad red, Smath error ...
#6 Опубликовано: 18.04.2020 16:54:47
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

The other conceptual pitfall is your rotation.


From there, you can compute [Area, Perimeter, Centroid]
as per the "Maths Polygon" previously posted.
As well for the native [full/reduced by list]
as for the rotated of any angle.
read NOT commutative

Rotate Gerono.sm (14 КиБ) скачан 28 раз(а).

#7 Опубликовано: 18.04.2020 17:41:53
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

From there, you can compute [Area, Perimeter, Centroid]


... complete the tour [A,P,C]

Rotate Gerono.sm (25 КиБ) скачан 27 раз(а).
#8 Опубликовано: 18.04.2020 23:32:56
overlord

overlord

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

Группа: Moderator

Difference between two calculation occurs because of numeric and symbolic optimization.
Just right click and select Optimization>Numeric for the copied formula in sys2.sm file
This false flag happens a lot. Nothing is wrong here. As usual, the culprit is optimization.

Regards
#9 Опубликовано: 19.04.2020 08:15:53
haweHofmann

haweHofmann

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

Группа: User

Wrote

As usual, the culprit is optimization.
Regards



Many thanks to hit the nuke of my question
and many thanks to Jean for pointing out problems which I do not see in my limited perspective.


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