No. That does not give you the answers between 0 and 10. It gives you all the answers from 0 to infinity. I think you don't really get equations, so I'll just write out 40 individual calculations for you.
For t=0, use this: y = sin (pi * 0 / 10);
For t=1, use this: y = sin (pi * 1 / 10);
For t=2, use this: y = sin (pi * 2 / 10);
For t=3, use this: y = sin (pi * 3 / 10);
For t=4, use this: y = sin (pi * 4 / 10);
For t=5, use this: y = sin (pi * 5 / 10);
For t=6, use this: y = sin (pi * 6 / 10);
For t=7, use this: y = sin (pi * 7 / 10);
For t=8, use this: y = sin (pi * 8 / 10);
For t=9, use this: y = sin (pi * 9 / 10);
For t=10, use this: y = sin (pi * 10 / 10);
For t=11, use this: y = sin (pi * 11 / 10);
For t=12, use this: y = sin (pi * 12 / 10);
For t=13, use this: y = sin (pi * 13 / 10);
For t=14, use this: y = sin (pi * 14 / 10);
For t=15, use this: y = sin (pi * 15 / 10);
For t=16, use this: y = sin (pi * 16 / 10);
For t=17, use this: y = sin (pi * 17 / 10);
For t=18, use this: y = sin (pi * 18 / 10);
For t=19, use this: y = sin (pi * 19 / 10);
For t=20, use this: y = sin (pi * 20 / 10);
For t=21, use this: y = sin (pi * 21 / 10);
For t=22, use this: y = sin (pi * 22 / 10);
For t=23, use this: y = sin (pi * 23 / 10);
For t=24, use this: y = sin (pi * 24 / 10);
For t=25, use this: y = sin (pi * 25 / 10);
For t=26, use this: y = sin (pi * 26 / 10);
For t=27, use this: y = sin (pi * 27 / 10);
For t=28, use this: y = sin (pi * 28 / 10);
For t=29, use this: y = sin (pi * 29 / 10);
For t=30, use this: y = sin (pi * 30 / 10);
For t=31, use this: y = sin (pi * 31 / 10);
For t=32, use this: y = sin (pi * 32 / 10);
For t=33, use this: y = sin (pi * 33 / 10);
For t=34, use this: y = sin (pi * 34 / 10);
For t=35, use this: y = sin (pi * 35 / 10);
For t=36, use this: y = sin (pi * 36 / 10);
For t=37, use this: y = sin (pi * 37 / 10);
For t=38, use this: y = sin (pi * 38 / 10);
For t=39, use this: y = sin (pi * 39 / 10);
For t=40, use this: y = sin (pi * 40 / 10);
Now, if you just want five plots between t=0 and t=10, pick out five you like. How about the ones where t=1, 3,5,7 and 9? Just want twenty? Pick yourself out twenty that look nice.