Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
square
- Page 1
Evaluating OpenAI GPT 4.1 for Text Summarization and Classification Tasks
Programming
Computer Science
1 Month Ago
by usmanmalik57
…", "Quantitative Biology", "Quantitative Finance"] # Remove
square
brackets and split the subjects for each entry in outputs…
Re: Is the Vision Pro worth it?
Hardware and Software
macOS
1 Month Ago
by Reverend Jim
I usually put a
square
tile in the middle of the floor to stand on when playing Beat Saber. Eleven Table Tennis doesn't need it because I orient myself to the VR table. I play In Death Unchained seated because there are too many vertigo-inducing places in the middle world where I could easily fall over. Some of them make my feet tingle.
Square
Programming
Software Development
11 Years Ago
by piyush_2
hiii.! how to make a hollow
square
of asterisks by entering a size of side by user, for example if 4 is entered then, it will be print, * * * * * * * * * * * * of 4*4.
Re: square root guestimator!! oh the loops!
Programming
Software Development
17 Years Ago
by DJEEPER
… my updated running code: [code]//DANIEL DORER //CSC201 //LAB 4 //
SQUARE
ROOT GUESTIMATOR //----------------------- //NECESSARY PREPROCESSOR DIRECTIVES #include <iostream> #include…;endl; done=false; count++; } else { cout<< "The
square
root of the number given is: " <<ng…
square root guestimator!! oh the loops!
Programming
Software Development
17 Years Ago
by DJEEPER
…output. can anyone help? heres my code: [code]//
SQUARE
ROOT GUESTIMATOR //----------------------- //NECESSARY PREPROCESSOR DIRECTIVES #include <…enter the number you would wish to find the
square
root of: "; cin>> …lt;"Now please enter your guess of the
square
root: "; cin>> b; …
Re: Square Root and cube Calculation
Programming
Software Development
13 Years Ago
by kplcjl
…1000, Sqrt: 3.16227766016838 Value: 11,
Square
: 121, Cube: 1331, Sqrt: 3.3166247903554 Value: 12,
Square
: 144, Cube: 1728, Sqrt: 3.…wrote the code to do that in 11 lines. The
square
and cubes are simple math statements, you just need … even have to know that fairly advanced mathmatics. The
square
root is a built-in function of the Math tool…
Square Root Iteration
Programming
Software Development
13 Years Ago
by Nawaf15
…value2 = (value1 + value/value1)/2; } cout << "
square
root of " << value << " is… " << value2 // prints out the
square
root of the value entered << endl; } system (&…
square function with unsigned and char args
Programming
Software Development
14 Years Ago
by bookmark
…);[/CODE] I want it to just output a
square
like this [CODE] **** **** **** **** [/CODE] How… using namespace std; void
square
(unsigned a, char b); int main(){
square
(4, 'W');
square
(4); system("pause"…;); } void
square
(unsigned a, char b…
Re: Square Root Iteration
Programming
Software Development
13 Years Ago
by Nawaf15
…value == 0.0) cout << "
square
root of " << value <&…lt;< endl; } cout << "
square
root of " << value <&…quot; << value2 // prints out the
square
root of the value entered << endl;…
Re: Square Root Iteration
Programming
Software Development
13 Years Ago
by Nawaf15
…value == 0.0) cout << "
square
root of " << value <&…lt;< endl; } cout << "
square
root of " << value <<…quot; << value2 // prints out the
square
root of the value entered << endl; …
Re: Square Root Iteration
Programming
Software Development
13 Years Ago
by Nawaf15
… if (value == 0.0) cout << "
square
root of " << value << "…; value2 << endl; } cout << "
square
root of " << value << "…
Re: Square Root Iteration
Programming
Software Development
13 Years Ago
by Nawaf15
…value == 0.0) cout << "
square
root of " << value <…lt;< endl; } cout << "
square
root of " << value <<…quot; << value2 // prints out the
square
root of the value entered << endl;…
Re: Square Root Iteration
Programming
Software Development
13 Years Ago
by Nawaf15
…value == 0.0) cout << "
square
root of " << value <&…lt;< endl; } cout << "
square
root of " << value <&…quot; << value2 // prints out the
square
root of the value entered << endl;…
Re: square root guestimator!! oh the loops!
Programming
Software Development
17 Years Ago
by vmanes
… the guess itself may have been within tolerance of the
square
root value you seek. So, your output shows a next… value that is within your .005 tolerance of being the
square
root, but had a larger difference with the previous guess…s important - the amount of change or the closeness to
square
root value? A better test is - subtract the guess^2…
Square deal in C
Programming
Software Development
15 Years Ago
by coolfriends
… be used as the size of a
square
array. The second integer will be an… the number I in that position of the
square
. Otherwise, print *** in that position. Move… to the right one
square
, and test the integer I+1 for primality…Proceed in a counterclockwise spiral through the
square
until the
square
is full of numbers and ***. Then…
Re: Square deal in C
Programming
Software Development
13 Years Ago
by 1qazxsw2
…*/ int A[15][15]; int prime(int n); int
square
(int n, int i, int o); int main( int…*/ A[(N-1)/2][(N-1)/2]=I; m =
square
(N,I,0); /* print box */ for(i=0;i…) return n; else return 0; } /* populates array */ int
square
(int n, int i, int o) { int h; int v…
Re: Square root program without sqrt or pwr
Programming
Software Development
15 Years Ago
by yonghc
… (opt.5) Third place - invisal's inverse
Square
Root algorithm (opt.7) Fourth place - firstPerson's…13) To date, 13 working algorithms for computing
square
-roots are as follows: opt.1 (tformed) exp… firstPerson's Taylor series was used to compute
square
roots. Taylor series, e^x can be used…
Re: Square root program without sqrt or pwr
Programming
Software Development
15 Years Ago
by yonghc
… firstPerson and Foamgum for their tip top-performance
Square
root algorithms basing on the latest improved honest-… variables had to be used for computation of
square
roots. [B]COMPILERS TESTED AND COMPILING PROCEDURES[/B…10; bfg = (1.0 + number)/2; // First estimate of
square
root of number. cfg = (bfg - number/bfg)/2; // Correction…
Re: Square Root of -1
Programming
Software Development
16 Years Ago
by ohnomis
… is positive, however, if you try to take the
square
root of -1, that means you want y y*… 1 instead of -1. That means there is no
square
root of -1. We just say it is -1… * itself is = x so if 2 * 2 = 4 //
square
root of 4 is equal to 2 -1 * -1 = doesn…'t work cuz all
square
roots are positive so does this mean if i use…
Re: Square root program without sqrt or pwr
Programming
Software Development
15 Years Ago
by yonghc
…round? -------------------------- To date, 8 working algorithms for computing
square
-roots are as follows: opt.1 (tformed) exp() …(firstPerson) Brute force opt.7 (invisal) Inverse
Square
Root opt.8 (Foamgum) Spirit MySQRT NathanOliver's…algorithm (opt.5) - Second place. invisal's inverse
Square
Root algorithm (opt.7) - third place. Foamgum'…
Re: Square recursive fractal
Programming
Software Development
15 Years Ago
by sirdanman10
…. unsigned int sq, ly; //loops: sq = individual
square
, ly = layer unsigned int ps; //position: corner to… start in the very center with the biggest
square
//then work backward, halving the size each …ly=2;ly<=idx;ly++) //for each
square
, loop backward through layers. //if we are…
Re: square function with unsigned and char args
Programming
Software Development
14 Years Ago
by MasterGberry
…. [CODE] // prototype with default char b void
square
(unsigned a, char b = '*'); // function definition void
square
(unsigned a, char b) { int oneLessThanA…
Re: square function with unsigned and char args
Programming
Software Development
14 Years Ago
by jonsca
… trying to get output like this: [code]
square
(4,w); wwww wwww wwww wwww
square
(4); **** **** **** **** [/code] at least that's my…
Re: Square Root Iteration
Programming
Software Development
13 Years Ago
by Eagletalon
another basic check you can perform to block to much working is to see if the input is 1... IIRC
square
root of 1 = 1 so no need to calculate
Re: Square Root Iteration
Programming
Software Development
13 Years Ago
by Nawaf15
thanks for ur input @eagletalon. you pointed out a very good point. How can I do that? I have entered a letter and it still gave me a numeric
square
root!
square & cube
Programming
Software Development
15 Years Ago
by maverick405
…input of ten different numbers and displays it's
square
and cube, from the below code I can display… [size]) { int index; cout << "\nThe
square
of your input numbers are:\n"; for (index = 0… << "\n\n"; cout << "
Square
is ---> " << values [index]; } } void …
Square recursive fractal
Programming
Software Development
15 Years Ago
by Der_sed
… drawn recursively on each of the 4 corners of a
square
. • The base case is draw nothing for n = 0. • The… reduction step is to draw, on each corner of a
square
, another
square
which is halved in size. (The ratio of the… is 2, that is length of the sides of the
square
is halved at each level) Im using the Stroustrup GUI…
Re: square function with unsigned and char args
Programming
Software Development
14 Years Ago
by MasterGberry
Whoops, i made a hollow
square
xD
Re: Square Root and cube Calculation
Programming
Software Development
13 Years Ago
by mrbrightside10
…{ class Program { static void Main(string[] args) { int
Square
, Cube; Squareroot; Console.WriteLine("\tNumber\tSquare\tCube\tSquareroot"…int Number = 1; Number <= 12; Number++) {
Square
= Number * Number; Cube =
Square
* Number; Squareroot = Math.Sqrt(Number); Console.WriteLine("\…
Re: Square Root of -1
Programming
Software Development
16 Years Ago
by brechtjah
… 4 is 2 because 2*2 is 4. So the
square
root of x is a number which complies to this… that is positive, however, if you try to take the
square
root of -1, that means you want y y*y…'s 1 instead of -1. That means there is no
square
root of -1. We just say it is -1 because…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC