@staticmethod<EOL><INDENT>def Almeida(self, T, full=True, quick=True):<DEDENT>
<EOL>c1, c2, c3 = self.alpha_function_coeffs<EOL>T, Tc, a = self.T, self.Tc, self.a<EOL>a_alpha = a*exp(c1*(-T/Tc + <NUM_LIT:1>)*abs(T/Tc - <NUM_LIT:1>)**(c2 - <NUM_LIT:1>) + c3*(-<NUM_LIT:1> + Tc/T))<EOL>if not full:<EOL><INDENT>return a_alpha<EOL><DEDENT>else:<EOL><INDENT>da_alpha_dT = a*((c1*(c2 - <NUM_LIT:1>)*(-T/Tc + <NUM_LIT:1>)*abs(T/Tc - <NUM_LIT:1>)**(c2 - <NUM_LIT:1>)*copysign(<NUM_LIT:1>, T/Tc - <NUM_LIT:1>)/(Tc*Abs(T/Tc - <NUM_LIT:1>)) - c1*abs(T/Tc - <NUM_LIT:1>)**(c2 - <NUM_LIT:1>)/Tc - Tc*c3/T**<NUM_LIT:2>)*exp(c1*(-T/Tc + <NUM_LIT:1>)*abs(T/Tc - <NUM_LIT:1>)**(c2 - <NUM_LIT:1>) + c3*(-<NUM_LIT:1> + Tc/T)))<EOL>d2a_alpha_dT2 = a*exp(c3*(Tc/T - <NUM_LIT:1>) - c1*abs(T/Tc - <NUM_LIT:1>)**(c2 - <NUM_LIT:1>)*(T/Tc - <NUM_LIT:1>))*((c1*abs(T/Tc - <NUM_LIT:1>)**(c2 - <NUM_LIT:1>))/Tc + (Tc*c3)/T**<NUM_LIT:2> + (c1*abs(T/Tc - <NUM_LIT:1>)**(c2 - <NUM_LIT:2>)*copysign(<NUM_LIT:1>, T/Tc - <NUM_LIT:1>)*(c2 - <NUM_LIT:1>)*(T/Tc - <NUM_LIT:1>))/Tc)**<NUM_LIT:2> - exp(c3*(Tc/T - <NUM_LIT:1>) - c1*abs(T/Tc - <NUM_LIT:1>)**(c2 - <NUM_LIT:1>)*(T/Tc - <NUM_LIT:1>))*((<NUM_LIT:2>*c1*abs(T/Tc - <NUM_LIT:1>)**(c2 - <NUM_LIT:2>)*copysign(<NUM_LIT:1>, T/Tc - <NUM_LIT:1>)*(c2 - <NUM_LIT:1>))/Tc**<NUM_LIT:2> - (<NUM_LIT:2>*Tc*c3)/T**<NUM_LIT:3> + (c1*abs(T/Tc - <NUM_LIT:1>)**(c2 - <NUM_LIT:3>)*copysign(<NUM_LIT:1>, T/Tc - <NUM_LIT:1>)**<NUM_LIT:2>*(c2 - <NUM_LIT:1>)*(c2 - <NUM_LIT:2>)*(T/Tc - <NUM_LIT:1>))/Tc**<NUM_LIT:2>)<EOL>return a_alpha, da_alpha_dT, d2a_alpha_dT2<EOL><DEDENT>
r'''Method to calculate `a_alpha` and its first and second
        derivatives according to Almeida et al. (1991) [1]_. Returns `a_alpha`, 
        `da_alpha_dT`, and `d2a_alpha_dT2`. See `GCEOS.a_alpha_and_derivatives`  
        for more documentation. Three coefficients needed.

        .. math::
            \alpha = e^{c_{1} \left(- \frac{T}{Tc} + 1\right) \left|{
            \frac{T}{Tc} - 1}\right|^{c_{2} - 1} + c_{3} \left(-1 
            + \frac{Tc}{T}\right)}

        References
        ----------
        .. [1] Almeida, G. S., M. Aznar, and A. S. Telles. "Uma Nova Forma de 
           Dependência Com a Temperatura Do Termo Atrativo de Equações de 
           Estado Cúbicas." RBE, Rev. Bras. Eng., Cad. Eng. Quim 8 (1991): 95.