summaryrefslogtreecommitdiff
path: root/plot.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plot.lua')
-rw-r--r--plot.lua15
1 files changed, 0 insertions, 15 deletions
diff --git a/plot.lua b/plot.lua
deleted file mode 100644
index 18cf16b..0000000
--- a/plot.lua
+++ /dev/null
@@ -1,15 +0,0 @@
-local fn = function(x)
- local fn1 = function() return 0.515 end
- local fn2 = function(arg1) return x end
- return (x*math.exp((x/0.729)))
-end
-
-f = io.open('data.ssv', 'w')
-x0 = -1
-x1 = 1
-for n=0,1000 do
- local x = (n * (2/1000)) + x0
- print(x)
- f:write(string.format("%d %f %f\n", n, x, fn(x)))
-end
-f:close()