Rocket Design - Tall and Thin or Short and Fat

Rocket Design - Tall and Thin or Short and Fat

Some rockets are tall and thin. Some rockets are short and fat. What factors influence that? What shape gives the lightest weight?