Mathematical and Physical Journal
for High Schools
Issued by the MATFUND Foundation
Already signed up?
New to KöMaL?

Problem I. 169. (November 2007)

I. 169. We are given N thin rods. We fix one end of the first rod and let it rotate around this hub with angular velocity of \omega1. One end of the next rod is attached to the free end of the previous rod, and is rotating with relative angular velocity of \omegai (compared to the previous rod). This way we get a chain of connected rods. At the beginning, all rods are pointing to the same direction.

Your program should draw the path of the free end of the last rod. The input for your program should be the number of rods N (1\leN\le10) and 2N nonnegative integers: the length Li (1\leLi\le100) and relative angular velocity \omegai of the ith rod.

See the examples.

The source code of your program (i169.pas, i169.cpp, ...) together with a short documentation (i169.txt, i169.pdf, ...) should be submitted, also containing a short description of your solution and the developer environment to use.

(10 pont)

Deadline expired on December 17, 2007.


Sorry, the solution is available only in Hungarian. Google translation

Megoldás

A feladat mintamegoldásaként egy Pascal programot közlünk:

i169.pas


Statistics:

11 students sent a solution.
10 points:Adrián Patrik, Backhausz Tibor, Englert Péter, Földes Imre, Kaposvári Tamás, Pap 987 Dávid, Szebeni Szilveszter, Véges Márton.
7 points:1 student.
4 points:1 student.
0 point:1 student.

Problems in Information Technology of KöMaL, November 2007