aboutsummaryrefslogtreecommitdiff
path: root/challenge-191
diff options
context:
space:
mode:
Diffstat (limited to 'challenge-191')
-rw-r--r--challenge-191/jo-37/maxima/ch-2.wxm17
1 files changed, 17 insertions, 0 deletions
diff --git a/challenge-191/jo-37/maxima/ch-2.wxm b/challenge-191/jo-37/maxima/ch-2.wxm
new file mode 100644
index 0000000000..d7e0cbef2d
--- /dev/null
+++ b/challenge-191/jo-37/maxima/ch-2.wxm
@@ -0,0 +1,17 @@
+/* [wxMaxima batch file version 1] [ DO NOT EDIT BY HAND! ]*/
+/* [ Created with wxMaxima version 13.04.2 ] */
+
+/* [wxMaxima: input start ] */
+n: 15;
+/* [wxMaxima: input end ] */
+
+/* [wxMaxima: input start ] */
+a: genmatrix(lambda([i, j], if mod(i, j) = 0 or mod(j, i) = 0 then 1 else 0), n, n);
+/* [wxMaxima: input end ] */
+
+/* [wxMaxima: input start ] */
+permanent(a);
+/* [wxMaxima: input end ] */
+
+/* Maxima can't load/batch files which end with a comment! */
+"Created with wxMaxima"$