Go backMath_Lib
Now calculate the third degree root...
NPM
https://www.npmjs.com/package/loganmatic
Installation
npm install loganmatic // or yarn add install loganmatic
ENG
!! JAVASCRIPT !!
Personal library created in JavaScript and Python for common use. In development...
To use as an NPM package, simply use npm i loganmatic.
To import, use:
import anythingYouWant from "loganmatic.js"
Then, you can use it as follows:
console.log(anythingYouWant.EulerNumber); console.log(anythingYouWant.factor(100));
Evaluated modules to calculate
- Pi
- EulerNumber
- absoluteValue
- factorial
- squareRoot
- cubicRoot
- factor
- sine
- cosine
- linearEquation
- quadraticEquation
- cubicEquation
- gcd
- lcm
If you find any errors in the code, please send them to me. It will be of great help!
Usage example:
import Mathematics from "loganmatic";
console.log(Mathematics.EulerNumber);
const equationRoots = Mathematics.cubicEquation(1, -6, 11, -6);
console.log(equationRoots.value); // Returns an array
console.log(equationRoots.msg); // Returns a descriptive message
Made by Gabriel Lima.
\ No newline at end of file
+Go backMath_Lib
Now calculate the third degree root...
NPM
https://www.npmjs.com/package/loganmatic
Installation
npm install loganmatic // or yarn add install loganmatic
ENG
!! JAVASCRIPT !!
Personal library created in JavaScript and Python for common use. In development...
To use as an NPM package, simply use npm i loganmatic.
To import, use:
import anythingYouWant from "loganmatic.js"
Then, you can use it as follows:
console.log(anythingYouWant.EulerNumber); console.log(anythingYouWant.factor(100));
Evaluated modules to calculate
- Pi
- EulerNumber
- absoluteValue
- factorial
- squareRoot
- cubicRoot
- factor
- sine
- cosine
- linearEquation
- quadraticEquation
- cubicEquation
- gcd
- lcm
If you find any errors in the code, please send them to me. It will be of great help!
Usage example:
import Mathematics from "loganmatic";
console.log(Mathematics.EulerNumber);
const equationRoots = Mathematics.cubicEquation(1, -6, 11, -6);
console.log(equationRoots.value); // Returns an array
console.log(equationRoots.msg); // Returns a descriptive message
Made by Gabriel Lima.
\ No newline at end of file
diff --git a/docs/out/typescript.txt b/docs/out/typescript.txt
index 05deb11..590444b 100644
--- a/docs/out/typescript.txt
+++ b/docs/out/typescript.txt
@@ -1,7 +1,7 @@
-2:I[5250,["250","static/chunks/250-836ac6b7b0dd6b5f.js","749","static/chunks/749-c8fcac6018027621.js","662","static/chunks/app/typescript/page-b7de08986539bea5.js"],""]
-3:I[1749,["250","static/chunks/250-836ac6b7b0dd6b5f.js","749","static/chunks/749-c8fcac6018027621.js","662","static/chunks/app/typescript/page-b7de08986539bea5.js"],"Image"]
+2:I[5250,["250","static/chunks/250-836ac6b7b0dd6b5f.js","749","static/chunks/749-c8fcac6018027621.js","662","static/chunks/app/typescript/page-3071d1dccfff94f4.js"],""]
+3:I[1749,["250","static/chunks/250-836ac6b7b0dd6b5f.js","749","static/chunks/749-c8fcac6018027621.js","662","static/chunks/app/typescript/page-3071d1dccfff94f4.js"],"Image"]
4:I[5613,[],""]
5:I[1778,[],""]
-0:["n68JXyzbBVxJSy6MJ6wdI",[[["",{"children":["typescript",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["typescript",{"children":["__PAGE__",{},["$L1",["$","div",null,{"className":"min-h-screen bg-gray-100 p-8","children":[["$","$L2",null,{"className":"hover:text-blue-700","href":"/","children":"Go back"}],["$","h1",null,{"className":"mb-4 text-center text-4xl font-bold","children":"Math_Lib"}],["$","p",null,{"className":"mb-4 text-center text-lg","children":"Now calculate the third degree root..."}],["$","p",null,{"className":"mb-4 flex items-center justify-center","children":["$","$L2",null,{"href":"https://www.buymeacoffee.com/gabriellogan","target":"_blank","children":["$","$L3",null,{"src":"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png","alt":"Buy Me A Coffee","width":0,"height":0,"className":"h-12 w-44"}]}]}],["$","h2",null,{"className":"mb-2 text-2xl font-bold","children":"NPM"}],["$","p",null,{"className":"mb-4","children":["$","$L2",null,{"href":"https://www.npmjs.com/package/loganmatic","className":"text-blue-500","children":"https://www.npmjs.com/package/loganmatic"}]}],["$","h3",null,{"className":"mb-2 text-xl font-bold","children":"Installation"}],["$","pre",null,{"className":"mb-4 rounded bg-gray-200 p-2","children":["$","code",null,{"children":"npm install loganmatic // or yarn add install loganmatic"}]}],["$","p",null,{"className":"mb-4","children":"ENG"}],["$","p",null,{"className":"mb-4 font-bold","children":"!! JAVASCRIPT !!"}],["$","p",null,{"className":"mb-4","children":"Personal library created in JavaScript and Python for common use. In development..."}],["$","p",null,{"className":"mb-4","children":"To use as an NPM package, simply use npm i loganmatic."}],["$","p",null,{"className":"mb-4","children":"To import, use:"}],["$","pre",null,{"className":"mb-4 rounded bg-gray-200 p-2","children":["$","code",null,{"children":"import anythingYouWant from \"loganmatic.js\""}]}],["$","p",null,{"className":"mb-4","children":"Then, you can use it as follows:"}],["$","pre",null,{"className":"mb-4 rounded bg-gray-200 p-2","children":["$","code",null,{"children":"console.log(anythingYouWant.EulerNumber); console.log(anythingYouWant.factor(100));"}]}],["$","h2",null,{"className":"mb-2 text-2xl font-bold","children":"Evaluated modules to calculate"}],["$","ul",null,{"className":"mb-4 list-disc pl-5","children":[["$","li",null,{"children":"Pi"}],["$","li",null,{"children":"EulerNumber"}],["$","li",null,{"children":"absoluteValue"}],["$","li",null,{"children":"factorial"}],["$","li",null,{"children":"squareRoot"}],["$","li",null,{"children":"cubicRoot"}],["$","li",null,{"children":"factor"}],["$","li",null,{"children":"sine"}],["$","li",null,{"children":"cosine"}],["$","li",null,{"children":"linearEquation"}],["$","li",null,{"children":"quadraticEquation"}],["$","li",null,{"children":"cubicEquation"}],["$","li",null,{"children":"gcd"}],["$","li",null,{"children":"lcm"}]]}],["$","p",null,{"className":"mb-4","children":"If you find any errors in the code, please send them to me. It will be of great help!"}],["$","p",null,{"className":"mb-4 font-bold","children":"Usage example:"}],["$","pre",null,{"className":"mb-4 rounded bg-gray-200 p-2 text-sm","children":["$","code",null,{"className":"block whitespace-pre","children":[["$","span",null,{"className":"text-blue-600","children":"import"}]," Mathematics"," ",["$","span",null,{"className":"text-blue-600","children":"from"}]," ",["$","span",null,{"className":"text-red-600","children":"\"loganmatic\""}],";",["$","br",null,{}],["$","span",null,{"className":"text-blue-600","children":"console.log"}],"(Mathematics.EulerNumber);",["$","br",null,{}],["$","span",null,{"className":"text-green-600","children":"const"}]," equationRoots = Mathematics.cubicEquation(1, -6, 11, -6);",["$","br",null,{}],["$","span",null,{"className":"text-blue-600","children":"console.log"}],"(equationRoots.value);"," ",["$","span",null,{"className":"text-gray-500","children":"// Returns an array"}],["$","br",null,{}],["$","span",null,{"className":"text-blue-600","children":"console.log"}],"(equationRoots.msg);"," ",["$","span",null,{"className":"text-gray-500","children":"// Returns a descriptive message"}]]}]}],["$","p",null,{"children":"Made by Gabriel Lima."}]]}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","typescript","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_266f40","children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}]}]}],null]],[[["$","link","0",{"rel":"stylesheet","href":"https://gabriel-logan.github.io/Math_Lib/_next/static/css/d5e72889867e7115.css","precedence":"next","crossOrigin":""}]],"$L6"]]]]
+0:["qWJ5XnrqaQ682D4J4urqe",[[["",{"children":["typescript",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["typescript",{"children":["__PAGE__",{},["$L1",["$","div",null,{"className":"min-h-screen bg-gray-100 p-8","children":[["$","$L2",null,{"className":"hover:text-blue-700","href":"/","children":"Go back"}],["$","h1",null,{"className":"mb-4 text-center text-4xl font-bold","children":"Math_Lib"}],["$","p",null,{"className":"mb-4 text-center text-lg","children":"Now calculate the third degree root..."}],["$","p",null,{"className":"mb-4 flex items-center justify-center","children":["$","$L2",null,{"href":"https://www.buymeacoffee.com/gabriellogan","target":"_blank","children":["$","$L3",null,{"src":"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png","alt":"Buy Me A Coffee","width":0,"height":0,"className":"h-12 w-44"}]}]}],["$","h2",null,{"className":"mb-2 text-2xl font-bold","children":"NPM"}],["$","p",null,{"className":"mb-4","children":["$","$L2",null,{"href":"https://www.npmjs.com/package/loganmatic","className":"text-blue-500","children":"https://www.npmjs.com/package/loganmatic"}]}],["$","h3",null,{"className":"mb-2 text-xl font-bold","children":"Installation"}],["$","pre",null,{"className":"mb-4 rounded bg-gray-200 p-2","children":["$","code",null,{"children":"npm install loganmatic // or yarn add install loganmatic"}]}],["$","p",null,{"className":"mb-4","children":"ENG"}],["$","p",null,{"className":"mb-4 font-bold","children":"!! JAVASCRIPT !!"}],["$","p",null,{"className":"mb-4","children":"Personal library created in JavaScript and Python for common use. In development..."}],["$","p",null,{"className":"mb-4","children":"To use as an NPM package, simply use npm i loganmatic."}],["$","p",null,{"className":"mb-4","children":"To import, use:"}],["$","pre",null,{"className":"mb-4 rounded bg-gray-200 p-2","children":["$","code",null,{"children":"import anythingYouWant from \"loganmatic.js\""}]}],["$","p",null,{"className":"mb-4","children":"Then, you can use it as follows:"}],["$","pre",null,{"className":"mb-4 rounded bg-gray-200 p-2","children":["$","code",null,{"children":"console.log(anythingYouWant.EulerNumber); console.log(anythingYouWant.factor(100));"}]}],["$","h2",null,{"className":"mb-2 text-2xl font-bold","children":"Evaluated modules to calculate"}],["$","ul",null,{"className":"mb-4 list-disc pl-5","children":[["$","li",null,{"children":"Pi"}],["$","li",null,{"children":"EulerNumber"}],["$","li",null,{"children":"absoluteValue"}],["$","li",null,{"children":"factorial"}],["$","li",null,{"children":"squareRoot"}],["$","li",null,{"children":"cubicRoot"}],["$","li",null,{"children":"factor"}],["$","li",null,{"children":"sine"}],["$","li",null,{"children":"cosine"}],["$","li",null,{"children":"linearEquation"}],["$","li",null,{"children":"quadraticEquation"}],["$","li",null,{"children":"cubicEquation"}],["$","li",null,{"children":"gcd"}],["$","li",null,{"children":"lcm"}]]}],["$","p",null,{"className":"mb-4","children":"If you find any errors in the code, please send them to me. It will be of great help!"}],["$","p",null,{"className":"mb-4 font-bold","children":"Usage example:"}],["$","pre",null,{"className":"mb-4 rounded bg-gray-200 p-2 text-sm","children":["$","code",null,{"className":"block whitespace-pre","children":[["$","span",null,{"className":"text-blue-600","children":"import"}]," Mathematics"," ",["$","span",null,{"className":"text-blue-600","children":"from"}]," ",["$","span",null,{"className":"text-red-600","children":"\"loganmatic\""}],";",["$","br",null,{}],["$","span",null,{"className":"text-blue-600","children":"console.log"}],"(Mathematics.EulerNumber);",["$","br",null,{}],["$","span",null,{"className":"text-green-600","children":"const"}]," equationRoots = Mathematics.cubicEquation(1, -6, 11, -6);",["$","br",null,{}],["$","span",null,{"className":"text-blue-600","children":"console.log"}],"(equationRoots.value);"," ",["$","span",null,{"className":"text-gray-500","children":"// Returns an array"}],["$","br",null,{}],["$","span",null,{"className":"text-blue-600","children":"console.log"}],"(equationRoots.msg);"," ",["$","span",null,{"className":"text-gray-500","children":"// Returns a descriptive message"}]]}]}],["$","p",null,{"children":"Made by Gabriel Lima."}]]}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","typescript","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_266f40","children":[["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}]," ",["$","script",null,{"defer":true,"data-name":"BMC-Widget","data-cfasync":"false","src":"https://cdnjs.buymeacoffee.com/1.0.0/widget.prod.min.js","data-id":"gabriellogan","data-description":"Support me on Buy me a coffee!","data-message":"","data-color":"#5F7FFF","data-position":"Right","data-x_margin":"18","data-y_margin":"18"}]]}]}],null]],[[["$","link","0",{"rel":"stylesheet","href":"https://gabriel-logan.github.io/Math_Lib/_next/static/css/11bbeac8b146a0c0.css","precedence":"next","crossOrigin":""}]],"$L6"]]]]
6:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Loganmatic"}],["$","meta","3",{"name":"description","content":"Mathematics library created for use in JS, TS, JAVA, PYTHON and C# languages. Under development..."}],["$","link","4",{"rel":"author","href":"https://github.com/gabriel-logan"}],["$","meta","5",{"name":"author","content":"Gabriel Logan"}],["$","link","6",{"rel":"icon","href":"/Math_Lib/favicon.ico","type":"image/x-icon","sizes":"256x256"}]]
1:null