#21

Great! So how do we do it? Just type it up and post it here?

#22

Yep! We can peice them all together when we are done! Use this for sin and cos:

Name of Math Operation
(Description of what it is)

How it works
(Description of how it works)

#23

Okay! I'll make the CoSine one now!

Then maybe later I'll improve it something

#24

# Modulo

Modulo is a very unused block but it can be very important for math equations. Basically it is the remainder of a division problem.

How it works
Modulo is set up like this:
___ % ___
This means ___ divided by ___. Modulo isn't the answer to a division problem, it is the remainder of the division problem. For example:

6 divided by 4 is 1, with a remainder of 2. So 2 would be the outcome of your Modulo.
It would look like this: 6 % 4

Another example:
6 % 2
A lot of the time there is no remainder, so the outcome would be 0 because 6 divided by 2 is 3, with no remainder.
6 % 2 = 0

#25

EDIT: ooh wait, we should use

These things

#26
Here!

Name of Math Operation(Description of what it is)

Name: Cos a trigonometric function

Name: Sin another trigonometric function

How it works(Description of how it works)

You usually use it in a Set Position block, putting one in the X and one in the Y. Then you choose how wide and tall you want the arc and where it will be. The first blank in each block will be how wide (for X) or tall (for Y) the circle/oval will be. The second block is where the object will be, on the circumference of the arc. Usually you use a value here and make the value change, so that the object goes around the circle. Last is the centre. This is basically the X and Y position of the centre of the circle. The arc will form around this point. So, if you want a circle in the middle of the screen, you'd use half of the length of the device for the X, and half of the height for the Y.

Well that was long :0

Icedsickle's Coding Corner 4 Beginners and Everybody Else too
Sine? Cosine? Wut
#27
Modulo

Modulo is a very unused block but it can be very important for math equations. Basically it is the remainder of a division problem.

How it works
Modulo is set up like this:
___ % ___
This means ___ divided by ___. Modulo isn't the answer to a division problem, it is the remainder of the division problem. For example:

6 divided by 4 is 1, with a remainder of 2. So 2 would be the outcome of your Modulo.
It would look like this: 6 % 4

Another example:
6 % 2
A lot of the time there is no remainder, so the outcome would be 0 because 6 divided by 2 is 3, with no remainder.
6 % 2 = 0

#28

We should put all of them like that^^^ in a list so it's easy to find stuff

#29

Awesome job on the Cosine!

#30

Thanks and

#31

@KVJ
I put them in there​️ When we add a new one we can add it to the list

EDIT: for some reaosn sin/cousin isn't going in "hide details

Sin/Cosine

You usually use it in a Set Position block, putting one in the X and one in the Y. Then you choose how wide and tall you want the arc and where it will be. The first blank in each block will be how wide (for X) or tall (for Y) the circle/oval will be. The second block is where the object will be, on the circumference of the arc. Usually you use a value here and make the value change, so that the object goes around the circle. Last is the centre. This is basically the X and Y position of the centre of the circle. The arc will form around this point. So, if you want a circle in the middle of the screen, you'd use half of the length of the device for the X, and half of the height for the Y.

Modulo

Modulo is a very unused block but it can be very important for math equations. Basically it is the remainder of a division problem.
How it Works
Modulo is set up like this:
___ % ___
This means ___ divided by ___. Modulo isn't the answer to a division problem, it is the remainder of the division problem. For example:

6 divided by 4 is 1, with a remainder of 2. So 2 would be the outcome of your Modulo.
It would look like this: 6 % 4
Another example:
6 % 2
A lot of the time there is no remainder, so the outcome would be 0 because 6 divided by 2 is 3, with no remainder.
6 % 2 = 0

Hopscotch Academy - Always accepting new students and teachers!
Sine And Cosine Help
#32

For the CoSine bit, put the [details=Sin/Cosine] on a seperate paragraph. Just like

this

#33

Ah, got it thanks!

#34

So, what to do now?

#35

Now we can each do another one​ I can do Absolute Value

#36
Sin/Cosine

You usually use it in a Set Position block, putting one in the X and one in the Y. Then you choose how wide and tall you want the arc and where it will be. The first blank in each block will be how wide (for X) or tall (for Y) the circle/oval will be. The second block is where the object will be, on the circumference of the arc. Usually you use a value here and make the value change, so that the object goes around the circle. Last is the centre. This is basically the X and Y position of the centre of the circle. The arc will form around this point. So, if you want a circle in the middle of the screen, you'd use half of the length of the device for the X, and half of the height for the Y.

Modulo

Modulo is a very unused block but it can be very important for math equations. Basically it is the remainder of a division problem.
How it Works
Modulo is set up like this:
___ % ___
This means ___ divided by ___. Modulo isn't the answer to a division problem, it is the remainder of the division problem. For example:

6 divided by 4 is 1, with a remainder of 2. So 2 would be the outcome of your Modulo.
It would look like this: 6 % 4
Another example:
6 % 2
A lot of the time there is no remainder, so the outcome would be 0 because 6 divided by 2 is 3, with no remainder.
6 % 2 = 0

Absolute Value

Absolute value is pretty simple. It is the distance from 0. For example, if you put in 5 for absolute value, the answer will be 5 because 5 is 5 away from 0. If it was -5 then the answer would be 5 because it is still 5 away from 0. Absolute value can never be a negative number.

#37

Kewl. What should I do?

#38

You could do:
Rounding
Power
Square root

Or anything else

#39

Hmm. I don't really know those so well - at least not in projects.

I might have a quick play with them on HS before choosing one if that's okay?

#40

That's fine! You could also do the "random" block