The game “Towers of Hanoi”

Слайд 2

Recursion

procedure Solve(n: integer; a,b,c: Char);
begin
if n > 0 then
begin
Solve(n-1,

Recursion procedure Solve(n: integer; a,b,c: Char); begin if n > 0 then
a, c, b);
Writeln(‘transfer', a, ‘to rod',b);
Solve(n-1, c, b, a);
end;
end;
begin
Solve(4, '1','2','3');
end.

Слайд 3

Mathematical induction method

14 + 24 + … + n4 = ?

Mathematical induction method 14 + 24 + … + n4 = ?

Слайд 4

Mathematical induction in geometry

1. Several straight lines were drawn on the plane.

Mathematical induction in geometry 1. Several straight lines were drawn on the
Prove that it is possible to color the plane in two colors so that the two areas that have a common part of the border have a different color. Areas that have only one common vertex may be of the same color.
2. Prove that a square can be cut into any number of squares, starting with 6.
3. Prove that for every N > 2 exists N–gon with three acute angles.
4. Prove that the square 2N х 2N, from which one cell was cut can be cut into “corners” of three cells.

Слайд 5

Recursion in geometry Fractals

Recursion in geometry Fractals

Слайд 6

1. In the company of 2n + 1 people for any n

1. In the company of 2n + 1 people for any n
people there is a different person from them who is familiar with each of them. Prove that in this company there is a person who knows everyone.
From n to (n +1)
2. Among the participants of the conference, everyone has at least one friend. Prove that the participants can be distributed in two rooms so that each participant has a friend in the other room.
We can reduce the problem for example with a tree

Слайд 7

Calculation of the determinants + verifiation

Calculation of the determinants + verifiation

Слайд 8

Calculation of the determinants + verifiation

 

Solve the equation

Calculation of the determinants + verifiation Solve the equation

Слайд 9

Optimization

Optimization

Слайд 10

Inverse matrix

Solve the equation

Inverse matrix Solve the equation

Слайд 11

Interpolation and verification

Lagrange interpolation polynomial

Interpolation and verification Lagrange interpolation polynomial