Given:
- Horizontal component of Earth's magnetic field, \( B_H = 3 \times 10^{-5} \, \text{T} \)
- Magnetic declination, \( \theta = 30^\circ \)
- Magnetic moment of compass needle, \( \mu = 18 \, \text{A} \cdot \text{m}^2 \)
We need to calculate the torque \( \tau \) experienced by the compass needle.
Step 1: Understand the magnetic field components:
- Magnetic declination \( \theta \) is the angle between geographic north and magnetic north.
- The torque on the magnetic needle depends on the component of the Earth's magnetic field perpendicular to the needle's direction.
Step 2: Expression for torque on magnetic dipole in a magnetic field:
\[
\tau = \mu B \sin \phi
\]
where \( \phi \) is the angle between the magnetic moment vector and the magnetic field.
Step 3: Since the needle is pointing towards geographic north, but the magnetic field is inclined at \( 30^\circ \), the angle between magnetic moment and Earth's field is \( \phi = 30^\circ \).
Step 4: Substitute the values:
\[
\tau = 18 \times 3 \times 10^{-5} \times \sin 30^\circ = 54 \times 10^{-5} \times \frac{1}{2} = 27 \times 10^{-5} \, \text{Nm}
\]
Therefore, the torque experienced by the compass needle is:
\[
\boxed{27 \times 10^{-5} \, \text{Nm}}
\]