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
rosijanka [135]
3 years ago
7

AYUDAAA PORFAVOR

Physics
1 answer:
Sholpan [36]3 years ago
5 0

Queremos crear un diagrama general para calcular el área de un triangulo.

Este será algo como:

  1. Definir variables
  2. Pedirle al usuario que introduzca los valores deseados (de las variables).
  3. Leer los valores deseados y asignarlo a la variable correspondiente.
  4. Realizar la operación para calcular el área.
  5. 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:

  1. Definir variables
  2. Pedirle al usuario que introduzca los valores deseados (de las variables).
  3. Leer los valores deseados y asignarlo a la variable correspondiente.
  4. Realizar la operación para calcular el área.
  5. Mostrar en pantalla el resultado.

Si quieres aprender más, puedes leer:

brainly.com/question/21949109

You might be interested in
The velocity of a passenger relative to a boat is -vpb. The velocity of the boat relative to the river it is moving on is vbr. T
RideAnS [48]

Answer:

vps = vbr + vrs - vpb

Explanation:

  • If the passenger were at rest, his speed relative to the shore will be identical to the boat's, as follows:
  • vps = vbr + vrs
  • As he is moving in a direction opposite to the boat's, his velocity relative to the shore must be less than if he were at rest, in the same quantity that he was moving opposite to the boat, as follows:
  • vps = vbr+ vrs -vpb
5 0
3 years ago
If you want quick access to large amount of data, you would use a
RSB [31]
You would use d. table

6 0
3 years ago
What will be the final temperature if a 4.00 g silver ring at 41.0◦C if it gives off 18.0 J of heat to the surroundings? The spe
Eduardwww [97]

Answer:

Final temperature, T_f=21.85^{\circ}

Explanation:

Given that,

Mass of silver ring, m = 4 g

Initial temperature, T_i=41^{\circ}C

Heat released, Q = -18 J (as heat is released)

Specific heat capacity of silver, c=0.235\ J/g\ C

To find,

Final temperature

Solution,

The expression for the specific heat is given by :

Q=mc\Delta T

Q=mc(T_f-T_i)

T_f=\dfrac{-Q}{mc}+T_i

T_f=\dfrac{-18}{4\times 0.235}+41

T_f=21.85^{\circ}

So, the final temperature of silver is 21.85 degrees Celsius.

5 0
3 years ago
A train has an initial velocity of 44m/s and an accelaration of _4m/s calculate its velocity​
Kobotan [32]

Complete question:

A train has an initial velocity of 44m/s and an acceleration of -4m/s². calculate its velocity​ after 10s ?

Answer:

the final velocity of the train is 4 m/s.

Explanation:

Given;

initial velocity of the train, u = 44 m/s

acceleration of the train, a = -4m/s² (the negative sign shows that the train is decelerating)

time of motion, t = 10 s

let the final velocity of the train = v

The final velocity of the train is calculated using the following kinematic equation;

v = u + at

v = 44 + (-4 x 10)

v = 44 - 40

v = 4 m/s

Therefore, the final velocity of the train is 4 m/s.

7 0
3 years ago
For spring break you are traveling to San Diego. The trip is 1,746.4 miles and the trip takes 20.1 hours. How fast will you be t
postnew [5]

Answer:

86 mph

Explanation:

brainliest pls

7 0
2 years ago
Other questions:
  • Which term describes the amount of charge that passes a point in a circuit<br> each second?
    12·2 answers
  • If you kick a tennis ball with 50 N of force and then kick a soccer ball with 50 N of force, explain the difference in their mot
    5·1 answer
  • This type of polarization occurs when light strikes the atoms of a material.
    6·2 answers
  • Match the nitrogenous base of RNA with its complement. TTACCGG TAACGCA CGCATGT TGACCTA GCCAATT ACTGGAT arrowRight GCGTACA arrowR
    8·3 answers
  • Why does a solid keep its shape
    5·1 answer
  • Name
    12·2 answers
  • A particle (mass = 4.0 g, charge = 80 mC) moves in a region of space where the electric field is uniform and is given by Ex = -2
    11·1 answer
  • Calculate the weight of a 1 kg mass at earth's surface. The mass of the of the Earth's surface if the mass of the earth is 6 x 1
    7·1 answer
  • Which of the following statements is TRUE?
    9·1 answer
  • 26. A solid wheel accelerates at 3.25 rad/s2 when a
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!