Created
December 17, 2019 16:58
-
-
Save gmisail/2a87c1f059b674495d4fe24b00fe45b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Disp "V1: " | |
Input "X: ",A | |
Input "Y: ",B | |
Input "Z: ",C | |
Disp "V2: " | |
Input "X: ",D | |
Input "Y: ",E | |
Input "Z: ",F | |
Input "DOT (0) OR CROSS (1)? ",T | |
If T=0 | |
Then | |
A*D→X | |
X+B*E→X | |
X+C*F→X | |
Disp "Result: ",X | |
Else | |
(B*F)-(C*E)→X | |
(C*D)-(A*F)→Y | |
(A*E)-(B*D)→Z | |
Disp "X ",X | |
Disp "Y ",Y | |
Disp "Z ",Z | |
End |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment