A finite-length capped single-walled carbon nanotube (5, 5) under an applied electric field