ответ в прикрепленном файле:
P.S. Python 3.8
from math import exp, cos, pi
x = int(input())
a = int(input())
b = int(input())
y = b * (1 - exp(-0.5 * a)) * cos(2 * pi * x)
print(y)
Объяснение:
from math import exp, cos, pi // Из библиотеки math берем функции exp (), cos, pi (π)
x = int(input()) // Создание + ввод переменной x
a = int(input()) // Создание + ввод переменной a
b = int(input()) // Создание + ввод переменной b
y = b * (1 - exp(-0.5 * a)) * cos(2 * pi * x) // Реализация формулы
// pi - число π
// exp(-0.5 * a) =
print(y) // Вывод y
ответ в прикрепленном файле:
P.S. Python 3.8
from math import exp, cos, pi
x = int(input())
a = int(input())
b = int(input())
y = b * (1 - exp(-0.5 * a)) * cos(2 * pi * x)
print(y)
Объяснение:
from math import exp, cos, pi // Из библиотеки math берем функции exp (
), cos, pi (π)
x = int(input()) // Создание + ввод переменной x
a = int(input()) // Создание + ввод переменной a
b = int(input()) // Создание + ввод переменной b
y = b * (1 - exp(-0.5 * a)) * cos(2 * pi * x) // Реализация формулы
// pi - число π
// exp(-0.5 * a) =
print(y) // Вывод y