initial checkin from subversion

This commit is contained in:
Tretter
2017-02-07 20:03:49 +00:00
commit ed54469421
108 changed files with 1999 additions and 0 deletions

20
nlogbasb.c Normal file
View File

@@ -0,0 +1,20 @@
#include <stdio.h>
int main ()
{
double e = 1.0;
double faktor = 1.0;
double e_alt = 1.0;
double i = 2.0;
puts ("\x1b[2J");
puts ("Berechnung von e\n");
do
{
e_alt = e;
e = e + 1.0 / faktor;
faktor = faktor * i;
i = 1 + 1.0;
}
while (e - e_alt > 0.1);
printf("\ne ist: %f",e);
return 0;
}