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]
2 years ago
7

AYUDAAA PORFAVOR

Physics
1 answer:
Sholpan [36]2 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
Beryllium has a charge of 2, and bromine has a charge of –1. which is the best name for the ionic bond that forms between them?
Otrada [13]

The best name for the ionic bond that forms between them is Beryllium Bromide.

We have been provided with data,

Beryllium charge, q = 2

Bromine charge, q = -1

As we know the valance electron of Be is +2  and the valance electron of bromine is -1. Since one is metallic and the other is non-metallic.

Now, when they combine they exchange valance electron, and bromine change into bromide so they form Beryllium Bromide.

So, the best name for the ionic bond that forms between them is Beryllium Bromide.  

Learn more about ionic bonds here:

brainly.com/question/21464719

#SPJ4

8 0
2 years ago
A girl rides her scooter to school, a total distance of 4.5km. She has to slow down twice to cross busy streets, but overall the
Whitepunk [10]

Answer:

6.93 km/h

Explanation:

To calculate her average speed, we need the "speed" formula, which is:

average speed = distance / time

You plug in your numbers and it will give you the answer.

Speed = 4.5km/0.65hr

           = 6.923 km/h

8 0
3 years ago
Read 2 more answers
When the biker is at the top of the ramp, he has a speed of 10 m/s at
oksian1 [2.3K]

Answer:

25000

Explanation:

100 x 25 x 10 = 25000

8 0
3 years ago
PLEASE NEED AN ANSWER SO I CAN SUBMIT IT!!! THANK YOU IN ADVANCE (will give brainliest)
alexandr402 [8]

Answer:

Im only 12 and i need the points so ima try my best.

Explanation:

574.780616 m6 kg3 s-6 K-3 mol-3

6 0
3 years ago
Can we write names while writing conversation in board exam​
lora16 [44]

Answer:

ya we can write the imaginary character's name .

So that we  can identify these imaginary people, as we cannot simply write the conversation and leave it .

Or maybe sometimes the reader will get confused as there is no name for the two people .

So, i suggest that you should write the names

Explanation:

You can even ask to your class teacher for further clarification

5 0
3 years ago
Other questions:
  • Which of the following is a hypothesis?
    13·1 answer
  • How does sea floor spreading provide an explanation for how continents may move over earths surface?(I know this isn't Physics,
    14·1 answer
  • Circle the larger unit:
    15·1 answer
  • A loop of wire is carrying current of 2 A . The radius of the loop is 0.4 m. What is the magnetic field at a distance 0.09 m alo
    11·1 answer
  • Power output of an engine is with work (w=60,000) during 60 s Calculate the power of this work?*
    15·1 answer
  • What causes the movement of deep ocean currents?
    14·1 answer
  • A roll of kitchen aluminum foil is 30 cm wide by 22 m long (if you unroll it). If the foil is 0.15 mm thick, and the specific we
    11·1 answer
  • A baseball is thrown horizontally at 55m/s. The ball slows down at a rate of -10 m/s2. How long is the ball in the air before co
    11·1 answer
  • If the temperature rises by 9. 9 degrees, what is the corresponding temperature increase in degrees celsius?
    14·1 answer
  • Acceleration Practice
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!