Variance of a Two Stock Portfolio / BA II Plus

Is there a function on the BA II plus that can quickly calculate this for your? It’s probably one of the more time consuming expressions in the CFA - I’d assume that the TI BA II plus would have this programmed in… Anyone worked this out?

Not a function on the calculator or any other calculator I know (except that it would be easy to program in a programmable one).