cos(a+b)=cosacosb-sinasinb=1/5
cos(a-b)=cosacosb+sinasinb=3/5
两式相加得cosacosb=2/5
所以sinasinb=1/5
所以tanatanb=(sinasinb)/(cosacosb)=(1/5)/(2/5)=1/2
cos(a+b)=cosacosb-sinasinb=1/5
cos(a-b)=cosacosb+sinasinb=3/5
两式相加得cosacosb=2/5
所以sinasinb=1/5
所以tanatanb=(sinasinb)/(cosacosb)=(1/5)/(2/5)=1/2