Question: Maximization problem

I'm having trouble maximizing this funciton:

 

S=  (w1*E1+w2*E2+w3*E3)/(CoVar[1,2]), subject to the constraint w1+w2+w3=1

 

I need it to choose w1, w2, and w3 to maximize S

Please Wait...