You probably know this equation giving the power dissipated:
P = IV
P = power, I = current, V = applied voltage
We can substitute I = V/R from Ohm's law:
P = V²/R
Given values:
V = 30.0×10³V, R = 0.40Ω/km×34.0km = 13.6Ω
Plug in and solve for P:
P = (30.0×10³)²/13.6
P = 6.62×10⁷W