Предмет: Информатика, автор: Аноним

помогите питон срочно​

Приложения:

Ответы

Автор ответа: daniyarkanu
2

Ответ:

Ну у тебя там написано на паскале,  но как ты попросил решу на питоне.

a)

import math

a = float(input())

b = float(input())

c = float(input())

deistvie1 = ((a + b + c) ** 2) / (a + b)

deistvie2 = (2 * (math.sqrt(a * b)) / (b - c))

deistvie3 = deistvie1 - deistvie2

print(deistvie3)

б)

import math

x = float(input())

y = float(input())

z = float(input())

deistvie1 = ((((x + y)**4) + (z ** 3)) / abs(x + y + z))

deistvie2 = (((math.sqrt(x + y)) - (math.sqrt(z))) / ((x + y - z)**5))

deistvie3 = deistvie1 - deistvie2

print(deistvie3)

в)

import math

x = float(input())

y = float(input())

z = float(input())

deistvie1 = (((1 + x)**3) / (abs(x + y)))

deistvie2 = (1 / x)

deistvie3 = ((abs(x - y)) / (x * y))

deistvie4 = deistvie1 - deistvie2 + deistvie3

print(deistvie4)

г)

import math

p = float(input())

y = float(input())

q = float(input())

deistvie1 = (((abs((p * q) - 1))**3) / (((p ** 3) + (q ** 2)**4)))

deistvie2 = (((p ** 3) + (q ** 2)**4) / (math.sqrt(1 + (p * q))))

deistvie3 = deistvie1 - deistvie2

print(deistvie3)


daniyarkanu: Хорошо
Похожие вопросы
Предмет: Музыка, автор: znayka727