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
An FM radio station broadcasts at 9.23 × 107 Hz. Given that the radio waves travel at 3.00 × 108 m/s, what is the wavelength of
STALIN [3.7K]

Answer:

3.2m

Explanation:

Given parameters:

Frequency of the FM radio = 9.23 x 10⁷Hz

Velocity of the waves = 3  x 10⁸m/s

Unknown:

Wavelength of the wave = ?

Solution:

To solve for the wavelength of the wave, we need the velocity equation;

       Velocity = frequency x wavelength.

Radio waves are all electromagnetic radiations produced by both electrical and magnetic fields perpendicularly oriented to one another.

 Since the unknown is wavelength, we solve for it:

       

    3  x 10⁸  = 9.23 x 10⁷ x wavelength

          wavelength = \frac{ 3 x 10^{8} }{9.23 x  10^{7} }

        wavelength = 3.2m

7 0
4 years ago
A ship maneuvers to within 2.50 x 10^3 m of an islands 1.80 x 10^3 m high mountain peak and fires a projectile at an enemy ship
Neporo4naja [7]

Answer:

Explanation:

Distance between ship and enemy ship

= 500 + 610

= 3110 m

Range of projectile

R = u² sin2θ / g

= (250x 250 sin 150) / 9.8

= 3188m

The projectile falls within a distance of 3188 - 3110 = 78 m from enemy ship

Height of mountain = 1800 m

We shall find the height of projectile when its horizontal displacement is 2500m

x = 2500 , y = ?

u = 2500 ,

y = x / cos θ - .5 g x² /u²cos² θ

\frac{2500}{.2588} - \frac{.5 \times9.8\times2500\times2500}{250\times250\times.2588}

9660 - 7315 m

= 2345 m

It is within 545 m from mountain peak .

8 0
3 years ago
Pendulum A has a bob of mass m hung from the string of length L; pendulum B is identical to A except its bob has the length 2L.
GenaCL600 [577]

Answer:

f_{B}: f_{A} = \sqrt{\frac{2}{1}}

Explanation:

For pendulum A: Length = L and gravity = g

The frequency of pendulum A is given by

f = \frac{1}{2\pi }\sqrt{\frac{g}{L}}

Here, f is the frequency, L be the length

f_{A} = \frac{1}{2\pi }\sqrt{\frac{g}{L}}     ... (1)

For pendulum B: Length = 2L, gravity = g

The frequency of pendulum B is given by

f_{B} = \frac{1}{2\pi }\sqrt{\frac{g}{2L}}   .... (2)

Divide equation (1) by (2)

f_{B}: f_{A} = \sqrt{\frac{2}{1}}

5 0
3 years ago
What has alternating electric and magnetic fields that travel in the form of a wave?
anzhelika [568]

Electromagnetic radiation...

7 0
3 years ago
Runner 1 has a velocity of 10 m/s west. Runner 2 has a velocity of 7 m/s east. From the frame of reference of runner 2, what is
Vsevolod [243]

Answer:

<em>17 m/s west</em>

Explanation:

Runner 1 has velocity = 10 m/s west

runner 2 has velocity = 7 m/s east

From the frame of reference of runner 2, we can imagine runner 2 as standing still, and runner 1 moving away from him, towards the west with their combined velocity of

velocity = 10 m/s + 7 m/s = <em>17 m/s west</em>

5 0
3 years ago
Other questions:
  • Billy drops a water balloon from the roof of his house. Since the balloon began with an original velocity of zero how far above
    14·1 answer
  • What is the defining feature of a system?  A. properties that don’t change  B. collision   C. interaction   D. gravitational for
    7·1 answer
  • A glider of mass 0.170 kg moves on a horizontal frictionless air track. It is permanently attached to one end of a massless hori
    12·1 answer
  • Which one of the following letters is used as an abbreviation for electric current? A. A B. E C. C D. R
    11·2 answers
  • Describe how acid rain<br> would react with rocks<br> over time.
    11·1 answer
  • Tarzan swings on a 36.0 m long vine initially inclined at an angle of 31.0◦ with the vertical. The acceleration of gravity if 9.
    5·1 answer
  • a delivery truck travels 18 blocks north, 10 blocks east, and 16 blocks south. what is the distance traveled and displacement. ​
    14·1 answer
  • The magnetic field in a region of space is specified by its x, y, and z components which are respectively Bx = 0.136 T, By = 0.1
    15·1 answer
  • What's another way to describe what friction is?
    9·1 answer
  • If point A is the initial point of one vector but terminal point of other vector then vectors are
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!