Даны целые положительные числа А и В (А > В). На отрезке длины А размещено максимально возможное количество отрезков длины B (без наложений). Используя операцию деления нацело, найти количество отрезков В, размещенных на отрезке А.
I have got a cat. Her name is Any. She is white and yellow. She is six. Her eyes are very small and black. She has got a very nice, fluffy tail and small ears. Any loves to sleep very much. She sleeps in the warmest places of our flat. She also loves to eat. Sometimes she eats meat. I like to play with my cat. I pull the rope and the cat runs and plays with this rope.
My cat is pretty but shy. One day we took Any to the country. My cat hid under the house. We were looking for it for a long time and she climbed out of the house only in the evening. My cat is a coward!
Пусть за х минут первый рабочий делает одну деталь, тогда второй рабочий за (х+6) минут делает одну деталь.
7 часов = 420 минут
420/х деталей делает первый рабочий
420/(х+6) деталей делает второй рабочий
420/х-420/(х+6)=8
Решим данное уравнение:
При х не равно 0 и -6, решим уравнение:
420(x+6)-420x-8x(x+6)=0
420х+2520-420х-8х^2-48х=0
-8х^2-48x+2520=0
Решением данного уравнения являются х=-21 и х=15
Число деталей является положительной величиной, поэтому
х=15 минут - одну деталь делает первый рабочий,
тогда второй рабочий одну деталь за 21 минуту.
420/15=28 деталей делает первый рабочий
420/21=20 деталей делает второй рабочий.
ответ. 28 деталей и 20 деталей
I have got a cat. Her name is Any. She is white and yellow. She is six. Her eyes are very small and black. She has got a very nice, fluffy tail and small ears. Any loves to sleep very much. She sleeps in the warmest places of our flat. She also loves to eat. Sometimes she eats meat. I like to play with my cat. I pull the rope and the cat runs and plays with this rope.
My cat is pretty but shy. One day we took Any to the country. My cat hid under the house. We were looking for it for a long time and she climbed out of the house only in the evening. My cat is a coward!