diff options
Diffstat (limited to 'lua/3.lua')
-rwxr-xr-x | lua/3.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/3.lua b/lua/3.lua new file mode 100755 index 0000000..2106d37 --- /dev/null +++ b/lua/3.lua @@ -0,0 +1,7 @@ +function norm (x,y) + return math.sqrt(x^2+y^2); +end + +function twice(x) + return 2.0 * x; +end |