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:
At an angle of 
Explanation:
Assume the river flows from East to West so for the swimmer to cross across it, assume he crosses it from West to East.
The resultant speed will be given by

Answer:
The time rate of change of flux is

Explanation:
Given :
Current
A
Area of plate

Plate separation
m
(A)
First find the capacitance of capacitor,

Where 

F
But 
Where 


Now differentiate above equation wrt. time,



Therefore, the time rate of change of flux is

Step-#1:
Ignore the wire on the right.
Find the strength and direction of the magnetic field at P,
caused by the wire on the left, 0.04m away, carrying 5.0A
of current upward.
Write it down.
Step #2:
Now, ignore the wire on the left.
Find the strength and direction of the magnetic field at P,
caused by the wire on the right, 0.04m away, carrying 8.0A
of current downward.
Write it down.
Step #3:
Take the two sets of magnitude and direction that you wrote down
and ADD them.
The total magnetic field at P is the SUM of (the field due to the left wire)
PLUS (the field due to the right wire).
So just calculate them separately, then addum up.
Answer:
6 teaspoons of baking powder required.
Explanation:
Given that
According to the recipe of pancake,
For every
teaspoon of salt, 2 teaspoons of baking baking powder is required.
To find:
How much baking powder will be needed, if 1 teaspoon of salt was used ?
Solution:
This problem can be solved using ratio.
teaspoon of salt : 2 teaspoons of baking powder
Let us multiply the above ratio with 3.
teaspoon of salt : 2
3 teaspoons of baking powder
OR
1 teaspoon of salt : 6 teaspoons of baking powder
So, answer is <em>6 teaspoons </em>of baking powder required.
Also, we can use the unitary method:
teaspoon of salt needs = 2 teaspoons of baking powder
1 teaspoon of salt needs =
teaspoons of baking powder
1 teaspoon of salt needs = 2
3 = <em>6</em> teaspoons of baking powder needed
So, the answer is:
<em>6 teaspoons of baking powder </em>required.