This repository has been archived on 2026-01-29. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
physics/exam/archive/scripts/4.py
2026-01-07 19:20:04 +03:00

18 lines
245 B
Python

import numpy as np
import matplotlib.pyplot as plt
r = 1.0
R = np.linspace(0.001, 10, 500)
eta = R / (R + r)
plt.plot(R, eta)
plt.xlabel("R")
plt.ylabel("η(R)")
plt.grid(True)
plt.savefig("4.png", dpi=300, bbox_inches="tight")
plt.show()