A wire carrying current `I` has the shape as shown in the adjoining figure. Linear parts of the wire are very long and parallel to X-axis while semicicular portion of radius `R` is lying in `Y-Z` plane. Magnetic field at point `O` is
A. `B=(mu_(0))/(4pi)(I)/(R)(pihati+2hatk)`
B. `B=-(mu_(0))/(4pi)(I)/(R)(pihati-2hatk)`
C. `B=-(mu_(0))/(4pi)(I)/(R)(pihati+2hatk)`
D. `B=(mu_(0))/(4pi)(I)/(R)(pihati-2hatk)`