From 7006abf6dbac4d18172786140e81431a1b237c9a Mon Sep 17 00:00:00 2001
From: Philipp Le <philipp-le-prviat@freenet.de>
Date: Tue, 26 May 2020 23:54:50 +0200
Subject: Completed Chapter 4

---
 common/settings.tex | 9 +++++++++
 1 file changed, 9 insertions(+)

(limited to 'common/settings.tex')

diff --git a/common/settings.tex b/common/settings.tex
index ba83d93..0e8e28c 100644
--- a/common/settings.tex
+++ b/common/settings.tex
@@ -107,6 +107,15 @@
 		};
 	};
 }
+\tikzmath{
+	function asinc(\x, \y) {
+		if  abs(\x) < .001 then { % (|x| < .001) ~ (x = 0)
+			return 1;
+		} else {
+			return sin(\y * deg(\x) / 2)/(\y * sin(deg(\x)/2));
+		};
+	};
+}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % Symbols
-- 
cgit v1.1

