sys: same calculation different result

sys: same calculation different result - Poruke

#1 Objavljeno: 18. 4. 2020. 09:27:08
haweHofmann

haweHofmann

3 svidjanja u 32 postova.

Grupa: 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 Objavljeno: 18. 4. 2020. 10:30:50
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 18. 4. 2020. 11:07:02
haweHofmann

haweHofmann

3 svidjanja u 32 postova.

Grupa: User

the 2 versions of sys
sys1.sm (23,38 KiB) preuzeto 1148 put(ova).
sys2.sm (29,85 KiB) preuzeto 1172 put(ova).

#4 Objavljeno: 18. 4. 2020. 12:28:12
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 18. 4. 2020. 13:11:20
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 18. 4. 2020. 16:54:47
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 KiB) preuzeto 1175 put(ova).

#7 Objavljeno: 18. 4. 2020. 17:41:53
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote

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


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

Rotate Gerono.sm (25,09 KiB) preuzeto 1172 put(ova).
#8 Objavljeno: 18. 4. 2020. 23:32:56
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: 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 Objavljeno: 19. 4. 2020. 08:15:53
haweHofmann

haweHofmann

3 svidjanja u 32 postova.

Grupa: 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.


  • Novi postovi
  • Nema novih postova