Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
quadratic
- Page 1
Re: quadratic algorithm - no. of operations
Programming
Computer Science
14 Years Ago
by apines
Quadratic
algorithm means that for input of size n the complexity …
Quadratic Solver/Info
Programming
Software Development
13 Years Ago
by DoubleTapThat
…c): ############################################################### ### this function is used to solve the
quadratic
equation ### ### and includes the mathematics required to do …quot;) print("below are some common uses of
quadratic
equations:") print("") print("- …
quadratic equation
Programming
Software Development
14 Years Ago
by rbduck09
…as it should. [CODE] ///////////////////////////////////////////////////////////////////////////// // // Name:
Quadratic
.cpp // Author: Jeffrey A. Stone // Course: CMPSC…user has entered sufficient // values to represent a
quadratic
equation. // ///////////////////////////////////////////////////////////////////////////// #include <iostream>…
Quadratic Solver: Header v.s Class v.s Test File
Programming
5 Years Ago
by misstj555
… a program that solves the "
quadratic
equation" when given variables "… //void negativeRoot(); //Sove
quadratic
using negative symbol //void positiveRoot(); //Sove
quadratic
using positive symbol //void…s //void showSolution(); //Wills show answer to
quadratic
//Sets variables "A", "B…
Re: quadratic equation
Programming
Software Development
14 Years Ago
by rbduck09
… is still computed [CODE] ///////////////////////////////////////////////////////////////////////////// // // Name:
Quadratic
.cpp // Author: Jeffrey A. Stone // Course: …user has entered sufficient // values to represent a
quadratic
equation. // ///////////////////////////////////////////////////////////////////////////// #include <iostream>…
Re: quadratic equation
Programming
Software Development
14 Years Ago
by rbduck09
… equation. There is another part to the problem. Enhance the
Quadratic
program in the following manner. If the roots are not… complex, compute the two roots of the
quadratic
equation using the formula: x = (-b + sqrt(( pow (b,2…
Re: quadratic equation
Programming
Software Development
14 Years Ago
by rbduck09
… c.... cin >> c; if ( a == 0 ) { // not a
quadratic
equation, display an error message... cout << "ERROR… not be zero." << endl; } else { // a valid
quadratic
equation, display an error message... cout << "The…
Re: quadratic equation
Programming
Software Development
14 Years Ago
by rbduck09
Okay that part of the program works I have another question.... Still using this piece of code. If the roots are not complex, compute the two roots of the
quadratic
equation using the formula My question is how do I write an if statement to know if the roots are complex or not
Quadratic Formula how to get imaginary numbers
Programming
Software Development
12 Years Ago
by Sasquadge
…to programing and I made a program to solve
quadratic
formula but it doesn't work with imaginary numbers…do. "This will calculate two root values using the
quadratic
formula." << endl; cout <<…= (-b + sqrt(b * b - 4 * a * c)) / (2 * a); //
Quadratic
formula rootvalue2 = (-b - sqrt(b * b - 4 * a * c)) / (2…
Re: Quadratic Formula how to get imaginary numbers
Programming
Software Development
12 Years Ago
by Sasquadge
… don't think that's what is wanted. 1. The
quadratic
formula fails if coefficient ais 0. If the user enters…. The discriminant, b^2 - 4ac, describes the roots of a
quadratic
equation: if it is greater than or equal to 0…
Quadratic Formula?
Programming
Software Development
13 Years Ago
by lxXTaCoXxl
…'m not sure if I remember how to do the
Quadratic
Formula because I haven't had to use it since… equal to zero is because if the discriminant of the
quadratic
is 0 then it only has one true root which…
Re: Quadratic Formula how to get imaginary numbers
Programming
Software Development
12 Years Ago
by Sasquadge
…" "This will calculate two root values using the
quadratic
formula." << endl; cout <<"Enter…
Quadratic Equation Solver - C++ Sub-routine
Programming
Software Development
11 Years Ago
by DavidB
…: a C++ sub-routine that computes the roots of a
quadratic
equation. Notes: * This sub-routine checks if a = 0. * IF… a = 0, then the equation is actually not a
quadratic
equation; it is a linear equation with one--if any…
Re: Quadratic Equation Solver - C++ Sub-routine
Programming
Software Development
11 Years Ago
by DavidB
…* si, double* lr, double* li) { // Calculates the zeros of the
quadratic
a*x^2 + b1*x + c // This solver computes both… == 0) { cout << "\n a = 0. NOT A
QUADRATIC
EQUATION! TWO ROOTS WILL NOT BE FOUND. \n"; cout…
Quadratic Equations Solver
Programming
Software Development
10 Years Ago
by Petcheco
Hello, guys. I wrote the code to a
Quadratic
Equations Solver and I'd like for you to run …;< endl; Repetir(repetir); } return 0; } int main() { SetConsoleTitle("
Quadratic
Equation Solver"); setlocale(LC_ALL, "Portuguese"); Instrucoes(repetir…
Re: Quadratic Solver
Programming
Software Development
14 Years Ago
by steventaal
….h> using namespace std; int main() { system("title
Quadratic
Solver - By Stephen Talarman"); int i = 4; //replace to…;); FreeConsole(); AllocConsole(); system("color 1F"); system("title
Quadratic
Solver - By Stephen Talarman"); goto begin; system("pause…
Re: Quadratic Formula?
Programming
Software Development
13 Years Ago
by lxXTaCoXxl
I forgot to make sure that Δ was greater than zero because when the discriminant is a negative value we must use imaginary numbers to solve the
quadratic
and I didn't add handling for that at all. So just change line 3 to: [code]return (Δ != 0) && (Δ > 0) ? (-b + SquareRoot(Δ)) / (2 * a) : -(b / (2 * a));[/code]
Re: Quadratic Formula?
Programming
Software Development
13 Years Ago
by Momerath
… formula right, you have the results wrong. Remember, for every
quadratic
equations there are two roots (that's what the +- in…
Quadratic Equation
Programming
Software Development
18 Years Ago
by kakeen
… a program that needs to be able to do the
quadratic
equation. I use this code [code] X = ((B*B) - 4…
Re: Quadratic Equation
Programming
Software Development
18 Years Ago
by DavidB
… flag variable). Then follow through with the rest of the
quadratic
equation and make sure to note the imaginary component. -- David
Quadratic probing insert function help
Programming
Software Development
17 Years Ago
by noellieb
Hi all, i am trying to do a
quadratic
hashing but i am having some difficulties probably because i …
Re: Quadratic probing insert function help
Programming
Software Development
17 Years Ago
by Narue
… duplicate (if not allowed) if ( newItem == A[h] ) return false; //
Quadratic
step to the next slot h = ( h + ( step * step - step…
Quadratic Roots Problem
Programming
Software Development
17 Years Ago
by spec80
… that will be inputed into a function to find the
quadratic
root of the 3 numbers. For example, the input file…
Re: Quadratic Roots Problem
Programming
Software Development
17 Years Ago
by spec80
Thanks for the reply. I managed to get the file printing to work, however i still cannot update the memory locations pointed to root1 and root2 with the two values of the
quadratic
root. Is there a specific way of writing an equation to update the memory locations?
Re: Quadratic Roots Problem
Programming
Software Development
17 Years Ago
by WaltP
… to root1 and root2 with the two values of the
quadratic
root. Is there a specific way of writing an equation…
Quadratic Formula
Programming
Software Development
16 Years Ago
by plike922
… to create a program that gets the solution of a
quadratic
formula, but i keep getting an error and i cant…
Quadratic Formula
Programming
Software Development
16 Years Ago
by thuyh83
…' || more == 'Y') { clrscr(); printf ("\n\n\t\t\tSolving
Quadratic
Equation"); printf ("\n\n\t\t\tPlease enter…
Quadratic Equations using if/else statements.
Programming
Software Development
15 Years Ago
by sdgz747
… asks for the coefficients a, b, and c of a
quadratic
equation ax2+bx+c=0. It needs to display to…
Re: Quadratic Equations using if/else statements.
Programming
Software Development
15 Years Ago
by Dave Sinkula
… asks for the coefficients a, b, and c of a
quadratic
equation ax2+bx+c=0. It needs to display to…
Quadratic Solver
Programming
Software Development
15 Years Ago
by steventaal
… or otherwise use to go ahead and do so. Standard
Quadratic
Form applies here, Ax2 * Bx * C, and sometimes Ax2 * Bx…
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