depending the screen mode/resolution.
A = (half of height of screen)
B = width of screen
for i=0, i < b
print a dot at (x,A-A*sin(x))
if it's too 'smushed' then multiply the x in the sin line a factor.
this is crappy old pseudocode, but i hope it helps.