ScratchData LogoScratchData
Back to ErrorGamer2000's profile

Advanced Math Scripts

ERErrorGamer2000•Created March 24, 2022
Advanced Math Scripts
1
0
22 views
View on Scratch

Instructions

Please read entire instructions and notes to learn how to use the scripts in this project. A collection of more advanced math functions that scratch does not provide by default. To use, just place the scripts you want (or the entire sprite) in your backpack and use them in the projects you want. Note: If you are going to copy the 'math.combination` or 'math.permutation' blocks, make sure to also copy the 'math.factorial' block that it relies on. Please credit me in the project if you are going to use these scripts. I put good time into making them for you scratchers to use. This project currently includes: - math.logBase - math.pow - math.factoria - math.permutation - math.combination - math.csc - math.sec - math.cot

Description

All of the variables in the spite are local variables. They should copy over correctly, but you may need to fix them if any issues arise. Do not add anything to the 'math.temp' list. It is purely for the temporary values that these math blocks use (currently only math.factorial, but probably more in the future) and can screw up the math completely and cause the functions to return the wrong value. These functions set their return values in the variables formatted ${function name}Result so those will be what you use to get the final values. A small warning: if you are going to use the 'math.factorial' and 'math.combination' of 'math.permutation' blocks, make sure to save the result from 'math.factorial' to a different variable, because the 'math.combination' block relies upon 'math.factorial' and does not save the value. Sorry for the amount of information here.

Project Details

Project ID665338469
CreatedMarch 24, 2022
Last ModifiedMarch 30, 2022
SharedMarch 25, 2022
Visibilityvisible
CommentsAllowed