Ответ:
print('--- 1 ---')
b = float(input('Введите b: '))
a = b**3/9-6.4*(b+8)+3*b/4
print('a =', a)
print()
print('--- 2 ---')
a = float(input('Введите a: '))
d = a**3*b/7-2*a*b**2*(a+b)
print('d =', d)
print('--- 3 ---')
q = (3*a**3-2*a*b+b**2)/(2*a*(3*a-b))
print('q =', q)
print('--- 4 ---')
x = float(input('Введите x: '))
y = float(input('Введите y: '))
k = x**3-4*x*y*(x+y**2)
print('k =', k)
print('--- 5 ---')
v = float(input('Введите v: '))
h = abs(v+1.7)*(2*v+3)
print('h =', h)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
print('--- 1 ---')
b = float(input('Введите b: '))
a = b**3/9-6.4*(b+8)+3*b/4
print('a =', a)
print()
print('--- 2 ---')
a = float(input('Введите a: '))
b = float(input('Введите b: '))
d = a**3*b/7-2*a*b**2*(a+b)
print('d =', d)
print()
print('--- 3 ---')
a = float(input('Введите a: '))
b = float(input('Введите b: '))
q = (3*a**3-2*a*b+b**2)/(2*a*(3*a-b))
print('q =', q)
print()
print('--- 4 ---')
x = float(input('Введите x: '))
y = float(input('Введите y: '))
k = x**3-4*x*y*(x+y**2)
print('k =', k)
print()
print('--- 5 ---')
v = float(input('Введите v: '))
h = abs(v+1.7)*(2*v+3)
print('h =', h)