Ответ:
import math as m
x=-5
a=12.03
b= []
b_all = []
for i in range(1,31):
if x>=4:
b_all.append(m.e**(2*x)+ x**3)
if x<0:
m.atan(x+a)
if x>-4:
b.append(m.atan(x+a))
if x>=0 and x<=4:
b_all.append(m.log10(a)+ (1+x)**1/4)
x+=0.65
i+=1
print(sum(b))
print(len(b_all))
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
import math as m
x=-5
a=12.03
b= []
b_all = []
for i in range(1,31):
if x>=4:
b_all.append(m.e**(2*x)+ x**3)
if x<0:
m.atan(x+a)
if x>-4:
b.append(m.atan(x+a))
if x>=0 and x<=4:
b_all.append(m.log10(a)+ (1+x)**1/4)
x+=0.65
i+=1
print(sum(b))
print(len(b_all))