I remember that program.
You just have to fix the width. You only have 28 columns across the screen for PRINT. "COMPUTING" is 9 characters wide, so you need a range from 1-17 for TAB().
As I explained on the list, SIN() returns a value from -1 to +1. So your math needs to deal with that. The fact that he loop counts from 0 to 40 is mathematically arbitrary, but works just as well as carefully chosen values in this case.
So the problem boils down to line 120, which needs to convert a floating point range from -1 to +1 into an integer range from 1-17. The original range is 2 (-1 to +1), and the new range is 16 (1-17) so 16/2 gives us 8 as the ratio.
So, if we multiply the output of SIN by 8, the new range is -8 to +8. We want 1-17, so we add 9. Now we have the range we want.
The other function in there is INT, which truncates a number to an integer.
So the new 120 is:
120 A=INT(
9+
8*SIN(T))
And that should fit on the screen.
Feel free to experiment - always experiment. Also, there are lots of skilled people here, no need to single me out. I'm on vacation.