17 дек. 2011 г. · The simpliest (but certainly not fastest) method is to mulitply increasing values with itself in a loop until the result is the value in question. |
23 мар. 2012 г. · I am trying to find square root of number without using math.h library but i am still unable to find its logic. Though i have found that how ... |
24 дек. 2011 г. · Why can't you use the math.h? You could use the pow function instead...it is also defined in cmath/math.h. Topic archived. |
I also think that Taylor's suits better for finding a square root. You can google Taylor`s formula which divides a function by its derivative to get a good ... |
We probably all know that sqrt() returns the square root of its argument,I found its prototype within math.h header but does anyone knows where is the ... |
11 мар. 2013 г. · C++ · Forum · How to find square root of a number without math.h? |
29 июн. 2019 г. · My own function's output is used in both cases, as you can see. sqrt(2) should be 1.4142..., but my function adds 1 to it. |
5 окт. 2012 г. · Square root help · 1) use <cmath> instead of <math.h> when working in C++ · 2) it should be int main() not void main(). · 3) Don't use system(" ... |
Enter a number from 1 to 1000: 200.0 Square root of 200 is 14.1421 Enter a number from 1 to 1000: -6.0 Square root of -6 is -6 |
31 мар. 2010 г. · I'm trying to create a program that outputs a number, that number squared, and that number's square root (example: 4, 16, 2). |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |