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
Answer:
Explanation:
Of the 4 numbers given, the answer is 1 or A
If you take the absolute value of abs(1 - 1.04) you get 0.04.
(2 - 1.04) = 0.96
1.25 - 1.04 = .21
1.5 - 1.04 = 0.46
The last three are all larger than 0.04
Note: absolute value means the positive difference between 2 numbers (even though it is negative). If it is negative, absolute value makes it positive.
Answer:
75.71 m/s
Explanation:
From equation of motion, acceleration is given by
where v is the final velocity, u is the initial velocity and t is time taken.
Making v the subject of the above formula
v=at+u
Substituting 6.7 s for time, t and 11.3 for a and taking u as zero since it starts from rest
v=11.3*6.7=75.71 m/s
It is trajectory acceleration. A friction track is a device to study motion in low friction environments, I believe. Does this help?
We can answer the problem by Snell's Law:
Snell's law<span> (also known as </span>Snell<span>–Descartes </span>law<span> and the </span>law<span> of refraction) is a formula used to describe the relationship between the angles of incidence and refraction, when referring to light or other waves passing through a boundary between two different isotropic media, such as water, glass, or air.</span>