0

Square Roots

How to find square roots?

22nd Nov 2024, 9:16 PM
Niall Sarath
Niall Sarath - avatar
7 Réponses
+ 5
Niall Sarath In what language as some languages have built in like in php while others may not. I create this with both sqrt() is built in and without as alternative https://sololearn.com/compiler-playground/wJ6h9q9s3pe0/?ref=app
23rd Nov 2024, 1:29 AM
BroFar
BroFar - avatar
+ 5
In C++ you can use <cmath> library to find ²root easily here is the sample code:- #include<iostream> #include<cmath> using namespace std; int main() { int x=16; cout<<sqrt(x); return 0; }
23rd Nov 2024, 12:58 PM
Alhaaz
Alhaaz - avatar
+ 3
Niall Sarath 8.06 * 8.06 is approximately 64.96 so 65 is the closest .. To be more precise, 8.06225775 * 8.06225775
23rd Nov 2024, 1:42 AM
BroFar
BroFar - avatar
0
How to find Square Roots?
22nd Nov 2024, 9:17 PM
Niall Sarath
Niall Sarath - avatar
0
I know! The Digit-by-Digit Method.
23rd Nov 2024, 1:32 AM
Niall Sarath
Niall Sarath - avatar
0
Huh? You think the square root of 65 is 8.06?
23rd Nov 2024, 1:37 AM
Niall Sarath
Niall Sarath - avatar
0
with sqrt();
3rd Dec 2024, 2:30 PM
Sarmad Ali
Sarmad Ali - avatar