It worked in the old version, but in this latest version, it shows me an error message stating that the variable T is not defined.
Why is this happening?
What you did worked OK up to version 9 of Prime.
You are using an undocumented trick which turned a range into a vector - the inline evaluation (the = at the end) did the trick.

So up to Prime 9 variable T was now a vector, but starting with Prime 10 this variable still is just a range and that's the reason your sheet is failing.
As Alan already said you have to define "T" as a vector and there are many ways you could do so.
The easiest way is to use the new function "vec" (it was introduced with Prime 11).
Simply replace your definition of "T" with T:=vec(0s,0.01s,Tmax) and your sheet should again be up and running.
But actually I wonder why you would go through the hassle of using vectors at all. You are using a math program, not just a spreadsheet like Excel. So there is no need to manipulate vectors - you could rather use functions to do the job - much more versatile:
