- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Re:
I am writing a script that solves a Quadratic equation. What I am doing wrong and why? The error I get is: [COLOR="Red"]Traceback (most recent call last): File "/home/matthew/Desktop/QuadraticSolver.py", line 5, in <module> c1 = (b * -1) + math.sqrt(((b*b) - 4*a*c) / 2*a) ValueError: math domain error[/COLOR] Here is … |
|
[URL="http://graphingvariousfunctions.wordpress.com/2011/11/18/how-to-solve-linear-equations-in-10th-grade/"]Solving linear equations[/URL]? It says I have to solve -3k + 4 = 8k - 15 - 6k - 11 On the problem, do I combine like terms on one side first? Like the 8k and the 6k? If so do I add them or subtract them? Can someone please … |
|
Is 2n+constant a good big o notation for a sorting algorithm? I have an assignment in a comp sci class to develop the fastest sort possible and found this to be the big o notation for my algorithm. The constant is based off the highest value in the sort. |
|
Re:
[CODE]int main() { static short multiplycounter; static short dividecounter; double decimal; int rdecimal; cin >> decimal; rdecimal = int(decimal); cout << setprecision(10) << decimal << endl << rdecimal << endl; if(rdecimal % 1 != 0) { while(rdecimal % 1 != 0) { if(rdecimal % 1 == 0) { break; } … |
|
Re:
I have been searching for a solution to this problem: I'm given an expression in infix which can contain *,/,-,+ and I have to find the reduced form of this expression. Ex: Input: ((A+45)*16+(B-C)*D/4 )/8+ 55 Output: A*2+B*D/32-C*D/32 +145 All that can be calculated must be calculated and the simplest … |
|
Re:
[url]http://www.blogthings.com/couldyoupasseighthgrademathquiz[/url] My results: [img]http://images.blogthings.com/couldyoupasseighthgrademathquiz/failed.jpg[/img] Only got 5/10 right :D |