Ask Question

Let's now use our new calculator functions to do some calculations!

A. Add the square of 3 to the square root of 9 Save the result to a variable called calc_a

B. Subtract the division of 12 by 3 from the the multiplication of 2 and 4 Save the result to a variable called calc_b

C. Multiply the square root of 16 by the sum of 7 and 9 Save the result to a variable called calc_c

D. Divide the square of 7 by the square root of 49 Save the result to a variable called calc_d

+4
Answers (1)
  1. 9 November, 03:59
    0
    Ans1.

    double calc_a;

    calc_a=Math. pow (3.0,2.0) + Math. sqrt (9);

    Ans2.

    double calc_b;

    calc_b = ((12.0/3.0) - (2.0*4.0));

    Ans 3.

    double calc_c;

    calc_c = (Math. sqrt (16.0) * (7.0+9.0));

    Ans 4.

    double calc_d;

    calc_d=Math. pow (7.0,2.0) / Math. sqrt (49.0);

    Explanation:

    The expressions are done with Java in answer above.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Let's now use our new calculator functions to do some calculations! A. Add the square of 3 to the square root of 9 Save the result to a ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers