1 topshiriq
. y=x*cosx funksiyaning qiymatini hisoblang
Pythonda dastur tuzilishi:
from math import *
x=int(input(‘x ning qiymatini kiriting =’))
y=x*cos(x)
print(‘y ning qiymati =’, y)
x ning qiymatini kiriting =1
y ning qiymati =
0.5403023058681398
2 topshiriq
. y=|sinx|+|cosx| funksiyaning qiymatini hisoblang
Pythonda dastur tuzilishi:
from math import *
x ning qiymatini kiriting =-1
113
x=int(input(‘x ning qiymatini kiriting =’))
y=fabs(sin(x))+fabs(cos(x))
print(‘y ning qiymati =’, y)
y ning qiymati = 1.3817732906760363
3 topshiriq
.
𝑎 = 2cos(𝑥 −
𝜋
6
)
funksiyaning qiymatini hisoblang
Pythonda dastur tuzilishi:
from math import *
x=int(input(‘x ning qiymatini kiriting =’))
a=2*cos(x-pi/6)
print(‘Natija a =’, a)
x=3
Natija a= -1.5735972951640635
4 topshiriq
.
𝑏 = 0,5 + 𝑠𝑖𝑛
2
𝑦
funksiyaning qiymatini hisoblang
Pythonda dastur tuzilishi:
from math import *
y=int(input(‘y =’))
b=0.5+pow(sin(y),2)
print(‘Natija b =’, b)
y=3
Natija b= 0.519914856674817
5 topshiriq
.
𝑐 = √8 + |𝑥 − 𝑦|
2
+ 1
3
funksiyaning qiymatini hisoblang
Pythonda dastur tuzilishi:
from math import *
x=int(input(‘x ning qiymatini kiriting =’))
y=fabs(sin(x))+fabs(cos(x))
print(‘y ning qiymati =’, y)
x=3
y=5
Natija c= 2.3513346877207573
6 topshiriq
.
𝑢 = 𝑒
|𝑥−𝑦|
(𝑡𝑔
2
𝑧 + 1)
𝑥
funksiyaning qiymatini hisoblang
Pythonda dastur tuzilishi:
from math import *
x=int(input(‘x=’))
y=int(input(‘y=’))
x=9
y=6
z=7
114
z=int(input(‘z=’))
u=exp(fabs(x-y))*pow(((tan(z))**2+1), x)
print(“Natija u=”, u)
Natija u= 3244.984976821376
7 topshiriq
.
𝑣 = |𝑐𝑜𝑠𝑥 − 𝑐𝑜𝑠𝑦|
(1+2𝑠𝑖𝑛
2
𝑦)
funksiyaning qiymatini hisoblang
Pythonda dastur tuzilishi:
from math import *
x=int(input(‘x=’))
y=int(input(‘y=’))
v=pow((fabs(cos(x)-cos(y))), (1+2*(sin(y))**2))
print(“Natija v=”, v)
x=8
y=2
Natija v= 0.031174505903554105
8 topshiriq
.
𝑤 = 1 + 𝑧 +
𝑧
2
2
+
𝑧
3
3
+
𝑧
4
4
funksiyaning qiymatini hisoblang
Pythonda dastur tuzilishi:
form math import *
z=int(input(‘z=’))
w=1+z+(z**2)/2+(z**3)/3+(z**4)/4
print(“Natija w=”, w)
z=9
Natija w= 1933.75
9 topshiriq
.
𝑓 = ln (𝑦
−√|𝑥|
) (𝑥 −
𝑦
2
) + 𝑠𝑖𝑛
2
𝑎𝑟𝑐𝑡𝑔(𝑧)
funksiyaning qiymatini
hisoblang
Pythonda dastur tuzilishi:
form math import *
x=int(input(‘x=’))
y=int(input(‘y=’))
z=int(input(‘z=’))
f=log(pow(y,(-sqrt(fabs(x)))))*(x-y/2)+(sin(atan(z)))**2
print(“Natija f=”, f)
x=3
y=4
z=5
Natija f= -1.4395938061674258
|