You will need at least 7 sections and it will be quite weak when fully extended.
A much stronger solution would be a scissor arm.
But... If you reveal the purpose in enough detail, perhaps alternative methods could be suggested.
What is it supposed to lift or otherwise manipulate (weight, size, form), how fast should it work, what power do you have besides CO2 etc.