We have the intresting Law of cosines, so we can use it:
[tex]c^2=a^2+b^2-2ab\cos \gamma[/tex]
where gamma is angle between a and b.
[tex]c^2=0,5^2+1,5^2-2*0,5*1,5*\cos \gamma[/tex]
[tex]c^2=2,5-1,5*\cos \gamma[/tex]
if gamma=90 degrees:
[tex]c^2=2,5 \Rightarrow c=0,5[/tex]
[tex]c= \sqrt{2,5-1,5*\cos \gamma}[/tex]