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
<u><em>The correction is below </em></u>
{
double* p = new double;
hypotenuse(1.5, 2.0, p);
cout << "The hypotenuse is " << *p << endl;
}
Answer:
x = 10.25h - $4
Step-by-step explanation:
x is the money she brings home each day
h is the amount of hours she works
subtract $4 for the gas every day
Answer:
x = -5 sin (2t)
Step-by-step explanation:
k is the spring stiffness. The unstretched length of the spring is L.
When the mass is added, the spring stretches to an equilibrium position of L+s, where mg = ks. When the mass is displaced a distance x (where x is positive if the displacement is down and negative if it's up), the spring is stretched a total distance s + x.
There are two forces on the mass: weight and force from the spring. Sum of the forces in the downward direction:
∑F = ma
mg − k(s + x) = ma
mg − ks − kx = ma
Since mg = ks:
-kx = ma
Acceleration is second derivative of position, so:
-kx = m d²x/dt²
Let's find k:
F = kx
400 = 2k
k = 200
We know that m = 50. Substituting:
-200x = 50 d²x/dt²
-4x = d²x/dt²
d²x/dt² + 4x = 0
This is a linear second order differential equation of the form:
x" + ω² x = 0
The solution to this is:
x = A cos (ωt) + B sin (ωt)
Here, ω² = 4, so ω = 2.
x = A cos (2t) + B sin (2t)
We're given initial conditions that x(0) = 0 and x'(0) = -10 (remember that down is positive and up is negative).
Finding x'(t):
x' = -2A sin (2t) + 2B cos (2t)
Plugging in the initial conditions:
0 = A
-10 = 2B
Therefore:
x = -5 sin (2t)
Answer: 17.5 is located between them.
Step-by-step explanation:
To find out which number is located between the numbers, find their mean average which sum of the numbers divide by the number of values.
15 + 20 = 35
35 / 2 = 17.5
Given that Macy wants to construct an isosceles triangle, with the unique angle being 40° it implies that for the triangle to be isosceles, the base angles should be the same. The size of the base angles will be:
(180-40)/2=70
given that that the base is 6 cm, Macy can only form 1 triangle with these dimensions.
The length of the other sides will be found using sine rule
a/sin A=b/sin B
a=6 cm
A=40°
b=?
B=70
hence:
6/sin 40=b/sin 70
b=(6sin 70)/sin40
b=8.77 cm