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:
<h2>0.2 m/s²</h2>
Explanation:
The acceleration of an object given it's mass and the force acting on it can be found by using the formula

f is the force
m is the mass
From the question we have

We have the final answer as
<h3>0.2 m/s²</h3>
Hope this helps you
<u>Answer</u>
The combined displacement is 2km north
<u>Explanation</u>
Since displacement is a vector quantity, we take into account the direction.
Good for us all the displacement vectors are in the same dimension, so we can make north positive and south negative or vice-versa.
We now add to obtain,

This will simplify to

Therefore the combined displacement is 2km north
1.renewable energy
2.renewable energy
3.Turning off the lights when you are not in a room
4.conservation of energy
5.Driving an SUV
6.stored energy
7.Always from one side to another
8.use our energy resources wisely
9.conservation of energy
10.by either moving liquids or moving air currrents
11.potential energy
12.radiation
13.insulators
14.radiation
15.Evaporation
16.Thermal energy moves to an object with less heat.
17.Burning your finger on a hot match
18.potential energy
19.Energy is never being created or destroyed.
20.touching each other