Division of a line segement

Divide a line segement of givin length into n equal parts