
Построить графики функций а) y=5/2xб)
y=-3/2xв)y=(1/3)^xг)y=log^3xд)y=log^1/3xе)y=-3sin2x;)y=ctgxз)y=-ctg2x

Ответы на вопрос

3 графика по порядку стоят



I can help you with plotting functions in Python. Here is some code that you can use to plot the functions you asked for:
```python # Import matplotlib.pyplot module import matplotlib.pyplot as plt
# Define the x values from -10 to 10 with 0.1 intervals x = np.arange(-10, 10, 0.1)
# Define the functions using numpy y1 = 5/2 * x # y = 5/2x y2 = -3/2 * x # y = -3/2x y3 = (1/3) ** x # y = (1/3)^x y4 = np.log(x) / np.log(3) # y = log_3 x y5 = np.log(x) / np.log(1/3) # y = log_(1/3) x y6 = -3 * np.sin(2 * x) # y = -3sin2x y7 = 1 / np.tan(x) # y = ctgx y8 = -1 / np.tan(2 * x) # y = -ctg2x
# Plot the functions with different colors and labels plt.plot(x, y1, color="red", label="y = 5/2x") plt.plot(x, y2, color="blue", label="y = -3/2x") plt.plot(x, y3, color="green", label="y = (1/3)^x") plt.plot(x, y4, color="orange", label="y = log_3 x") plt.plot(x, y5, color="purple", label="y = log_(1/3) x") plt.plot(x, y6, color="brown", label="y = -3sin2x") plt.plot(x, y7, color="pink", label="y = ctgx") plt.plot(x, y8, color="black", label="y = -ctg2x")
# Add a title and axis labels plt.title("Plotting functions in Python") plt.xlabel("x") plt.ylabel("y")
# Add a legend plt.legend()
# Show the plot plt.show() ```
You can learn more about how to take user input and use that in a function from [this article](https://stackoverflow.com/questions/37893927/python-how-to-take-user-input-and-use-that-in-function). You can also find more information about the input() function from [this article](https://realpython.com/python-input-output/) and [this article](https://www.educba.com/python-input-function/). You can also check out [this article](https://developer.mozilla.org/en-US/docs/Learn/Forms/User_input_methods) for different ways users interact with web content. I hope this helps you. Have a nice day!


Топ вопросов за вчера в категории Геометрия
Последние заданные вопросы в категории Геометрия
-
Математика
-
Литература
-
Алгебра
-
Русский язык
-
Геометрия
-
Английский язык
-
Химия
-
Физика
-
Биология
-
Другие предметы
-
История
-
Обществознание
-
Окружающий мир
-
География
-
Українська мова
-
Информатика
-
Українська література
-
Қазақ тiлi
-
Экономика
-
Музыка
-
Право
-
Беларуская мова
-
Французский язык
-
Немецкий язык
-
МХК
-
ОБЖ
-
Психология
-
Физкультура и спорт
-
Астрономия
-
Кыргыз тили
-
Оʻzbek tili