Strong earnings from a pair of tech giants helped the market recover some of its losses Friday, a positive end to Wall Street’s worst week in five months. Microsoft and Google both beat expectations, yields of government bonds ticked up, and copper — a key industrial metal — continued its fall, losing 2 percent. Microsoft gained 3 percent to $29.77, leading the Dow higher. It reported earnings late Thursday that beat analysts’ forecasts and showed solid results from its Office, software tools, and Xbox divisions. Google’s stock climbed 3 percent to $799.87. It boosted prices for ads distributed to smartphones and tablet computers.