private void Re() { double v = numericalTextBoxReV.Value; double v0 = numericalTextBoxReV0.Value; double t = numericalTextBoxTemperature.Value; //Zha numericalTextBoxReZha.Value = EOS.Re_Zha(v0, v, t); numericBoxReAnz.Value = EOS.Vinet(352.6, 4.56, 29.467, v); numericBoxReSakai.Value = EOS.Vinet(358, 4.8, 29.47, v); numericBoxReDub.Value = EOS.BirchMurnaghan4th(342, 6.15, -0.029, 29.46 / v); }
private void Re_Zha() { double P = 0; try { P = EOS.Re_Zha( Convert.ToDouble(textBoxReV0.Text), Convert.ToDouble(textBoxReV.Text), Convert.ToDouble(textBoxT.Text)); textBoxReZha.Text = P.ToString("f3"); } catch { } }