Cross-Product change and parentheses mismatch

hawe shared this problem 2 years ago
Solved

Can not load file after app crasch 5.x

Cross-Function call was replaced by Cross-Symbol and a mess raised up


Part of List T2(1) Input

{{(T1(1) + T1(2)) / 2, (T1(2) + T1(3)) / 2, (T1(3) + T1(1)) / 2,(T1(1) + T1(2) + T1(3))/3

+Cross( (-T1(1) + T1(3)) , (-T1(2) + T1(3)) )/sqrt( Cross((-T1(1) + T1(3)) , (-T1(2) + T1(3)) )^2)*s/2/3sqrt(6)}}


Part of List T2(1) picked up from XML-File

{{(T1(1) + T1(2)) / 2, (T1(2) + T1(3)) / 2, (T1(3) + T1(1)) / 2, (T1(1) + T1(2) + T1(3))/3

+ ((((-T1(1)) + T1(3)) ((-T1(2)) + T1(3)) / sqrt(((-T1(1)) + T1(3)) ((-T1(2)) + T1(3))^(2)) * s / 2 / 3) * sqrt(6))}


possible ( ... ) is a wrong set?


Any thing to repair?

I have had lists (T1-T3) up to step 3 (blue Tetrahedrons) of Kochs star. working on step 4.


https://www.geogebra.org/wo...

Comments (5)

photo
1

Thanks, we'll check!

photo
1

I can't see the comment sent via email?

The Input was

{{(T2(1,1) + T2(1,2)) / 2, (T2(1,2) + T2(1,3)) / 2, (T2(1,3) + T2(1,1)) / 2,(T2(1,1) + T2(1,2) + T2(1,3))/3+Cross( (-T2(1,1) + T2(1,3)) , (-T2(1,2) + T2(1,3)) )/sqrt( Cross((-T2(1,1) + T2(1,3)) , (-T2(1,2) + T2(1,3)) )^2)*s/4/3sqrt(6)},

{(T2(1,1) + T2(1,2)) / 2, (T2(1,1) + T2(1,3)) / 2, (T2(1,1) + T2(1,4)) / 2,((3T2(1,1) + T2(1,2) + T2(1,3) + T2(1,4)) / 2)/3+Cross((-T2(1,2) + T2(1,3)) , (-T2(1,2) + T2(1,4)) )/sqrt( Cross( (-T2(1,2) + T2(1,3)) , (-T2(1,2) + T2(1,4)) )^2)*s/2/3sqrt(6)},

{(T2(1,1) + T2(1,4)) / 2, (T2(1,1) + T2(1,2)) / 2, (T2(1,2) + T2(1,4)) / 2,1 / 3 T2(1,1) + 1 / 3 T2(1,2) + 1 / 3 T2(1,4)+Cross( T2(1,2) - T2(1,4), T2(1,1) - T2(1,2) ) /sqrt( Cross( T2(1,2) - T2(1,4), -T2(1,1) + T2(1,2) )^2)*s/2/3sqrt(6)},

{(T2(1,1) + T2(1,2)) / 2, (T2(1,2) + T2(1,3)) / 2, (T2(1,2) + T2(1,4)) / 2,1 / 6 T2(1,1) + 1 / 2 T2(1,2) + 1 / 6 T2(1,3) + 1 / 6 T2(1,4) + Cross(-T2(1,1) + T2(1,3), T2(1,1) - T2(1,4)) / sqrt(Cross(-T2(1,1) + T2(1,3), -T2(1,1) + T2(1,4))²) s / 2 / 3 sqrt(6)},

{(T2(1,2) + T2(1,4)) / 2, (T2(1,2) + T2(1,3)) / 2, (T2(1,3) + T2(1,4)) / 2,1 / 3 T2(1,2) + 1 / 3 T2(1,3) + 1 / 3 T2(1,4) + Cross(T2(1,3) - T2(1,4), T2(1,2) - T2(1,3)) / sqrt(Cross(T2(1,3) - T2(1,4), -T2(1,2) + T2(1,3))²) s / 2 / 3 sqrt(6)},

{(T2(1,2) + T2(1,3)) / 2, (T2(1,3) + T2(1,4)) / 2, (T2(1,3) + T2(1,1)) / 2,1 / 6 T2(1,1) + 1 / 6 T2(1,2) + 1 / 2 T2(1,3) + 1 / 6 T2(1,4) + Cross(-T2(1,2) + T2(1,4), T2(1,1) - T2(1,2)) / sqrt(Cross(-T2(1,2) + T2(1,4), T2(1,1) - T2(1,2))²) s / 2 / 3 sqrt(6)},

{(T2(1,1) + T2(1,4)) / 2, (T2(1,1) + T2(1,3)) / 2, (T2(1,3) + T2(1,4)) / 2,1 / 3 T2(1,1) + 1 / 3 T2(1,3) + 1 / 3 T2(1,4) + Cross(T2(1,3) - T2(1,4), -T2(1,1) + T2(1,3)) / sqrt(Cross(T2(1,3) - T2(1,4), -T2(1,1) + T2(1,3))²) s / 2 / 3 sqrt(6)},

{(T2(1,1) + T2(1,4)) / 2, (T2(1,2) + T2(1,4)) / 2, (T2(1,3) + T2(1,4)) / 2, 1 / 6 T2(1,1) + 1 / 6 T2(1,2) + 1 / 6 T2(1,3) + 1 / 2 T2(1,4) + Cross( T2(1,1) - T2(1,2), -T2(1,1) + T2(1,3)) / sqrt(Cross( -T2(1,1) + T2(1,2), -T2(1,1) + T2(1,3) )²) s / 2 / 3 sqrt(6)}}


and it worked - see image in load file dialog...


Cross was changed to Cross-Symbol


while working an error raised up due to the list above - this error raised up loading the backup file, too


Is it OK to use short-indexing T2(..) instead of Element(T2,..)?I make also a try to avoid the cross-product...

photo
1

Thanks! I think the problem is with the cross-product and brackets as you suggested

photo
1

Thank for dealing with..

BTW.:

In this project I noticed again, that when changing or creating 3D objects, edges that are marked as auxiliary objects with show labes attribut is set- this is extremely annoying and logically not plausible, if auxiliary object why should the edges are labeled?

photo
photo
1

Please try v631

© 2023 International GeoGebra Institute