aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Müller <andreas.mueller@ost.ch>2021-12-09 14:59:38 +0100
committerAndreas Müller <andreas.mueller@ost.ch>2021-12-09 14:59:38 +0100
commitbd7879650e4f53524b2f1918951032294836705c (patch)
treea6f62885fad2b6b772669b9395cbe451ecca2c70
parentadd errata file (diff)
downloadSeminarSpezielleFunktionen-bd7879650e4f53524b2f1918951032294836705c.tar.gz
SeminarSpezielleFunktionen-bd7879650e4f53524b2f1918951032294836705c.zip
fix resolution of airy graphs
Diffstat (limited to '')
-rw-r--r--buch/chapters/050-differential/uebungsaufgaben/airy.cpp12
-rw-r--r--buch/chapters/050-differential/uebungsaufgaben/airy.pdfbin18891 -> 25568 bytes
2 files changed, 6 insertions, 6 deletions
diff --git a/buch/chapters/050-differential/uebungsaufgaben/airy.cpp b/buch/chapters/050-differential/uebungsaufgaben/airy.cpp
index bbd5166..e4df8e1 100644
--- a/buch/chapters/050-differential/uebungsaufgaben/airy.cpp
+++ b/buch/chapters/050-differential/uebungsaufgaben/airy.cpp
@@ -77,7 +77,7 @@ int main(int argc, char *argv[]) {
int longindex;
double a = -8;
double b = 2.5;
- int steps = 200;
+ int steps = 500;
while (EOF != (c = getopt_long(argc, argv, "a:b:do:s:",
options, &longindex)))
switch (c) {
@@ -99,14 +99,14 @@ int main(int argc, char *argv[]) {
}
if (debug)
- fprintf(stderr, "%s:%d: outfile: '%s'\n",
- __FILE__, __LINE__, outfilename.c_str());
+ fprintf(stderr, "%s:%d: outfile: '%s', a = %.4f, b = %.4f, steps = %d\n",
+ __FILE__, __LINE__, outfilename.c_str(), a, b, steps);
FILE *outfile = fopen(outfilename.c_str(), "w");
- plot(outfile, "yonepath", f1, a, b, 100);
- plot(outfile, "ytwopath", f2, a, b, 100);
- plot(outfile, "ythreepath", f3, a, b, 100);
+ plot(outfile, "yonepath", f1, a, b, steps);
+ plot(outfile, "ytwopath", f2, a, b, steps);
+ plot(outfile, "ythreepath", f3, a, b, steps);
fclose(outfile);
diff --git a/buch/chapters/050-differential/uebungsaufgaben/airy.pdf b/buch/chapters/050-differential/uebungsaufgaben/airy.pdf
index 6712fa0..672d789 100644
--- a/buch/chapters/050-differential/uebungsaufgaben/airy.pdf
+++ b/buch/chapters/050-differential/uebungsaufgaben/airy.pdf
Binary files differ