Queremos crear un diagrama general para calcular el área de un triangulo.
Este será algo como:
- Definir variables
- Pedirle al usuario que introduzca los valores deseados (de las variables).
- Leer los valores deseados y asignarlo a la variable correspondiente.
- Realizar la operación para calcular el área.
- Mostrar en pantalla el resultado.
Como naturalmente habra algunas variaciones segun el programa que utilicemos, lo voy a escribir de forma bastante general.
Primero definamos nuestras variables:
Por ejemple, en fortran usariamos algo como:
real:: B, H, A
Donde B será la variable que usaremos para la base, H para la altura, y A para el área.
Luego tenemos que escribir en pantalla algo que le diga al usario que debe introducir la base y el area.
Luego el programa debe ser capaz de leer ese input.
con algo de la forma:
B = read*input 1
H = read*input 2
Una vez tenemos definidas las variables, simplemente calculamos el área del triangulo:
A = H*B/2
Finalmente la podemos mostrar en pantalla con algo como:
print(A).
Lo que nos mostraría el valor del área.
Concluyendo, el diagrama en general sería:
- Definir variables
- Pedirle al usuario que introduzca los valores deseados (de las variables).
- Leer los valores deseados y asignarlo a la variable correspondiente.
- Realizar la operación para calcular el área.
- Mostrar en pantalla el resultado.
Si quieres aprender más, puedes leer:
brainly.com/question/21949109
Specific Gravity of the fluid = 1.25
Height h = 28 in
Atmospheric Pressure = 12.7 psia
Density of water = 62.4 lbm/ft^3 at 32F
Density of the Fluid = Specific Gravity of the fluid x Density of water = 1.25 x 62.4
Density of the Fluid p = 78 lbm/ft^3
Difference in pressure as we got the differential height, dP = p x g x h dP = (78 lbm/ft^3) x (32.174 ft/s^2) x (28/12 ft) [ 1 lbf / 32.174 ft/s^2] [1 ft^2 /
144in^2]
Difference in pressure = 1.26 psia
(a) Pressure in the arm that is at Higher
P = Atmospheric Pressure - Pressure difference = 12.7 - 1.26 = 11.44 psia
(b) Pressure in the tank that is at Lower
P = Atmospheric Pressure + Pressure difference = 12.7 + 1.26 = 13.96psia
Answer: True
A water pump
belong to a positive displacement pump that provides constant flow of water at
fixed speed, regardless of changes in the counter pressure. The two main types
of positive displacement pump are rotary pumps and reciprocating pumps.
Moreover, water
pump is a reciprocating positive displacement pump that have an expanding
cavity on the suction side and a decreasing cavity on the discharge side. In
water pumps, the liquid flows into the pumps as the cavity on the suction side
expands and then the liquid flows out of the discharge as the cavity collapses
providing water in a pail.
Gravity holds the system together
The coin would probably slowly slide down whichever end it is closer to, weigh down the end of the paper, and fall off. It kinda depends on how you hold the paper though, because if it is directly in middle, and you hold it on both ends, it will stay on the paper.