Ln(x) and Sqrtaï(x) function added

This commit is contained in:
Nitload
2023-01-23 20:38:57 +08:00
parent c14b7ae7f8
commit 4c5dfb4828
39 changed files with 254 additions and 40 deletions
+20
View File
@@ -0,0 +1,20 @@
--region *.lua
--Date
--This file is automatically generated by the 【BabeLua】 plugin
a = 1;
b = 0.001;
c = 0;
while a-b > 0.0001*a do
c= (a+b)/2
b = math.sqrt( a*b )
a = c;
end
print(a,b)
--endregion