Looks good. The code achieves your 2000+1 lines of output.
Drunken coder has confirmed the value is correct... you can plug them into a
calculator to confirm further if needed.
public class Hindeline1
{
public static void main (String [] args)
{
double x;
double y;
double t;
for (t = -10; t <= 10; t += 0.01)
{
double sin=Math.sin(t);
double cos=Math.cos(t);
x = (40 * cos) + 60 * Math.cos((2/3)*t);
y = (40 * sin) - 60 * Math.sin((2/3)*t);
System.out.println(x + " | " + y);
}
}
}