Untitled
Guest 179 10th Jun, 2023
import numpy as np
import matplotlib.pyplot as plt
# Definiowanie promienia
r = 2
# Tworzenie listy kątów theta
theta = np.linspace(0, 2*np.pi, 100)
# Obliczanie wartości x i y
x = r * np.cos(theta)
y = r * np.sin(theta)
# Rysowanie wykresu
plt.figure(figsize=(5,5))
plt.plot(x, y)
plt.gca().set_aspect('equal', adjustable='box')
plt.title('Okrąg o promieniu 2')
plt.grid(True)
plt.show()
To share this paste please copy this url and send to your friends
RAW Paste Data
Recent Pastes
- Untitled
Markup | 19 | 11 hours ago
- Untitled
Markup | 24 | 13 hours ago
- Wanted to see what your conviction is on this theme
Markdown | 14 | 14 hours ago
- Untitled
Markup | 65 | 1 day ago
- mega555kf7lsmb54yd6etzginolhxxi4ytdoma2rf77ngq55fhfcnyid.onion
Template Toolkit 2 | 25 | 1 day ago
- Untitled
Markup | 70 | 2 days ago
- Untitled
Markup | 77 | 2 days ago