The Pythagorean Theorem in GKC! 🟩

Hello! Today I will be showing you all how to make The Pythagorean Theorem in GKC.


Materials Needed:

  • 4x Buttons
  • 3x Property
  • 2x Counters
  • 1x Lifecycle
  • 1x Text
  • 1x Trigger

What is the Pythagorean Theorem? [1]

It is this equation, that is used to find the hypotenuse of right triangles, and only right triangles[2]
It is written as A^2 + B^2 = C^2 [3]

Example Problem

What is the hypotenuse of a triangle when A = 8, and B = 6?

8^2 + 6^2 = C^2

Simplify the exponents.

64 + 36 = 100

Then find the square root of 100.

√100 = 10

So, in short, 8^2 + 6^2 = 10^2 whereas 10 is the hypotenuse.

Now let’s get started!


Instructions

Step 1

Lay down 4 buttons, and 2 counters.
Make the counters not visible too.
The interaction messages in the buttons are “Add 1 to A”, “Add 1 to B”, “Subtract 1 from A”, and “Subtract one from B”
Here is a layout of what is preferred. [4]

The Counters update two properties: A and B.
Wire the buttons to the counter.
If the button’s message has “A” in it, then you are wiring it to the “A” counter, same with “B”
If the button’s message has “subtract”, you decrement, but if it has “add”, then you increment the counter.
This is what you should have so far.


Step 2

Place a trigger down, it should not be visible on game start. [5] Wire each button to the trigger (Button Pressed → Trigger)
Open Blocks on the trigger, and put these in:


I would prefer you remove the variables, and put property “A” and “B” instead of the variables, but I’m only doing this so I can show you the whole chunk of blocks in one screenshot.


Step 3

Place down a text, and make a block that runs when receiving on “text change” then put the following blocks:

Do not tell me to put the “Convert Number to Text” block with the properties, because without it, the calculator is MUCH more accurate, test it out if you don’t believe me.


Step 4

Put a lifecycle down that runs on game start, and transmits on “text change”
Next place down 3 number properties, one named A, the other B, and the other C.


That was not that hard, was it?


Exit Poll: Difficulty
  • 1/10
  • 2/10
  • 3/10
  • 4/10
  • 5/10
  • 6/10
  • 7/10
  • 8/10
  • 9/10
  • 10/10
  • 11/10
0 voters

Cya!
Edit:
Erm what the ∑


  1. For those who don’t know ↩︎

  2. Other types of triangles don’t even have a hypotenuse ↩︎

  3. The ^ sign (carrot) is another way of saying ‘to the power of’ ↩︎

  4. Use the picture below to figure out which message goes to which problem. ↩︎

  5. Idc if it has player collision on or off ↩︎

9 Likes

First voter, nice guide.

4 Likes

Expanding onward in the math section of GKC! :smiley:

Nice guide.

4 Likes

I don’t like math

my tiny brain can't comprehend that
4 Likes

Heck nah You cant be doing this to me!!! AAA

2 Likes

Yea, I anticipated this so I added a whole section on what this is. Click this

2 Likes

Where step 4

8 Likes

oop
that’s embarrasing
making a math guide while bro can’t even count💀

5 Likes

Question is how would you use it in gkc?
Would it be somewhere in the coordinate system cat? Or would it be something else?
Also bh equals donut with how much he gets glazed nowadays :skull: i mean we all gave our part to the community he’s not really any different aside from mod status and everything he’s just a regular member of the community
Anyways back to the topic
why pythagorean theorum? Why not rate of change? Or something like that?

11 Likes

Lol, focusing on Pythagorean theorem in Algebra 1 rn, but what would this be used for (unless me being dum skipped something)?

1 Like

So I don’t have to do schoolwork, gimkit just does it for me😎/j

3 Likes

Im still learning slope intercept forms so i can uselessly input it into block code for some strange reason

3 Likes

Lol

3 Likes

y = mx+b? Idk I have a memory of a rock

5 Likes

I had idea for use but it is very niche. Math puzzle, and you have to find side lengths that fulfill the hypotenuse requirement (example: hypotenuse 10, solution b=8 and a=6).

3 Likes

I still struggle with it lol
Its the graphing the equation part that gets me
But rn im thinking of how to use these formulas in gkc

3 Likes

nice guide. good for math. good for easy.
what’s so bad about slope intercept form. y coord = (slope)(x coord) + (y intercept).
slope = change in y over change in x

3 Likes

ok but why

why gimkit

why not like scratch or something

i appreciate the pythagorean despite it being overglazed overused and overestimated (ok i sounded like a nerd there SOWWY) but this guide is like

it sounds like you made it just because u wanted to do math in gimkit which is OKAY i guess, but…

idrk man

@raeB hi

9 Likes

I mean, but why not?

2 Likes

grrr Why you ping me??? But yeah, it’s true, the Pythagorean theorem in Gimkit would probably not be useful. Trigonometric ratios are much more useful, I would say.

3 Likes