import numpy as np
import matplotlib.pyplot as plt
alpha = int (input("Podaj wartość alpha: "))
num = int (input("Podaj wysokość min. 100: "))
t = np.linspace(0, 2*np.pi, num)
if num < 100:
print ("Error, hasło nieprawidłowe, Podaj warość więcej niż 100")
else:
x = alpha * np.sqrt(2) * np.cos(t) / (np.sin(t)**2 + 1)
y = alpha * np.sqrt(2) * np.cos(t) * np.sin(t) / (np.sin(t)**2 + 1)
plt.plot(x, y)
plt.show()