The hypotenuse function is correct, but the main function has a problem. Explain why it may not work, and show a way to fix it. Your fix must be to the main function only; you must not change the hypotenuse function in any way.

Answers

Answer 1

Answer: hello your question is incomplete attached below is the missing codes

Answer : It may not work because; the double pointer P was not allotted a double using a new double ( I.e. Error in the main function ) also the cout statement was not written in the main function

Step-by-step explanation:

It may not work because; the double pointer P was not allotted a double using a new double ( I.e. Error in the main function ) also the cout statement  should be moved to the Main

The correction  is below

{

   double* p = new double;

   hypotenuse(1.5, 2.0, p);

  cout << "The hypotenuse is " << *p << endl;

}

The Hypotenuse Function Is Correct, But The Main Function Has A Problem. Explain Why It May Not Work,

Related Questions

What are the coordinates of the solution of these two linear equations

Answers

Answer:

(-2 -3)

Step-by-step explanation:

_____________________

Can someone please help?

Answers

Answer:

It is closer to 7,000 than 8,000

it is closer to 7000 than 8000

Solve for x. The triangles in each pair are similar. Please explain!! I’m so confused

Answers

Answer:

[tex]x = 5[/tex]

Step-by-step explanation:

Given

[tex]\triangle JDC[/tex] similar to [tex]\triangle JKL[/tex]

Required

Find x

To do this, we make use of the following equivalent ratios

[tex]JK:JL = JD:JC[/tex]

This gives

[tex]98 : 63 = 7x + 7:27[/tex]

Express as fraction

[tex]\frac{98 }{ 63} =\frac{ 7x + 7}{27}[/tex]

Multiply both sides by 27

[tex]27 * \frac{98 }{ 63} =\frac{ 7x + 7}{27} * 27[/tex]

[tex]27 * \frac{98 }{ 63} =7x + 7[/tex]

[tex]3* \frac{98 }{ 7} =7x + 7[/tex]

[tex]3* 14 =7x + 7[/tex]

[tex]42 =7x + 7[/tex]

Collect like terms

[tex]7x = 42 - 7[/tex]

[tex]7x = 35[/tex]

Divide both sides by 7

[tex]x = 5[/tex]

which of the is not an example of property tax?


A) Tax paid on the value of a farm a person owns


B) Tax paid on the value of a piece of land a person owns


C) Tax paid on the value of a piece of furniture a person owns


D) Tax paid on the value of a home a person owns

Answers

Answer:

C

Step-by-step explanation:

Furniture is not counted as property that can be taxed.

i need this done fast

Answers

Answer: 1) V≈1244.07 in             2) V≈54286.72 ft         3) V≈23816.41 yd

Step-by-step explanation:

What is the approximate volume of the cylinder use 22/7 for 3.14 round to the nearest whole number

Answers

Answer:

the formula for a cylinder is πr^2•h

Step-by-step explanation:

just plug in the numbers, and you can change π to 3.14 for an approximate answer!

hopefully this helps you!

[tex]\pi {r}^{2} h \\ 22 \div 7 \times {r}^{2} h[/tex]

AABC - DEF. What sequence of transformations will move A ABC onto A DEF? 10 8 A(0.4) B(0,0) C(3.0) -10 -8 -6 -4:1-2 6 8 10 -2D(0.2) 24 8 -10 E(0.-10) F( 6-10)​

Answers

Answer:

Option B

Step-by-step explanation:

It's clear from the graph attached,

ΔABC has been dilated and shifted downwards.

Length of segment AB = 2 units

Length of segment DE = 4 units

Scale factor by which the dilation has been done = [tex]\frac{\text{Dimension of the image triangle}}{\text{Dimension of the original triangle}}[/tex]

Scale factor = [tex]\frac{DE}{AB}[/tex]

                    = [tex]\frac{4}{2}[/tex]

                    = 2

Therefore, triangle ABC is dilated by a scale factor of 2 about the origin.

Lets consider a point B(0, 0) from the given graph and analyze the transformations done.

If a point B(0, 0) is shifted to point E(0, -10) which follows the rule,

B(0, 0) → E(0 + h, 0 + k)

Here, 'h' and 'k' are the translations of the given point over x-axis and y-axis.

Therefore, (0 + h) = 0 ⇒ h = 0

0 + k = -10

k = -10

Hence, triangle ABC has been dilated by a scale factor of 2 centered at origin and followed by the translation (x, y - 10)

Option B is the correct option.

How much material would it take to cover the sandbox?

Answers

Answer:

D.6,600 ft

Step-by-step explanation:

I hope it helps

C. 20 people show up to the party, and Robert decides to give them each the
same amount of pizza. How much pizza does each person get?

Answers

Answer:

Step-by-step explanation:3/5 of the pizza

A triangle on the coordinate plane has vertices (-8,3), (3,9), and (9,3). What is the area, in square units, of the
triangle?
Please help

Answers

Answer:

51 sq units

Step-by-step explanation:

after plotting the vertices, the height of the triangle is 6 and the base is 17

A = 1/2(6)(17)

A = 51 sq units

If [×] =5 what is the value of x?

Answers

Answer:

x = 5

Step-by-step explanation:

I didn't quite understand what you were asking but x should equal 5

Answer: 1 is the answer because nothing time _ will equal 5 but 1 times anything equal that number So its 1

A cab company charges a flat fee of $4 for a new passenger. it then charges $2.35 per mile until until the destination is reached

1- 4m+ 2.35=total cost
2- 4m-2.35=total cost
3- 2.35-4m= total cost
4- 2.35m+4=total cost

PLEASE I NEED ANSWERS!!

Answers

Answer:

number 2 is your answer for your problem

if the sum of two consecutive odd number is 20 find the number​

Answers

Answer:

Step-by-step explanation:

let a number be x

let another number be x+1

x+x+1=20

2x=20-1

x=19/2

x=9.5

therefore one number is 9.5 and another number is x+1=9.5+1=10.5

[tex]\huge{ \mathrm{  \underline{ Answer} \:  \:  ✓ }}[/tex]

Let the Consecutive odd numbers be x and x+2

[tex]x + x + 2 = 20[/tex]

[tex]2x = 20 - 2[/tex]

[tex]2x = 18[/tex]

[tex]x = 9[/tex]

Therefore, the numbers are :

[tex]x = 9[/tex]

[tex]x + 2 = 11[/tex]

______________________

[tex]\mathrm{ ☠ \: TeeNForeveR \:☠ }[/tex]

Demand per hour for gasoline at a local station is normally distributed with a mean of 1510 gallons and std deviation of 57 gallons. What is the probability that demand for a particular hour is greater than 1600 gallons? Enter your answer as a decimal, rounded to 4 decimal places

Answers

Answer:

0.057168

Step-by-step explanation:

Given :

Mean = 1510

Standard deviation = 57

P(X > 1600)

To obtain the Zscore we use

(x - mean) / σ

P(Z > 1600) = P(Z > (x - mean) / σ)

P(Z > (x - mean) / σ) = P(Z > (1600 - 1510) / 57)

P(Z > 1.579) = 0.057168 (Z probability calculator)

Which angles are supplementary to
∠4? Select all that apply.


∠2 ∠7
∠5 ∠6
∠1

Answers

Answer:                                              

The supplementary angle are:

∠2

∠3

∠6

∠7

                     

Find the exact value of tan A in simplest radical form.
PLEASE HELP

Answers

Answer:

[tex] \tan(A) = \frac{opp}{adj} \\ \tan(A) = \frac{ \sqrt{72} }{3} \\ \tan(A) = \frac{ \sqrt{36 \times 2} }{3} \\ \tan(A) = \frac{6 \sqrt{2} }{3} \\ \tan(A) = 2 \sqrt{2} [/tex]

Which equation is true for the value a=7
A. a+2(a-3)= 15
B. 4a-4(14)-a=24
C. 2a+47=105
D.3a+2(a-3)=34
E. 4a-2a=18

Answers

Answer:

The answer is just re look at the question A

Answer

THE ANSWER IS A

Step-by-step explanation:

Determine the area of the figure. Note that each unit is one unit in length.

Answers

Answer:

nao sei ispoosksjjdkdddks

Answer:

54

Step-by-step explanation:

Split into 2 rectangles and 2 triangles and calculate area

Help please worth 57 points

Answers

Answer:

Always, always.

Find the mean of the following data set 5,9,3,12,14,67,22,45,1,12,14

Answers

Answer:

18.5 i believe

Step-by-step explanation:

sorry if im wrong, have a great day!!

Simplify the following expression:
(3i+ 4) -i + 4(6 +2i)
A. 14+8i
B. 27 + 11i
C. 14+41i
D. 28 + 10i

Answers

9514 1404 393

Answer:

  D.  28 +10i

Step-by-step explanation:

As with any "collect terms" problem, you first identify the like terms, then add their coefficients. You can start with either the real or the imaginary terms to obtain a result that will point you to the correct answer choice. Of course, the distributive property works in the usual way.

  (3i+ 4) -i + 4(6 +2i) = 3i +4 -i +24 +8i . . . . eliminate parentheses

  = (4 +24) +(3 -1 +8)i . . . . . . . group like terms

  = 28 +10i

Which fraction is equivalent to 12/27? help

Answers

[tex]\begin{gathered}\dfrac{12}{27}=\dfrac{12:3}{27:3}=\dfrac{4}{9}\\\\\dfrac{12}{27}=\dfrac{12\cdot2}{27\cdot2}=\dfrac{24}{54}\\\\\dfrac{12}{27}=\dfrac{4}{9}=\dfrac{4\cdot2}{9\cdot2}=\dfrac{8}{18}\\\vdots\end{gathered}[/tex]

Hope This Helps You

Answer:

[tex]\huge\boxed{Answer\hookleftarrow}[/tex]

Fractions equivalent to [tex] \frac{12}{27} [/tex] are :-

1st Fraction :-

[tex] \frac{12 \div 3}{27 \div 3} \\ = \frac{4}{9} [/tex]

2nd Fraction :-

[tex] \frac{12 \times 2}{27 \times 2} \\ = \frac{24}{54} [/tex]

3rd Fraction :-

[tex] \frac{12 \times 3}{27 \times 3} \\ = \frac{36}{81} [/tex]

3 fractions equivalent to [tex] \frac{12}{27} [/tex] are [tex] \frac{4}{9} , \: \frac{24}{54} , \: \frac{36}{81} [/tex]

ʰᵒᵖᵉ ⁱᵗ ʰᵉˡᵖˢ

# ꧁❣ RainbowSalt2²2² ࿐

P(A and B)=P(A)•P(B) is used when two events are used when two events are

Answers

Answer:

Independent.

Step-by-step explanation:

Independent events:

Two events, A and B, are said to be independent if the probability of both happening is the same as the multiplication of the probabilities of each happening, that is:

[tex]P(A \cap B) = P(A)P(B)[/tex]

Thus, P(A and B)=P(A)•P(B) is used when two events are independent.

Find the slope of the line tangent to the function y=6-3x at the point (5,0)

Answers

Answer:

-3

Step-by-step explanation:

To get the slope of the line tangent to the function y = 6 - 3x

First, we need to differentiate;

dy/dx = 0 -3x^{1-1}

dy/dx = 0 - 3x^0

dy/dx = 0 - 3

dy/dx = -3

Hence the slope of the line tangent to the function at the point is -3

how to find the vat on 14% of 1800​

Answers

Answer:

14/100*1800

25200/100

252

Step-by-step explanation:

therefore vat=252

solve for x + 24 = -12

answer in the box

x equals_______​

Answers

Answer:

x = -36

General Formulas and Concepts:

Pre-Algebra

Order of Operations: BPEMDAS

Brackets Parenthesis Exponents Multiplication Division Addition Subtraction Left to Right  

Equality Properties

Multiplication Property of Equality Division Property of Equality Addition Property of Equality Subtraction Property of Equality

Step-by-step explanation:

Step 1: Define

Identify

x + 24 = -12

Step 2: Solve for x

[Subtraction Property of Equality] Subtract 24 on both sides:                       x + 24 - 24 = -12 - 24[Subtraction] Simplify:                                                                                        x = -36

i know the answer but i need a thorough explanation on how to do this. pls answer the questions i have for brainliest thank you

Answers

Answer:

i think because it's powered by 4

(27x^3)^4/3 = 27^(4/3) * (x^3)^(4/3) =
(3^3)^(4/3) * (x^3)^(4/3) =
3^(3*4/3) * x^(3*4/3) =
3^4 * x^4 =
81*x^4

Consider a random variable Z which has a standard normal distribution (mu = 0, sigma = 1). Choose which of the following values would be equivalent to the following probability:
P (Z > 0.54)
A. P(Z > 0.54.
B. P(Z < 0.54).
C. 1 - P(Z < - 0.54).
D. 1 - P(Z < 0.54).

Answers

Answer:

A. P ( Z > 0.54)  = 0,7054

B. P ( Z < 0.54)  =  0.2946

C.1) 1  -  0.2946    =  0.7054

D.1)  1  -  0.2946    =  0.7054

Step-by-step explanation:

A) P ( Z > 0.54)  =  1  -  P (  Z  ≤ 0.54)

P (  Z  ≤ 0.54)  =  0,2946          from  z-table

P ( Z > 0.54)  =  1  - 0,2946

P ( Z > 0.54)  = 0,7054

B) P ( Z < 0.54)  =  0.2946

C)  1 - P ( Z < - 0,54)

     1  -  0.2946    =  0.7054

D)  1 - P ( Z <  0,54)

     1  -  0.2946    =  0.7054

Simplify the ratio
6 doctors to 27 patients

Answers

Answer:

2 doctors to 9 patients

Step-by-step explanation:

Divide each by 3. They cant be simplified more.

Help this one as well pls and thank you

Answers

Answer:

11x +9

Step-by-step explanation:

Add the two expressions together to get the total number of ice creams sold

8x+16 + 3x-7

Combine like terms

8x+3x + 16 -7

11x +9

Answer:

11x +9

Step-by-step explanation:

Add the two expressions together to get the total number of ice creams sold

8x+16 + 3x-7

Combine like terms

8x+3x + 16 -7

11x +9

Other Questions
What was the goal of Mikhail Gorbachevs policies of perestroika and glasnost? All of the following are examples of erosion EXCEPTO The wind in the desert blows sand against a rock.O A glacier picks up boulders as it moves.O A flood washes over a riverbank, and the water carries small soil particles downstreamO An icy winter causes the pavement in a road to crack The monkeys paw quiz 1 HELP ME PLZ PLZ PLZ PLZ I WILL LOVE U FOREVER PLZ HELP ME please help!! giving brainlest if explained ??! (Middle school math) please help, just for letter a. Thank you. What is the volume of the given picture below? ( HELP PLEASE ) How did Kate and Sam try to get away in Holes book/ Novel Now we need to find the amount of NF3 that can be formed by the complete reactions of each of the reactants. If all of the N2 was used up in the reaction, how many moles of NF3 would be produced In which ways did colonists protest being taxed by Parliament in the 1760s?Check all that are true.boycotting taxed goodsdestroying stampscreating a new countrypetitioning the kingthreatening tax collectors Akash draws a 4 from ten cards numbered 1 through 10. He replaces the card. Then Ramesh draws a 7. What is the probability of getting a 4 and a 7? Carr Inc. purchased equipment for $100,000 on January 1, Year 1. The equipment had an estimated 10-year useful life and a $15,000 salvage value. Carr uses the 200 percent declining balance depreciation method. In its Year 2 income statement, what amount should Carr report as depreciation expense for the equipment Write an expression that evaluates to true if the value of the int variable widthOfBox is not divisible by the value of the int variable widthOfBook. Assume that widthOfBook is not zero. ("Not divisible" means has a remainder.) Describe American intervention in El Salvadordescribe American intervention in Grenada describe American intervention in Lebanon Answer this question PLZZZ What are the new coordinates of point R after polygon QXYZR is rotated 180 and translated 3 units left?A) (-6,2)B) (0,-2)C) (6,-2)D) (3,-2) Can someone please help me I need the answer to this pls. Balance this chemical equation Ca(OH)2 + HCl ---> CaCl2 + H2O The insurance pathway includes worker who deliver services that transfer risk from an individual or business to an insurance company to protect individuals and businesses from financial losses. True False