Нужно написать функцию 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 разработчиков.
The S&P 500 slumped 1.8% on Monday and Tuesday, thanks to China Evergrande, the Chinese property company that looks like it is ready to default on its more-than $300 billion in debt. Cries of the next Lehman Brothers—or maybe the next Silverado?—echoed through the canyons of Wall Street as investors prepared for the worst.
Start with a fresh view of investing strategy. The combination of risks and fads this quarter looks to be topping. That means the future is ready to move in.Likely, there will not be a wholesale shift. Company actions will aim to benefit from economic growth, inflationary pressures and a return of market-determined interest rates. In turn, all of that should drive the stock market and investment returns higher.
Python Turbo Уютное сообщество Python разработчиков from ua