AISubs
The new semester has begun after the summer vacation.
The children are excited and excited.
Yes, a programming class that was supposed to start in April at many schools is waiting.
But it's also true that they don't know how to learn programming.
So, a new project to learn programming easily starts.
The catchphrase is, I want to know now.
Programming is actually deeply embedded in our lives.
The fireworks of Amuro Namie are also launched by programming.
Everyone wants to know about the company's social sciences.
Create a homepage with programming.
Programming stars who changed the world with the power of programming also appear one after another.
Pro star members challenge programming.
The way to pass may not be easy.
Now, let's have fun and learn while playing.
This time, I challenge programming to write multidimensional with Scratch.
Create a homepage of a new yakitori store.
I want to know now. Go for it! Programming star!
Good morning, Shingi and Iori!
Good morning!
Hi!
Today, you two are going to learn programming!
Oh, you two!
You've been doing online classes because of COVID-19, right?
Now that you can go out on location, the other members are going on location.
It's delicious.
You're all going on location, right?
I want to go on location, too.
Wait a minute.
I don't want to do it.
That's how you do it.
No, no.
Even if you can go on location, the class you do in the studio is an important corner that helps the viewers.
That's where you have to ask the two of you, the key to the show.
You're all a little up there, aren't you?
That's what we need.
Speaking of Shingi's specialty in this class...
Mathematics!
Today, we're going to use Scratch to learn multidimensional systems that we learned in the fifth grade of elementary school.
Yes, I miss it.
Let's see what happens when you write a square and a rectangle in programming.
A square with all four sides of the same length.
A rectangle with all three sides of the same length.
60, 60, 60.
Oh, yeah, yeah, yeah.
Shinji, who is good at math, has already been noticed by the Cabinet.
But don't worry, Iori.
What's important in class is this notice.
That's a big step.
So, what is the inner square of a square?
The size of one square is 90 degrees.
Oh, that's a hint.
It's a square, right?
How many cards are there?
There are four.
4x9 is 36.
And?
366!
Oh, that's good.
You said it in a rap style.
Yeah.
Then, let's draw a line connecting the diagonal lines of this square.
Then, we have two triangles, right?
Yeah.
So, half of 360 degrees is the inner circle of a triangle.
Yeah.
So, Iori, what is the inner circle of a triangle?
The inner circle of a triangle?
Yeah.
It's divided into two squares.
Oh, it's divided into two squares.
So, it's 180 degrees.
That's right.
That's correct.
In the case of a triangle,
whether it's a two-sided triangle or a rectangular triangle,
the inner circle of a triangle is 180 degrees.
A square, a diamond, or a cube are all 360 degrees.
That's interesting.
I want you to build up your knowledge in the study of shapes.
So, please express what you've learned in this multidimensional class.
Yes.
I got it.
Well, let's do some exercise to build up your knowledge.
Let's do it.
Here it is.
Can you guess how many triangles there are in this?
Please look for them.
Triangles?
1, 2, 3, 4, 5, 6, 7, 8, 9.
A square.
Shinji, what's the answer?
13.
Well, Yori.
Yes.
13.
It's the same.
I got it.
I'm a little worried.
First of all, there are 9 small triangles in a big triangle.
9?
Yes.
And there are 3 red, blue, and green triangles.
And there is 1 big triangle.
The answer is 13.
Both of you are correct.
I got it.
I did it.
This is called a square of a triangle.
It's also studied in math in the 3rd grade of elementary school.
There is a discovery when you square a diagram.
You're right.
This square of a triangle fits perfectly without a gap.
Yes.
In this way, there is no gap in one type of multilinear.
On the plane, there are only three things, a triangle, a square, and a hexagon.
Once you've done the head exercise, you'll have to draw a triangle and a square in programming,
but in the end, you'll have to use that figure to draw whatever pattern you like.
Prosta-chan, what kind of pattern will you be able to draw?
Here is my work.
Wow, it's beautiful.
Beautiful, beautiful, it's really beautiful.
I made this by combining the same-sized squares and triangles and changing the colors little by little.
I was suddenly shown a difficult task.
I'm a little nervous. What should I do?
Let's start programming.
Prosta-chan, let's get started.
Okay.
Let's start with the squares.
Okay.
This time, I'm going to add a palette and a pen in Scratch.
Okay.
First, click on the block mark at the bottom left.
Various expansion functions will appear.
Oh, it's true.
Select a pen from here and click.
Now, a pen palette has been added.
Next, select when the space key is pressed from the event palette.
And from the pen palette, connect the pen down below.
Pen down?
By adding a pen down block, you can draw a line according to the movement of the sprite.
Hmm.
I see.
Then, from the movement palette, click on the button to move it by 10 steps.
Then, change the number 10 to 100.
If you don't enter the number by a half-angle, it will be an error, so be careful.
Next, from the movement palette, select the arrow to the left, turn it by 15 degrees, and connect it to the bottom.
Let's delete this 15 number.
Delete?
Yes.
Next, select 10 times from the control palette and insert the previous two blocks.
Yes.
Finally, since we will draw a square, let's make the number of repetitions 4.
With this, I was able to program to repeat the movement of changing the angle by 10 steps 4 times.
After that, please think about how many times you can draw a square by entering the number in the part of how many times you turn it.
Think about it yourself.
Eh?
1, 2.
Walk 100 steps.
2, 3.
Eh?
Well, it's normal.
Is it normal?
It's normal.
Let's try it.
After this, we will implement programming to draw a square.
This program is provided by PLOST of Programming Learning System.
Today's first mission is to draw a square.
Can they do programming?
First, let's see Shinji's programming.
Here we go.
It's fast.
Shinji is correct.
Next, let's see Iori's programming.
Here we go.
It's fast.
It's fast, isn't it?
It's fast.
Both of you did well.
The number in this is 90 degrees.
Did you get it?
Next, let's draw a triangle with programming.
PLOST, please explain the code.
When the space key of each programming is pressed, right-click on the square you just drew and duplicate it.
This time, instead of pressing the space key at the top, I want to press 1, so please change it to 1.
If you click on the triangle next to the space, scroll down and check it out.
From now on, let's think about programming ourselves so that we can draw a triangle.
If you combine the number of angles and repetitions, you can draw a proper triangle.
It seems that both of them are worried, but let's take a look at Shinji's.
What's going on with Shinji's programming?
I don't know what's going on.
I made a mistake.
I made it 60 degrees three times.
It's a nice error.
I have something to say.
If you follow the basic theory of squares, it will be like this.
Next, let's take a look at Yori's programming.
It's the same.
Yori's is also a nice error.
The correct answer is 120 degrees.
120 degrees?
The inner angle of a square is 60 degrees.
If you add a line there, it becomes 120 degrees.
By drawing this line, the angle that comes out is called the outer angle.
The reason why they couldn't draw a right triangle was because they didn't realize this outer angle.
So, how do you find the angle of the outer angle?
At first glance, it doesn't seem to have an angle, but the straight line angle is 180 degrees, right?
So, you can calculate it by subtracting 60 degrees of the inner angle of the right triangle from the 180 degrees of the straight line.
It's easy, isn't it?
180 minus 60 is 120 degrees.
In other words, the number 120 degrees of the outer angle is the number to be entered into the rotation palette when drawing a right triangle.
Of course, it's 120 degrees.
That's right!
Like this!
The inner angle of the square is 90 degrees, so the outer angle is also 90 degrees.
It's the same number, so even if you enter the angle of rotation in the same way as the inner angle, you can draw a square.
The outer angle and the inner angle of a right triangle are different.
That's why they couldn't draw a right triangle.
I see.
In other words, in order to draw a polygon in programming, you need to find not only the inner angle, but also the angle of the outer angle.
Next, we will make a home page of the extracurricular class and cover the ultimate P.K.G.
The PR strategy of the extracurricular class.
Let's make an original home page.
This time, we will cover the yakitori Miyagawa in Tokyo Port.
Based on the particularity of the restaurant we have covered so far and the charm of cooking,
we will announce the secret of making a restaurant that is popular on the home page.
Yakitori Miyagawa has a huge number of customers due to the influence of the new coronavirus.
They are planning to regain their customer base through a certain menu.
This is a specialty that was originally there.
It's called a great omelet rice.
Great omelet rice.
Is it amazing?
It's amazing.
It's even more so that you can sell it on SNS.
Great omelet rice.
The naming that makes you want to go to the store.
Let's make it together.
Before that, I'm a little worried about this.
Yes.
What is this?
This is a work process table for each position in the store.
It's amazing.
Even the time.
Since the time of the coronavirus, the number of people has been limited.
In order to make it more efficient,
we talked about which order is the most efficient.
Have you ever seen this somewhere?
Yes.
A flow chart that is also useful for programming.
A flow chart is a diagram of thought circuits and work procedures.
You can organize the complex work process so that it is easy for everyone to understand.
It's the same as programming in order.
In the case of Miyagawa-san,
a detailed list of what to prepare for before the store opens.
It is arranged in order along the time axis.
If you prepare according to this flow chart,
even if you are an unfamiliar part-time job,
you can prepare for the store without making a mistake, so you can rest assured.
If you feel that the procedure is different,
just replace the order of the work that was pasted on the flow chart.
It was the same as programming that can be re-done many times.
It's the same as programming.
It's like the order that has been rearranged.
It's amazing.
It's like programming-like thinking.
Then, I would like to make a great omelet rice.
A great omelet rice prepared as a secret to attract customers.
This seems to be an important topic on the home page.
Is there a secret to how to make it?
A lot of seaweed.
Next is this egg white.
This is seasoned with soup stock.
Next, put the soup stock and egg white in a tool called an espuma.
Use the gas to whisk and make a meringue.
The origin of the great omelet rice seems to be in the process after this.
Let's do it.
It's cute.
It's like a sweet.
I don't know what it is.
It's a little difficult.
I'll do it.
It's done.
It's great.
I did it.
Finally, put the burnt part of the meringue on the burner and put the yolk soaked in the chicken sauce.
If you put the yolk on it, the great omelet rice is done.
It's done.
It's a charming menu.
I'll eat it now.
It's great, isn't it?
It's great.
I'll eat it.
It's fluffy.
The meringue is fluffy.
And I put soy sauce on it.
It's very good.
It's very effective.
Next, Momo-kun.
I'll eat it.
It's big.
The meringue is fluffy.
It became juicy.
This is new.
I'm starting to upload this on Instagram.
There are many customers who come to see this.
Don't you have a hashtag?
The hashtag is written as STKG.
STKG is good.
It's good.
Can I ask you one last question?
What does YAKITORI mean to you?
It's something I have to protect for the customers and for the history of the store.
That's cool.
I have to write it down.
From now on, it's multi-dimensional programming again.
Let's draw the original pattern.
This is the first work of Prosta-chan.
Let's look at the left programming first.
This is a programming that connects a 60-degree turn behind a straight triangle.
In addition, it is programmed by repeating it six times.
I'll try it.
60 degrees.
Why 60 degrees?
It's important to think about how many degrees the outline is.
Draw a straight triangle and turn it 60 degrees.
Draw another straight triangle and turn it 60 degrees.
And here is the programming with a colorful pattern using a square.
After connecting a 15-degree mouse to the square programming, I repeated it 24 times.
In order to make it more colorful, I programmed it to change the color of the pen by 10 from the pen palette.
Oh, I didn't know that.
It looks fun.
In the case of Scratch, there are 199 types of colors, and you can return to the original color with 200.
If you change the color of the pen by 10, anyone can use colorful colors like a rainbow.
I used to do this with a compass.
You did it.
I did it little by little.
It's nostalgic.
Then let's make various patterns.
Yes.
After this, we will announce the original multilinear pattern written in programming.
What kind of multilinear pattern did you make?
What's that? Why doesn't it stop?
Today's work.
Let's write an original multilinear pattern in programming.
What kind of pattern did you make?
I can't calculate it.
Noguchi-san's monologue is interesting.
I have a lot of monologues.
I see.
It's like Minamoto-san.
I see.
Is it almost done?
Let's look at Shinji-kun's programming first.
It's like a flagpole.
It's like an umbrella.
That's right.
It's like a flagpole.
Shinji-kun, after the triangle code,
you repeated the 6-degree rotation 60 times.
If you shift the same triangle a little bit and write it 60 times,
as Iori-chan said, it looks like an umbrella and it's beautiful.
Shinji-kun, what did you notice in this programming?
60 × 6.
It's very important to calculate with scissors and get 360 degrees,
so the relationship is the most important.
For example, if this is 15 degrees,
it's 360 × 15, so turn it 24 times.
If it's 18 degrees, turn it 20 times.
I think the relationship here is the most important.
By writing multiple squares in programming,
I once again understood the law of 360 degrees.
This is a great discovery.
As expected of Shinji-kun.
At the end, what kind of programming did Iori-chan do?
Here we go.
30 × 6.
Why doesn't it stop?
Iori-chan, nice error.
Will Iori-chan notice why it doesn't stop?
I noticed!
I miscalculated.
How many degrees did you write?
I wrote 120 times instead of turning 30 degrees.
3600 degrees.
Iori-chan, after the high degree of the right triangle,
It was good until it was turned 30 degrees, but...
I've been sandwiched by repeating it 120 times.
I've been going around the same place.
You mean you've been practicing?
Huh? Oh, I see.
I miscalculated.
I'm sorry.
This is 12 times, isn't it?
But Iori-chan noticed the mistake.
This is also a nice error.
Let's fix it and watch it again.
If you try a lot, you can find your favorite shape.
I want to try more.
I wonder what happens if I put my favorite number in it.
The relationship between numbers and shapes may be interesting.
Sounds interesting.
Both of you did a good job.
Next time, we're going to study pentagons and hexagons.
Look forward to it.
I'll do my best.
This program was brought to you by Prosta, a programming learning system.