<jupyter_start><jupyter_text>**2) Sabe-se, pelas medições, que $\frac{ω_v}{V}$ = 5% e $\frac{ω_{Δt}}{Δt}$ = 1%, calcule $\frac{ω_Q}{Q}$.**A partir das respostas do exercício anterior, pela lei do produtório, tem-se que: **Calculadoras**<jupyter_code>#Calculadora de incerteza:

%reset -f
from uncertainties import ufloat
from math import pi

d = ufloat(3.906, 0.084, "diâmetro")
h = ufloat(6.119, 0.019, "altura")
t = ufloat(84.80, 0.2, "tempo")

vazao = pi*h*d**2/(4*t)

print(vazao.format('.6f'))
#Calculadora t de Student:

%reset -f
import scipy.stats

conf = 0.9
σ = 1.180411478

def t(alpha, gl):
    return scipy.stats.t.ppf(1-(alpha/2), gl)

print(t(1 - conf,13)*σ)
%reset -f
from CoolProp.CoolProp import PropsSI
from uncertainties import ufloat

P = 96.550 #kPa
w_P = 0.150
T = 28.5 + 273.15 #K
w_T = 0.5

R = 8.31451
MM = PropsSI('M','P', P*1000, 'T', T, 'Air')*1000

Px = ufloat(P, w_P)
Tx = ufloat(T, w_T)

ρx = Px*MM/(R*Tx)

print(ρx.format('.6f'))<jupyter_output>1.115046+/-0.002533
StarcoderdataJupyterStructuredCleanDedup