Jump to content
IGNORED

Clear for Action ported to Geneve


Recommended Posts

FYI, this formula [DIST=((ABS(X1-X2)^2)+(ABS(Y1-Y2)^2))] matches CALL DISTANCE exactly.

here's a program from the TI99 that test the formula and compares with CALL DISTANCE.

90 CALL CLEAR
100 CALL SPRITE(#1,65,2,50,50,1,1)
105 CALL SPRITE(#2,75,2,60,60,_1,-1)
110 CALL DISTANCE(#1,#2,R)
120 CALL POSITION(#1,Y1,X1)
122 CALL POSITION(#2,Y2,X2)
127 D=((ABS(X1-X2)^2)+(ABS(Y1-Y2)^2))
130 DISPLAY AT(24,1):R
135 DISPLAY AT(23,1):D
140 GOTO 110

  • Like 3
Link to comment
Share on other sites

Why? - Because in groups, for each element there is exactly one inverse element, so you can easily derive that the inverse of the inverse element is the element itself. The proof is left as an exercise.

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

On 3/8/2023 at 6:22 PM, mizapf said:

Why? - Because in groups, for each element there is exactly one inverse element, so you can easily derive that the inverse of the inverse element is the element itself. The proof is left as an exercise.

 

funny, I was just teaching one of the kids this very thing a couple weeks ago and I totally forgot it. 😜

Link to comment
Share on other sites

It's a special fun to show students the proof why there is only one zero in a Boolean Algebra, and why not(not(A)) = A. You should see their faces. Most of them simply cannot imagine that there is something to prove at all.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...