x = 0:5:90;
fid = fopen('table_1.dat','w');
fprintf(fid,'   x    sin(x)\n');
fprintf(fid,'--------------\n');
fprintf(fid,'%6.3f %6.3f\n',[x;sind(x)]);
fclose(fid);
