The electrical resistance of a wire varies directly as its length and inversely as the square of its diameter. a wire with a length of 200 inches and a diameter of one-quarter of an inch has a resistance of 20 ohms. find the electrical resistance in a 500 inch wire with the same diameter.