solenoid

Do some simple ballistics calculations (you can assume vacuum if it makes things easier) - it should be fairly simple to come up with the minimum energy requirements.