A spring 40 mm long is stretched by the application of a force. If 10 N force required to stretch the spring through 1 mm, then work done in stretching the spring through 40 mm is