Exemplo n.º 1
0
        private void Ar_Jephcoat()
        {
            double P = 0;

            try { P = EOS.Ar_Jephcoat(Convert.ToDouble(textBoxArA.Text) / 10, temperature); }
            catch { }
            textBoxArJephcoat.Text = P.ToString("f3");
        }
Exemplo n.º 2
0
        private void Ar()
        {
            double a = numericalTextBoxArA.Value, v = a * a * a;
            double a0 = numericalTextBoxArA0.Value, v0 = a0 * a0 * a0;
            double t = numericalTextBoxTemperature.Value;

            //Jephcoat
            numericalTextBoxArJephcoat.Value = EOS.Ar_Jephcoat(a / 10, t);
            //Ross
            numericalTextBoxArRoss.Value = EOS.Ar_Ross(a / 10);
        }