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
Which physical law underlies the first law of thermodynamics?
LenaWriter [7]

Answer:

Conservation of energy

Explanation:

The first law of thermodynamics is given by :

Q=\Delta U+W

Here,

Q is amount of heat added to the system

\Delta U is change in internal energy

W is amount of work done by the system

It is clear that the energy can be neither created nor destroyed, it remains conserved. Hence, first law of thermodynamics shows that conservation of energy.      

8 0
3 years ago
How many protons are found in 1 c positive
Elena L [17]
Im kinda confused on this because it says there c positive

8 0
3 years ago
A physics student throws a ball straight up. The student catches the ball in exactly the same place from which it was released.
mr Goodwill [35]

Answer:

The correct answer is H ÷ ¹/₂T

Explanation:

The formula for velocity is distance covered ÷ time.

Neglecting air resistance;

If the ball's time of overall time flight is T, the time it will take for the second half/return trip is ¹/₂T.

If the ball's maximum height above its released point is H, the height will also be the distance it covered for the second part of the trip since the student caught the ball in the exact same place the ball was thrown. Hence, the distance for the second half of the trip will be H.

Since velocity = distance/time

The average velocity during the second half of the trip will be = H ÷ ¹/₂T

4 0
3 years ago
What are 3 pros and cons of nuclear transmutation?
Tanya [424]
Pros -

It doesn't cost much
Power stations are very compact
Transportation of the material is easy

Cons-

It's not safe
Nuclear waste take 200 years to degrade
Greater risk of explosion



      -IF THIS HELPED WHICH I HOPE COMMENT BELOWw ↓PLEASEX . THANKs!
6 0
3 years ago
Read 2 more answers
A feather is dropped on the moon from a height of 1.40 meters. The acceleration due to gravity on the moon is 1.67 m/s2. Determi
RoseWind [281]

Distance = (1/2) (acceleration) (time)²

1.4m = (0.835 m/s²) (time)²

(time)² = (1.4/0.835) s²

<em>time = 1.295 s</em>

7 0
3 years ago
Other questions:
  • Our eyes can see the thermal radiation that our bodies radiate. T or F
    11·1 answer
  • A frisbee is flying through the air. Which forces are acting on it (choose 3)​
    15·1 answer
  • Who was pedro infante?????
    7·2 answers
  • How do the two reflex arcs differ in complexity
    12·1 answer
  • If an object is dropped from a height of 144 feet, the function h(t)= -16t^2+144 gives the height of the object after t seconds.
    7·1 answer
  • A 2300 kg truck has put its front bumper against the rear bumper of a 2400 kg SUV to give it a push. With the engine at full pow
    12·1 answer
  • Nistu is cooking rice in a pot. When she leaves the pot on the stove for a while, the temperature of the rice increases. What ha
    7·2 answers
  • Plzzzzzzzzzzzzzzzzzzzzzzzzzz help 20 points
    7·2 answers
  • 18)
    15·1 answer
  • What is the average value expected for the independent-measures t statistic if the null hypothesis is true?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!