Нужно написать функцию calculate, которая на вход принимает единственное действительное число A, а на выход возвращает такое число x, которое удовлетворяет выражению x²+√x = A. Ответ должен быть с относительной погрешностью 10^(-6).
Примеры
calculate(2.0) # 1.0 calculate(15.6) # 3.69823217
Свой вариант решения в комментарии 💭 Кодом делиться через pastebin.org или repl.it.
Нужно написать функцию calculate, которая на вход принимает единственное действительное число A, а на выход возвращает такое число x, которое удовлетворяет выражению x²+√x = A. Ответ должен быть с относительной погрешностью 10^(-6).
Примеры
calculate(2.0) # 1.0 calculate(15.6) # 3.69823217
Свой вариант решения в комментарии 💭 Кодом делиться через pastebin.org или repl.it.
#задачи
BY Python Turbo. Уютное сообщество Python разработчиков.
For some time, Mr. Durov and a few dozen staffers had no fixed headquarters, but rather traveled the world, setting up shop in one city after another, he told the Journal in 2016. The company now has its operational base in Dubai, though it says it doesn’t keep servers there.Mr. Durov maintains a yearslong friendship from his VK days with actor and tech investor Jared Leto, with whom he shares an ascetic lifestyle that eschews meat and alcohol.
Importantly, that investor viewpoint is not new. It cycles in when conditions are right (and vice versa). It also brings the ineffective warnings of an overpriced market with it.Looking toward a good 2022 stock market, there is no apparent reason to expect these issues to change.
Python Turbo Уютное сообщество Python разработчиков from es