home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
minnie.tuhs.org
/
unixen.tar
/
unixen
/
PDP-11
/
Distributions
/
ucb
/
spencer_2bsd.tar.gz
/
2bsd.tar
/
src
/
pascal
/
tests
/
t01.p
< prev
next >
Wrap
Text File
|
1980-02-17
|
288b
|
25 lines
program graph1(output);
const
d = 0.0625;
s = 32;
h = 34;
c = 6.28318;
lim = 32;
var
x,y: real;
i,n: integer;
begin
for i := 0 to lim do
begin
x := x/i;
y := exp(-x)*sin(c*x);
n := round(s*y) + h;
repeat
write(' ');
n := n-1;
until n=0;
writeln('*')
end
end.