import math
import networkx as nx
import matplotlib.pyplot as plt
# 1. Jadvaldagi 5-qatorning berilganlari
data = {
"A": -2,
"B": "log_a/arcsin(k2)",
"C": 4,
"k1": lambda x: x + 2, # k1 = x - (-2)
"k2": lambda x: (4 - x)**0.5 # k2 = sqrt(C - x)
}
# 2. Matematik hisob-kitoblarni bajarish
x_value = 1 # x ning qiymatini tanlash
k1 = data["k1"](x_value) # k1 qiymati
k2 = data["k2"](x_value) # k2 qiymati
print(f"Hisoblangan qiymatlar:")
print(f"k1: {k1}")
print(f"k2: {k2}")
# B qiymatini hisoblash
a = 10 # logarifm asosi
if 0 < k2
import networkx as nx
import matplotlib.pyplot as plt
# 1. Jadvaldagi 5-qatorning berilganlari
data = {
"A": -2,
"B": "log_a/arcsin(k2)",
"C": 4,
"k1": lambda x: x + 2, # k1 = x - (-2)
"k2": lambda x: (4 - x)**0.5 # k2 = sqrt(C - x)
}
# 2. Matematik hisob-kitoblarni bajarish
x_value = 1 # x ning qiymatini tanlash
k1 = data["k1"](x_value) # k1 qiymati
k2 = data["k2"](x_value) # k2 qiymati
print(f"Hisoblangan qiymatlar:")
print(f"k1: {k1}")
print(f"k2: {k2}")
# B qiymatini hisoblash
a = 10 # logarifm asosi
if 0 < k2