Ответ:
import math
arr = [[0 for j in range(4)] for i in range(4)]
a = [2, 4, 5, 7]
b = [1, 3, 4, 6]
for i in range(4):
for j in range(4):
arr[i][j] = (a[i]**2 + b[j]) / 2 + math.sqrt(3 * (a[i] + b[j]**2))
print("{:.2f}".format(arr[i][j]), end=" ")
print()
Объяснение:
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
Ответ:
import math
arr = [[0 for j in range(4)] for i in range(4)]
a = [2, 4, 5, 7]
b = [1, 3, 4, 6]
for i in range(4):
for j in range(4):
arr[i][j] = (a[i]**2 + b[j]) / 2 + math.sqrt(3 * (a[i] + b[j]**2))
for i in range(4):
for j in range(4):
print("{:.2f}".format(arr[i][j]), end=" ")
print()
Объяснение: