From 588c34a3d595fcad5e93b8d4893f1098ce64d046 Mon Sep 17 00:00:00 2001 From: blendoit Date: Mon, 30 Sep 2019 18:42:34 -0700 Subject: First commit! Changed coordinate lists into numpy arrays. --- wing_scripts/get_int.m | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 wing_scripts/get_int.m (limited to 'wing_scripts/get_int.m') diff --git a/wing_scripts/get_int.m b/wing_scripts/get_int.m new file mode 100644 index 0000000..edbfda3 --- /dev/null +++ b/wing_scripts/get_int.m @@ -0,0 +1,35 @@ +function z = get_int(xi,xf,u) + +M = 0.02; +P = 0.4; +T = 0.12; +a0 = 0.2969; +a1 = -0.126; +a2 = -0.3516; +a3 = 0.2843; +a4 = -0.1015; + + +%evaluate the integral of camber line, depending on xi and xf related to P + +if xf