pulo0 / sqrt-root-js

Simple code in JavaScript to calculate square root of a number using Heron's algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sqrt-root-js

Simple code in JavaScript to calculate square root of a number using Heron's algorithm

Calculate Square Root Using Hero's Algorithm

Just to get you up and running using this code, here's step by step how to do it:

1. Clone the repo into your device.

git clone https://github.com/pulo0/sqrt-root-js.git

2. Install Node.js

3. To run it, go to a terminal in your IDE of choice and type.

node heronsqrtroot.js

And you're set, hope it helped you in some way :)

About

Simple code in JavaScript to calculate square root of a number using Heron's algorithm


Languages

Language:JavaScript 100.0%