Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

[EN] B_III_12_NEW

No description
by

My Logiscool

on 25 April 2018

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of [EN] B_III_12_NEW

450
500
550
600
+50
1
2
3
4
+1*50
+2*50
+3*50
+50
+50
We would need a formula here...
there are 4 columns but
only 3 additions
Idea:
Let's make 4 additions!
450
500
550
600
1
2
3
4
*50
+
*50
*50
*50
+
+
+
new initial value: 400
formula of coordinate X
n
in the th column
x = 400 +
n
*50
180
220
260
300
140
100
60
Calculating coordinate Y
this is hard to understand, let's find another way
180
220
260
300
140
180
220
140
100
60
some more modifications...
180
220
260
300
140
180
220
140
100
60
This will work!
180
220
260
300
140
180
220
140
100
60
+40
+40
+40
-80
-80
-80
+40
140
formula of a "row":
n=
1
2
3
4
y = 140 +
N
* 40
within a "column" We are substracting 80 from the previous Y value
Let's put those together!
N = 1
repeat 4 times:
y = 140 +
N
* 40
repeat
N
times:
x = 400 +
n
*50
jump to X Y coordinate
create clone
change costume
decrease y with 80
N
increase with 1
N = 1
y = 180
x=450
N = 2
y = 220
x=500
y = 140
x=500
N = 3
y = 260
x=550
y = 180
x=550
y = 100
x=550
y = 300
x=600
N = 4
y = 220
x=600
y = 140
x=600
y = 60
x=600
which column, how many elements in a row
4 columns
PROGRAMming course
it was a pleasure with you!
A
Full transcript