OK, so I have defined:
p=1.01; (but later will make this so it is inputted by user as a function)
I need to define y1-y100 like:
is there some way I can make this into some matrix with values up to y100 without having to write out and define each one individually? Maybe I'm being stupid but I can't see an easy way to do this. Any help would be much appreciated.