Solved
There's no need for a solve block, if you're not solving an equation.
See attached file, and it plots...
You should carefully read the (online) help of Prime on when and how to use a solve block.
You should also learn about the difference between an index (to point at a specific element of a vector) and a subscript. In your case you many times used an index, where a subscript was needed.
Success!
Luc

