Concept:Use substitution followed by the integration by parts method to evaluate the integral.Explanation:Let I=∫cos(logx)dx.Put logx=t. Then x=et and dx=etdt.So I=∫etcostdt.Apply integration by parts:I=etcost−∫(−sint)etdt=etcost+∫etsintdt.Again integrate by parts:∫etsintdt=etsint−∫etcostdt=etsint−I.Thus, I=etcost+etsint−I.So 2I=et(cost+sint).Substitute et=x and t=logx:I=2x[cos(logx)+sin(logx)]+c.Answer:2x(cos(logx)+sin(logx))+c, which matches Option C.