A laser rangefinder is locked on a comet approaching Earth. The distance g(x) , in kilometers, of the comet after x days, for x in the interval 0 to 42 days, is given by g(x)=300,000csc(π42x)