Recent content by needOfHelpCMath
-
N
MHB Revenue and Cost and Profit Problem
Given the following revenue and cost functions, find the maximum profit. R(x) = 71x - 2x^2; C(x) = 23x + 108 P(x) = Revenue - Cost P(x) = 71x-2x^2 - (23x+108) P(x) = -2x^2 + 48x - 108 *I am stuck right here. Using quadratic formula but cannot seem to solve it what I am doing...- needOfHelpCMath
- Thread
- Replies: 6
- Forum: Calculus
-
N
MHB A family buys a house and has to pay monthly
hmm...probably missing some parentheses. - - - Updated - - - AHHH see my mistake! keep on making 11% in decimal form to .011 silly me (Drunk)(Drunk)(Drunk)- needOfHelpCMath
- Post #3
- Forum: Set Theory, Logic, Probability, Statistics
-
N
MHB A family buys a house and has to pay monthly
In order to purchase a home, a family borrows \$40,000 at an annual interest rate of 11%, to be paid back over a 30 year period in equal monthly payments. What is their monthly payment? A) \$366.67 B) \$12.12 C) \$380.93 D) \$392.05 Using the Periodic Deposit for Monthly Amortize Payments...- needOfHelpCMath
- Thread
- Replies: 2
- Forum: Set Theory, Logic, Probability, Statistics
-
N
MHB How Much Should Mattos Oil Deposit Semiannually to Pay Off Their Debt?
thank you so much! Appreciate the help- needOfHelpCMath
- Post #4
- Forum: Calculus
-
N
MHB How Much Should Mattos Oil Deposit Semiannually to Pay Off Their Debt?
In 6 years, Mattos Oil Refining Company wants to pay off a $50,000 debt in one lump sum amount. They must set up an account to accumulate the necessary funds to pay off their debt. If the payments are made every 6 months and the fund earns 9.6% compounded semiannually, what is the amount of each...- needOfHelpCMath
- Thread
- Annuity Future Value
- Replies: 3
- Forum: Calculus
-
N
MHB How Can I Generate and Sort 500 Numbers in an Array?
Thanks I figure it out my professor wasnt clear on what he wanted... He wanted to print out array that will have the same number. int tArray(int arr[], int N) { count << endl << endl; count << "Generate 5000 numbers: " << endl; for(int i = 0; i < N; ++i) { arr[i] = 0; count <<...- needOfHelpCMath
- Post #3
- Forum: Programming and Computer Science
-
N
MHB How Can I Generate and Sort 500 Numbers in an Array?
I want to generate 500 numbers in an array but in order? For example I can generate 500 random numbers with this code but how will i be able to put it in order? //code example count << "Generate 500 random numbers:" << endl; const int nnn = 500; int numberOfArray3[nnn]; for (i = 0; i <...- needOfHelpCMath
- Thread
- Array Numbers
- Replies: 2
- Forum: Programming and Computer Science
-
N
C/C++ How Can I Convert Quicksort from Java to C++?
Thanks! that will help me a lot. Appreciate it- needOfHelpCMath
- Post #3
- Forum: Programming and Computer Science
-
N
C/C++ How Can I Convert Quicksort from Java to C++?
I have never done Java but my professor says it is similar to c++. I am trying to convert quicksort in java and covert it to c++. I don't know if this is correct or not. Here is the code my professor gave us. .....Java...... public static void quicksort(char[], int left, int right) { int...- needOfHelpCMath
- Thread
- C++ Java
- Replies: 3
- Forum: Programming and Computer Science
-
N
MHB No, this is not correct. The answer should be "Infix to Postfix: a*b/c+d/e/f
thank you very much clarifies my mistakes!- needOfHelpCMath
- Post #3
- Forum: Programming and Computer Science
-
N
MHB No, this is not correct. The answer should be "Infix to Postfix: a*b/c+d/e/f
Here is my problem a*b/c+d/e/f: *there is no code because professor ask me do hand write it out* My answer: abc*/def//+is this correct?- needOfHelpCMath
- Thread
- Replies: 2
- Forum: Programming and Computer Science
-
N
C/C++ What is the Precedence of Mathematical Operators in C++?
Thank you very much!- needOfHelpCMath
- Post #3
- Forum: Programming and Computer Science
-
N
C/C++ What is the Precedence of Mathematical Operators in C++?
Which has precedence over each other * / - + because i am working on this problem for c++ but without coding it but instead writing it out on paper. For example: 7+3*4/2-5-3+4 Which will have precedence - or /?- needOfHelpCMath
- Thread
- C++
- Replies: 2
- Forum: Programming and Computer Science
-
N
MHB I have a question on constructor and overload?
nope never heard of them and i am taking a class on data structures.- needOfHelpCMath
- Post #8
- Forum: Programming and Computer Science
-
N
MHB I have a question on constructor and overload?
hmmm...i think the principle is to understand constructors and class and how they work together?- needOfHelpCMath
- Post #6
- Forum: Programming and Computer Science