Solution:
Concept: If every term of a fraction is a multiple of sinA or of cosA, divide its numerator and its denominator by cosA. The value does not change, and each cosAsinA becomes tanA.
Given: 5cosA−12sinA=0.
Step 1 — Find tan A.
We move 12sinA to the other side of 5cosA−12sinA=0 and then divide both sides by 12cosA.
12sinA=5cosA
tanA=125
Step 2 — Divide by cos A.
Every term of the fraction is a multiple of sin A or cos A, so we divide the top and the bottom by cos A.
2cosA−sinAsinA+cosA=2−tanAtanA+1
Step 3 — Substitute.
We put in the value of tan A.
2−tanAtanA+1=2−125125+1=12191217=1917
Watch out: cosA2cosA is 2, and cosAcosA is 1.
Therefore, 2cosA−sinAsinA+cosA=1917.