This represents 1 liter of water How many

  • Slides: 29
Download presentation
This represents 1 liter of water.

This represents 1 liter of water.

How many liters will it take to fill this tank? How can we find

How many liters will it take to fill this tank? How can we find this? What do we know? L=4 liters long H=3 liters high W=3 liters wide

The bottom row is 3 by 4. 3 x 4=12

The bottom row is 3 by 4. 3 x 4=12

Now they are 3 layers of 12

Now they are 3 layers of 12

12 x 3=36 Liters 3 x 3 x 4=36 Lx. Hx. W=Volume

12 x 3=36 Liters 3 x 3 x 4=36 Lx. Hx. W=Volume

How many liters will it take to fill this tank? How can we find

How many liters will it take to fill this tank? How can we find this? What do we know? L=4 liters long H=3 liters high W=3 liters wide

Let’s measure the tank The length is 10 liters wide What do we know?

Let’s measure the tank The length is 10 liters wide What do we know? L=10 liters long

Let’s measure the tank The tank is 10 liters high What do we know?

Let’s measure the tank The tank is 10 liters high What do we know? L=10 liters long H=10 liters high

Let’s measure the tank The tankis 10 liters wide. What do we know? L=10

Let’s measure the tank The tankis 10 liters wide. What do we know? L=10 liters long H=10 liters high W=10 liters wide

How many liters of water are there in this tank?

How many liters of water are there in this tank?

10 x 10=1000 liters=1 kiloliter This holds 1 kiloliter

10 x 10=1000 liters=1 kiloliter This holds 1 kiloliter

The Big Idea: Water can be measured in units such as milliliters, and kiloliters.

The Big Idea: Water can be measured in units such as milliliters, and kiloliters. 1000 milliliters = 1 liter 1000 liters = kiloliter

The Fill Command /fill ~ ~L ~H ~W block At this point students should

The Fill Command /fill ~ ~L ~H ~W block At this point students should sign on to Minecraft on a flat grass creative world.

To write the fill command hit the “/” on the keyboard and write “fill

To write the fill command hit the “/” on the keyboard and write “fill in lowercase writing. /fill

This is a tilde ~ A tilde is used in code to tell the

This is a tilde ~ A tilde is used in code to tell the computer a number will be inputted. There are 2 set of 3 tildes in the fill command. The 1 st set is directional and we will not need them. The 2 nd set allows us it enter Length, Height, and Width.

Now put 3 tildes with spaces between them. To get a titda to show

Now put 3 tildes with spaces between them. To get a titda to show up push space and “tab” or push “shift and the tilde button the sametime. This set of 3 tildes are use for directional buildings and we will not need to put numbers on them. There is ALWAYS 1 SPACE BEFORE a tilde. Put in your 3 tildes with spaces and check a classmates code /fill ~ ~ ~

In the 2 nd set of 3 tildes enter the length of 4 and

In the 2 nd set of 3 tildes enter the length of 4 and height of 2 and a width of 6. Enter this into your code and check a classmates. There are NO SPACES between the tildes and numbers. /fill ~ ~4 ~2 ~6

Hit a space and enter your block, start to type the block name and

Hit a space and enter your block, start to type the block name and use the “tab” button to predict what block you want. The hit enter and run the code. /fill ~ ~4 ~2 ~6 gold_block

Did you get this? If so good job! What is funny about its measurements?

Did you get this? If so good job! What is funny about its measurements?

Break the corner were you came out of, that corner is important. It is

Break the corner were you came out of, that corner is important. It is the location point to start the code.

What is funny about its measurements? We ask for L=4 H=2 and W=6 but

What is funny about its measurements? We ask for L=4 H=2 and W=6 but we got L=5 H=3 W=7. What pattern do you see in these numbers. L W

If you said that the code increased all numbers by 1 you got it!

If you said that the code increased all numbers by 1 you got it! This is because in many coding languages 0 is counted as 1. So we will always need to lower the dimensions by 1 to write the fill command.

Let’s erase this, stand at your starting point and hit “/” and then the

Let’s erase this, stand at your starting point and hit “/” and then the up arrow. You will see your old code. Change your block to “air” /fill ~ ~4 ~2 ~6 gold_block to /fill ~ ~4 ~2 ~6 air

Now let's bring up the old code and lower the length, height, and width

Now let's bring up the old code and lower the length, height, and width by 1. /fill ~ ~4 ~2 ~6 gold_block to /fill ~ ~3 ~1 ~5 gold_block And we get a rectangular prism that is 4 long, 2 high and 6 wide.

Now write the fill command /fill ~ ~5 ~3 ~7 glass 0 hollow The

Now write the fill command /fill ~ ~5 ~3 ~7 glass 0 hollow The 0 after the glass is for a clear glass block. Change the number if you want your glass colored. Also, hit “tab” to spell words for you. If “tab” doesn’t work you have a bug in your code.

Did you get this?

Did you get this?

Mark your starting coner and mark the inside’s starting corner.

Mark your starting coner and mark the inside’s starting corner.

The inside of the tank is 4 long, 2 high and 6 wide. Use

The inside of the tank is 4 long, 2 high and 6 wide. Use the fill command to fill it with water. /fill ~ ~3 ~1 ~5 water

You have a tank!

You have a tank!