1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
____ [38]
3 years ago
12

Write a statement to print the data members of InventoryTag. End with newline. Ex: if itemID is 314 and quantityRemaining is 500

, print: Inventory ID: 314, Qty: 500
Engineering
1 answer:
Advocard [28]3 years ago
7 0

Answer:

#include <stdio.h>

typedef struct InventoryTag_struct {

int itemID;

int quantityRemaining;

} InventoryTag;

int main(void) {

InventoryTag redSweater;

redSweater.itemID = 314;

redSweater.quantityRemaining = 500;

/* Your solution goes here */

printf("Inventory ID: %d, Qty: %d\n",redSweater.itemID,redSweater.quantityRemaining);

getchar();

return 0;

}

Explanation:

You might be interested in
The ________________ attraction between the Earth and the moon is ______________ on the side of the Earth that happens to be ___
Karolina [17]

Answer:

Gravitational; strongest; facing; closer; near side; toward.

Explanation:

The gravitational attraction between the Earth and the moon is strongest on the side of the Earth that happens to be facing the moon, simply because it is closer. This attraction causes the water on this “near side” of Earth to be pulled toward the moon. These forces of attraction and inertia tends to keep the water in place and consequently, leads to a bulge of water on the near side with respect to the moon.

Also, you should note that what is responsible for the moon being in orbit around the Earth is the gravitational force of attraction between the two planetary bodies (Earth and Moon).

7 0
3 years ago
In remote areas, your gps devices may lose reception. It’s a good idea to have a
Katarina [22]

Answer: MAP!!! it's always a good Idea to have a map nearby, cause you'll never know when you'll need it or like you said, lose reception

4 0
3 years ago
Read 2 more answers
2. The following segment of carotid artery has an inlet velocity of 50 cm/s (diameter of 15 mm). The outlet has a diameter of 11
ahrayia [7]

This question is incomplete, the missing diagram is uploaded along this answer below.

Answer:

the forces required to keep the artery in place is 1.65 N

Explanation:

Given the data in the question;

Inlet velocity V₁ = 50 cm/s = 0.5 m/s

diameter d₁ = 15 mm = 0.015 m

radius r₁ = 0.0075 m

diameter d₂ = 11 mm = 0.011 m

radius r₂ = 0.0055 m

A₁ = πr² = 3.14( 0.0075 )² =  1.76625 × 10⁻⁴ m²

A₂ = πr² = 3.14( 0.0055 )² =  9.4985 × 10⁻⁵ m²

pressure at inlet P₁ = 110 mm of Hg = 14665.5 pascal

pressure at outlet P₂ = 95 mm of Hg = 12665.6 pascal

Inlet volumetric flowrate = A₁V₁ = 1.76625 × 10⁻⁴ × 0.5 = 8.83125 × 10⁻⁵ m³/s

given that; blood density is 1050 kg/m³

mass going in m' = 8.83125 × 10⁻⁵ m³/s × 1050 kg/m³ = 0.092728 kg/s

Now, using continuity equation

A₁V₁ = A₂V₂

V₂ = A₁V₁ / A₂ = (d₁/d₂)² × V₁

we substitute

V₂ =  (0.015 / 0.011 )² × 0.5

V₂ = 0.92975 m/s

from the diagram, force balance in x-direction;

0 - P₂A₂ × cos(60°) + Rₓ = m'( V₂cos(60°) - 0 )    

so we substitute in our values

0 - (12665.6 × 9.4985 × 10⁻⁵)  × cos(60°) + Rₓ = 0.092728( 0.92975 cos(60°) - 0 )    

0 - 0.6014925 + Rₓ =  0.043106929 - 0

Rₓ = 0.043106929 + 0.6014925

Rₓ = 0.6446 N

Also, we do the same force balance in y-direction;

P₁A₁ - P₂A₂ × sin(60°) + R_y = m'( V₂sin(60°) - 0.5 )  

we substitute

⇒ (14665.5 × 1.76625 × 10⁻⁴) - (12665.6 × 9.4985 × 10⁻⁵) × sin(60°) + R_y = 0.092728( 0.92975sin(60°) - 0.5 )

⇒ 1.5484 + R_y = 0.092728( 0.305187 )

⇒ 1.5484 + R_y = 0.028299    

R_y = 0.028299 - 1.5484

R_y = -1.52 N

Hence reaction force required will be;

R = √( Rₓ² + R_y² )

we substitute

R = √( (0.6446)² + (-1.52)² )

R = √( 0.41550916 + 2.3104 )

R = √( 2.72590916 )

R = 1.65 N

Therefore, the forces required to keep the artery in place is 1.65 N

 

7 0
2 years ago
Compared to 15 mph on a dry road, about how much longer will it take for
Marysya12 [62]

Answer:

8 to 10 times

Explanation:

For dry road

u= 15 mph        ( 1 mph = 0.44 m/s)

u= 6.7 m/s

Let take coefficient of friction( μ) of dry road is 0.7

So the de acceleration a = μ g

a= 0.7 x 10  m/s ²                         ( g=10 m/s ²)

a= 7 m/s ²

We know that

v= u - a t

Final speed ,v=0

0 = 6.7 - 7 x t

t= 0.95 s

For snow road

μ = 0.4

de acceleration a = μ g

a = 0.4 x 10 = 4 m/s ²

u= 30 mph= 13.41 m/s

v= u - a t

Final speed ,v=0

0 = 30 - 4 x t'

t'=7.5 s

t'=7.8 t

We can say that it will take 8 to 10 times more time as compare to dry road for stopping the vehicle.

8 to 10 times

7 0
3 years ago
Read 2 more answers
A closed system of mass 10 kg undergoes a process during which there is energy transfer by work from the system of 0.147 kJ per
mr_godi [17]

Answer:

-50.005 KJ

Explanation:

Mass flow rate = 0.147 KJ per kg

mass= 10 kg

Δh= 50 m

Δv= 15 m/s

W= 10×0.147= 1.47 KJ

Δu= -5 kJ/kg

ΔKE + ΔPE+ ΔU= Q-W

0.5×m×(30^2- 15^2)+ mgΔh+mΔu= Q-W

Q= W+ 0.5×m×(30^2- 15^2) +mgΔh+mΔu

= 1.47 +0.5×1/100×(30^2- 15^2)-9.7×50/1000-50

= 1.47 +3.375-4.8450-50

Q=-50.005 KJ

7 0
3 years ago
Read 2 more answers
Other questions:
  • How does running an electric current through wire cause a magnetic field?
    6·1 answer
  • A simply supported beam spans 25 ft and carries a uniformly distributed dead load of 0.6 kip/ft, including the beam self-weight,
    15·1 answer
  • On a hot summer day, a student turns his fan on when he leaves his room in the morning. When he returns in the evening, will the
    5·1 answer
  • A plane wall of thickness 2L = 60 mm and thermal conductivity k= 5W/m.K experiences uniform volumetric heat generation at a rate
    9·1 answer
  • Which of the following machine parts always require
    12·1 answer
  • Could I please get help with this​
    11·1 answer
  • Which of the following is an example of a pulley?
    10·2 answers
  • 3. Sitúese en la época de los faraones en Egipto. Usted es el encargado de construir una de esas fabulosas pirámides que fueron
    11·1 answer
  • Which Two moon phases are directly opposite each other?
    9·2 answers
  • An electrical layout is a drawing that indicates how the ________ of a circuit will be connected to one another and where the wi
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!