ScratchData LogoScratchData
Back to loopylizards1's profile

Cup Stacking (Triangle numbers simulation)

LOloopylizards1•Created January 31, 2022
Cup Stacking (Triangle numbers simulation)
0
0
5 views
View on Scratch

Instructions

Go inside, find the one line of code, and change the variable "#cupsInBase" to whatever number (default 10)

Description

Turn on turbo mode. Triangle numbers. Formula for calculating nth triangular number is ((n(n+1))/2) Proof: by induction 1+2+3+4... +n = (n(n+1))/2 if we can prove this is the same with n+1, it works for any number ((n(n+1))/2) + (n+1) = ((n(n+1)) + 2(n+1))/2 => ((n+2)(n+1))/2 => ((n+1)(n+2))/2 this final statement works out, if you substitute another variable for (n+1), you end up getting (p(p+1))/2 this

Project Details

Project ID636839975
CreatedJanuary 31, 2022
Last ModifiedJanuary 31, 2022
SharedJanuary 31, 2022
Visibilityvisible
CommentsAllowed