Hello, indiguitar.
Note that although not a homework per se, this kind of question would be better off in the homework section.
Assume no air. This'll give you a lower limit for the energy involved.
Use the suvat equations to find out the initial velocity necessary to land the projectile at an arbitrary distance, say 100km. The launch angle will be 45° for maximum efficiency.
Once you've got the velocity, plug it into the kinetic energy equation along with the passenger+capsule(whatever it might be; probably a lot) mass to get the energy requirement.
The work needed to accelerate the poor shmoe will be equal to that energy. Use the definition of work, taking a few arbitrarily chosen lengths of the barrel(or rails if it's a railgun) to find the acceleration.
Might be a good moment to ask yourself if surviving this many g's is even remotely possible.
One of the possible solutions would be to immerse a person in a liquid-filled tank, making sure that the liquid fills all the body cavities, to prevent tissue tearing due to the acceleration.
Note that without the atmosphere the capsule will decelerate on impact so much harder than that.
No amount of clever engineering will help the passenger if the capsule itself gets squashed.
With atmosphere, you'll need more energy/barrel length/acceleration to get to the same distance, but the landing might be more manageable(air drag, parachutes).
Shooting the projectile at low angle would need more energy/acceleration to reach the same distance, but the landing could dissipate the horizontal velocity by skidding on the surface.