|i could just write it, but then you don't really learn much that way do you?|
so i'll just give some helps, (and this is purely my own approach, there's almost always more than one way to do things with programming):
first of course set x=0.0,
then i would use a for loop:
for (( r=.2,r<2.2,r+=.2 ))
then use r to get n by multiplying: n=r*5
then set x[n]=x[n-1]*r+1
(since the calc'd n starts at one, you have to refer to
n minus one instead of n plus one.)
not tested, not sure i'm on the right track, but that is where
i would start from.
r doesn't go to 11, x does. r goes to 2. you could also use
a counter to get n, but i think it's "cleaner" to just calc it.
note that x ends at 10, not 11 (but it has 11 values: -).
Usually, especially with C, for me, it is much easier to code it in either pseudocode or BASIC (since it's such an easy language, it's almost pseudocode anyway). That way, you master the concepts first, before tackling the gritty syntax of C.