In [18]:
from uncertainties import *
import numpy as np

In [19]:
#tensão
cor_mtr = [[7.89941E-7, 7.16902E-6],[7.16902E-6, 0.000135634]]
(V, R) = correlated_values([1.37634, 0.866158], cor_mtr)
imax = V/R

In [20]:
#potencia
wcor_mtr = [[9.71529E-6, 7.9322E-5], [7.9322E-5, 0.00111477]] #matriz de cov
(Vp, Rp) = correlated_values([1.37609, 0.865583], wcor_mtr)
iw = Vp/(2*Rp) #corrente na potencia maxima
ipm = Vp/Rp #corrente maxima
wmax = Vp*iw - Rp*(iw**2) #potencia maxima

In [28]:
wmax


Out[28]:
0.5469214645216+/-0.019274803898102547

In [ ]: