import matplotlib.pyplot as plt
import numpy as np

def f(c):
    C = 0.6 * 1e-06 # (F)
    R = 225 # (ohm)
    L = 0.5 # (H)
    result = np.sqrt((1/R**2) + ((w*C - (1/(w*L)))**2))
    return result


w = np.linspace(1, 1000, 1101)
print(w)
# result = ((668.06/c) * (1 - np.exp(-0.146843*c))) - 40
# print(f(c))
plt.plot(w, f(w), label='Find w')

plt.grid()
plt.show()
b8170fb5c0ca4500aae597b28e3224d93f5a7e9d
<mask token>


def f(c):
    C = 0.6 * 1e-06
    R = 225
    L = 0.5
    result = np.sqrt(1 / R ** 2 + (w * C - 1 / (w * L)) ** 2)
    return result


<mask token>

<mask token>


def f(c):
    C = 0.6 * 1e-06
    R = 225
    L = 0.5
    result = np.sqrt(1 / R ** 2 + (w * C - 1 / (w * L)) ** 2)
    return result


<mask token>
print(w)
plt.plot(w, f(w), label='Find w')
plt.grid()
plt.show()

<mask token>


def f(c):
    C = 0.6 * 1e-06
    R = 225
    L = 0.5
    result = np.sqrt(1 / R ** 2 + (w * C - 1 / (w * L)) ** 2)
    return result


w = np.linspace(1, 1000, 1101)
print(w)
plt.plot(w, f(w), label='Find w')
plt.grid()
plt.show()

import matplotlib.pyplot as plt
import numpy as np


def f(c):
    C = 0.6 * 1e-06
    R = 225
    L = 0.5
    result = np.sqrt(1 / R ** 2 + (w * C - 1 / (w * L)) ** 2)
    return result


w = np.linspace(1, 1000, 1101)
print(w)
plt.plot(w, f(w), label='Find w')
plt.grid()
plt.show()

import matplotlib.pyplot as plt
import numpy as np

def f(c):
    C = 0.6 * 1e-06 # (F)
    R = 225 # (ohm)
    L = 0.5 # (H)
    result = np.sqrt((1/R**2) + ((w*C - (1/(w*L)))**2))
    return result


w = np.linspace(1, 1000, 1101)
print(w)
# result = ((668.06/c) * (1 - np.exp(-0.146843*c))) - 40
# print(f(c))
plt.plot(w, f(w), label='Find w')

plt.grid()
plt.show()