answersLogoWhite

0


Best Answer
  1. Halv that given number,
  2. Make a square that has that half number as the length of a side.
  3. Stretch the string across the diagonal of the square from corner to corner.
  4. The length of the string is the square root of the given number
User Avatar

Wiki User

โˆ™ 2010-01-06 07:16:09
This answer is:
User Avatar
Study guides

Algebra

20 cards

A polynomial of degree zero is a constant term

The grouping method of factoring can still be used when only some of the terms share a common factor A True B False

The sum or difference of p and q is the of the x-term in the trinomial

A number a power of a variable or a product of the two is a monomial while a polynomial is the of monomials

โžก๏ธ
See all cards
3.74
โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…
834 Reviews

Add your answer:

Earn +20 pts
Q: Find out the square root for that given number using string?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a c program To count number of words in a given string?

Write a C program to count the number of characters in a given string with and without using srtlen() function


How do you get odd ascii letters from a given string using string copy?

there is no such method using string copy


How do you convert a number that consist of alphabet and number in reverse order?

To reverse a number, first convert the number to a string, then reverse the string. Given your number consists of alphanumeric characters, the number must already be a string so simply reverse the string: #include<string> using std::string; string reverse (const string& s) { string str {}; for (auto c : s) str.insert (str.begin(), c); return str; } int main () { std::cout << "Enter a number: "; string s {}; std::cin >> s; std::cout << "The number in reverse is: " << reverse (s); }


To find square root of a nos without using built in function?

/*Java program to find out square root of a given number * without using any Built-In Functions */ public class SquareRootDemo2 { public static void main(String[] args) { //Number for which square root is to be found double number = -12; //This method finds out the square root findSquareRoot(number); } /*This method finds out the square root without using any built-in functions and displays it */ public static void findSquareRoot(double number) { boolean isPositiveNumber = true; double g1; //if the number given is a 0 if(number==0) { System.out.println("Square root of "+number+" = "+0); } //If the number given is a -ve number else if(number<0) { number=-number; isPositiveNumber = false; } //Proceeding to find out square root of the number double squareRoot = number/2; do { g1=squareRoot; squareRoot = (g1 + (number/g1))/2; } while((g1-squareRoot)!=0); //Displays square root in the case of a positive number if(isPositiveNumber) { System.out.println("Square roots of "+number+" are "); System.out.println("+"+squareRoot); System.out.println("-"+squareRoot); } //Displays square root in the case of a -ve number else { System.out.println("Square roots of -"+number+" are "); System.out.println("+"+squareRoot+" i"); System.out.println("-"+squareRoot+" i"); } } }


Function in C plus plus that takes in any number parameter and returns the string representation of it?

#include#includeusing std::cin;using std::cout;using std::endl;using std::string;int main(){string number = "0";cout number;cout


What is the largest number you can make using 2196?

As a numerical string, 9621.


C program to find square of number using do while loop?

class Abc { public static void main(String[] args) { System.out.println("Hello World!"); } }


Write a program that converts a decimal number to crossponding string .Decimal Number is accepted as command line input at the time of execution?

#include #include using std::cout;using std::cin;using std::endl;using std::string;int main(){string myNumber = "";cout myNumber;cout


Write a c program to count number of words in a given text file and find the biggest word in that file?

Write a java program using IO String to count the number of words in a file.


What were people trying to do when they tried to square the circle?

construct a square that perfectly circumscribes (surrounds) a given square * * * * * What? The same square will do it - perfectly! It is, in fact, the challenge of constructing a square with the same area as a given circle by using only a finite number of steps with compass and straightedge. As pi (π) is a transcendental, rather than an algebraic irrational number, it cannot be done.


How do you scramble a string in java?

Take out one letter, using a random number. Then replace the string with the new string, without the extracted letter. Repeat, until the remaining string has a length of zero. The extracted letters get added to a new string.Take out one letter, using a random number. Then replace the string with the new string, without the extracted letter. Repeat, until the remaining string has a length of zero. The extracted letters get added to a new string.Take out one letter, using a random number. Then replace the string with the new string, without the extracted letter. Repeat, until the remaining string has a length of zero. The extracted letters get added to a new string.Take out one letter, using a random number. Then replace the string with the new string, without the extracted letter. Repeat, until the remaining string has a length of zero. The extracted letters get added to a new string.


Count characters in an input string using c sharp?

Console.WriteLine("Please input a string:"); string str = Console.ReadLine(); Console.WriteLine("Number of characters: " + str.Length);

People also asked