Recent content by needOfHelpCMath

  1. 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...
  2. 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)
  3. 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...
  4. N

    MHB How Much Should Mattos Oil Deposit Semiannually to Pay Off Their Debt?

    thank you so much! Appreciate the help
  5. 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...
  6. 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) { cout << endl << endl; cout << "Generate 5000 numbers: " << endl; for(int i = 0; i < N; ++i) { arr[i] = 0; cout << arr[i]...
  7. 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 cout << "Generate 500 random numbers:" << endl; const int nnn = 500; int numberOfArray3[nnn]; for (i = 0; i <...
  8. N

    C/C++ How Can I Convert Quicksort from Java to C++?

    Thanks! that will help me alot. Appreciate it
  9. 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...
  10. 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?
  11. 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 /?
  12. N

    MHB I have a question on constructor and overload?

    nope never heard of them and i am taking a class on data structures.
  13. 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?
Back
Top