(a)This is done by placing a small compass needle of known magnetic moment m and moment of inertia I and allowing it to oscillate in the magnetic field.The torque on the needle is, τ=m×BIn magnitude, τ=mBsinθHere, τ=Restoring torque, θ=angle between m and BTherefore, in equilibrium,Id²θ/dt²= −mBsinθNegative sign indicates that the restoring torque is in opposition to deflecting torque.This represents a simple harmonic motion.The square of angular frequency is ω²=mB/Iand the time period is T=2π(I/mB)^(½)(b) Since the compass needle is oriented vertically,(i) Horizontal component of earth's magnetic field will be zero (ii)Angle of dip will be 90°.