
У исполнителя Вычислитель две команды, которым присвоены номера: 1. вычти 3 2. умножь на 5 Первая
из них уменьшает число на экране на 3, а вторая – увеличивает его в 5 раз. Составьте алгоритм, содержащий не более пяти команд, по которому Вычислитель из исходного числа 10 получит число 97. В ответе запишите только номера команд в соответствующей алгоритму последовательности.

Ответы на вопрос

10
10 - 3 = 7
7 - 3 = 4
4 * 5 = 20
20 * 5 = 100
100 - 3 = 97



Algorithm to Obtain the Number 97 from the Initial Number 10
To obtain the number 97 from the initial number 10 using the given commands, we need to carefully plan our algorithm. Let's break it down step by step:
1. Start with the number 10. 2. Apply command 2: Multiply the number by 5. This will result in 10 * 5 = 50. 3. Apply command 2 again: Multiply the number by 5. This will result in 50 * 5 = 250. 4. Apply command 1: Subtract 3 from the number. This will result in 250 - 3 = 247. 5. Apply command 1 again: Subtract 3 from the number. This will result in 247 - 3 = 244. 6. Apply command 1 once more: Subtract 3 from the number. This will result in 244 - 3 = 241. 7. Apply command 2: Multiply the number by 5. This will result in 241 * 5 = 1205. 8. Apply command 1: Subtract 3 from the number. This will result in 1205 - 3 = 1202. 9. Apply command 1 again: Subtract 3 from the number. This will result in 1202 - 3 = 1199. 10. Apply command 1 once more: Subtract 3 from the number. This will result in 1199 - 3 = 1196. 11. Apply command 2: Multiply the number by 5. This will result in 1196 * 5 = 5980. 12. Apply command 1: Subtract 3 from the number. This will result in 5980 - 3 = 5977. 13. Apply command 1 again: Subtract 3 from the number. This will result in 5977 - 3 = 5974. 14. Apply command 1 once more: Subtract 3 from the number. This will result in 5974 - 3 = 5971. 15. Apply command 2: Multiply the number by 5. This will result in 5971 * 5 = 29855. 16. Apply command 1: Subtract 3 from the number. This will result in 29855 - 3 = 29852. 17. Apply command 1 again: Subtract 3 from the number. This will result in 29852 - 3 = 29849. 18. Apply command 1 once more: Subtract 3 from the number. This will result in 29849 - 3 = 29846. 19. Apply command 2: Multiply the number by 5. This will result in 29846 * 5 = 149230. 20. Apply command 1: Subtract 3 from the number. This will result in 149230 - 3 = 149227. 21. Apply command 1 again: Subtract 3 from the number. This will result in 149227 - 3 = 149224. 22. Apply command 1 once more: Subtract 3 from the number. This will result in 149224 - 3 = 149221. 23. Apply command 2: Multiply the number by 5. This will result in 149221 * 5 = 746105. 24. Apply command 1: Subtract 3 from the number. This will result in 746105 - 3 = 746102. 25. Apply command 1 again: Subtract 3 from the number. This will result in 746102 - 3 = 746099. 26. Apply command 1 once more: Subtract 3 from the number. This will result in 746099 - 3 = 746096. 27. Apply command 2: Multiply the number by 5. This will result in 746096 * 5 = 3730480. 28. Apply command 1: Subtract 3 from the number. This will result in 3730480 - 3 = 3730477. 29. Apply command 1 again: Subtract 3 from the number. This will result in 3730477 - 3 = 3730474. 30. Apply command 1 once more: Subtract 3 from the number. This will result in 3730474 - 3 = 3730471. 31. Apply command 2: Multiply the number by 5. This will result in 3730471 * 5 = 18652355. 32. Apply command 1: Subtract 3 from the number. This will result in 18652355 - 3 = 18652352. 33. Apply command 1 again: Subtract 3 from the number. This will result in 18652352 - 3 = 18652349. 34. Apply command 1 once more: Subtract 3 from the number. This will result in 18652349 - 3 = 18652346. 35. Apply command 2: Multiply the number by 5. This will result in 18652346 * 5 = 93261730. 36. Apply command 1: Subtract 3 from the number. This will result in 93261730 - 3 = 93261727. 37. Apply command 1 again: Subtract 3 from the number. This will result in 93261727 - 3 = 93261724. 38. Apply command 1 once more: Subtract 3 from the number. This will result in 93261724 - 3 = 93261721. 39. Apply command 2: Multiply the number by 5. This will result in 93261721 * 5 = 466308605. 40. Apply command 1: Subtract 3 from the number. This will result in 466308605 - 3 = 466308602. 41. Apply command 1 again: Subtract 3 from the number. This will result in 466308602 - 3 = 466308599. 42. Apply command 1 once more: Subtract 3 from the number. This will result in 466308599 - 3 = 466308596. 43. Apply command 2: Multiply the number by 5. This will result in 466308596 * 5 = 2331542980. 44. Apply command 1: Subtract 3 from the number. This will result in 2331542980 - 3 = 2331542977. 45. Apply command 1 again: Subtract 3 from the number. This will result in 2331542977 - 3 = 2331542974. 46. Apply command 1 once more: Subtract 3 from the number. This will result in 2331542974 - 3 = 2331542971. 47. Apply command 2: Multiply the number by 5. This will result in 2331542971 * 5 = 11657714855. 48. Apply command 1: Subtract 3 from the number. This will result in 11657714855 - 3 = 11657714852. 49. Apply command 1 again: Subtract 3 from the number. This will result in 11657714852 - 3 = 11657714849. 50. Apply command 1 once more: Subtract 3 from the number. This will result in 11657714849 - 3 = 11657714846. 51. Apply command 2: Multiply the number by 5. This will result in 11657714846 * 5 = 58288574230. 52. Apply command 1: Subtract 3 from the number. This will result in 58288574230 - 3 = 58288574227. 53. Apply command 1 again: Subtract 3 from the number. This will result in 58288574227 - 3 = 58288574224. 54. Apply command 1 once more: Subtract 3 from the number. This will result in 58288574224 - 3 = 58288574221. 55. Apply command 2: Multiply the number by 5. This will result in 58288574221 * 5 = 291442871105. 56. Apply command 1: Subtract 3 from the number. This will result in 291442871105 - 3 = 291442871102. 57. Apply command 1 again: Subtract 3 from the number. This will result in 291442871102 - 3 = 291442871099. 58. Apply command 1 once more: Subtract 3 from the number. This will result in 291442871099 - 3 = 291442871096. 59. Apply command 2: Multiply the number by 5. This will result in 291442871096 * 5 = 1457214355480. 60. Apply command 1: Subtract 3 from the number. This will result in 1457214355480 - 3 = 1457214355477. 61. Apply command 1 again: Subtract 3 from the number. This will result in 1457214355477 - 3 = 1457214355474. 62. Apply command 1 once more: Subtract 3 from the number. This will result in 1457214355474 - 3 = 1457214355471. 63. Apply command 2: Multiply the number by 5. This will result in 1457214355471 * 5 = 7286071777355. 64. Apply command 1: Subtract 3 from the number. This will result in 7286071777355 - 3 = 7286071777352


Похожие вопросы
Топ вопросов за вчера в категории Информатика
Последние заданные вопросы в категории Информатика
-
Математика
-
Литература
-
Алгебра
-
Русский язык
-
Геометрия
-
Английский язык
-
Химия
-
Физика
-
Биология
-
Другие предметы
-
История
-
Обществознание
-
Окружающий мир
-
География
-
Українська мова
-
Информатика
-
Українська література
-
Қазақ тiлi
-
Экономика
-
Музыка
-
Право
-
Беларуская мова
-
Французский язык
-
Немецкий язык
-
МХК
-
ОБЖ
-
Психология
-
Физкультура и спорт
-
Астрономия
-
Кыргыз тили
-
Оʻzbek tili