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
What relationship exists betwen air resistance and acceleration of falling objects
ololo11 [35]
They both make a thing go faster and slower but the relationship is force.
5 0
3 years ago
Read 2 more answers
A water wave has a frequency of 2 Hertz and a wavelength of 5 cm. Calculate it speed
Llana [10]

Answer: 0.1 m/s

Explanation:

Use formula,

v = f * w where, v is speed, f is frequency and w is wavelength.

Now,

v = 2 * 5 * 10 ^ -2 ( Remember to convert all the units to SI units. Here 5 cm becomes 5 * 10 ^ -2 m. )

v = 0.1 m/s.

8 0
3 years ago
Resistor is made of a very thin metal wire that is 3.2 mm long, with a diameter of 0.4 mm. What is the electric field inside thi
Zanzabum

Complete question:

Resistor is made of a very thin metal wire that is 3.2 mm long, with a diameter of 0.4 mm. What is the electric field inside this metal resistor? If the potential difference due to electric field between the two ends of the resistor is 10 V.

Answer:

The electric field inside this metal resistor is 3125 V/m

Explanation:

Given;

length of the wire, L = 3.2 mm = 3.2 x 10⁻³ m

diameter of the wire, d = 0.4 mm = 0.4 x 10⁻³ m

the potential difference due to electric field between the two ends of the resistor, V = 10 V

The electric field inside this metal resistor is given by;

ΔV = EL

where;

ΔV is change in electric potential

E = ΔV / L

E = 10 / (3.2 x 10⁻³ )

E = 3125 V/m

Therefore, the electric field inside this metal resistor is 3125 V/m

7 0
2 years ago
A light-year is a unit of a. time. c. mass. b. distance. d. density. please select the best answer from the choices provided a b
11111nata11111 [884]

Answer:

distance

Explanation:

it is the distance traveled by light in one year

3 0
1 year ago
Read 2 more answers
We have a 10kg ball and a 15kg ball. We drop them from the top of the science building while objects are at rest and there is no
Mashcka [7]
They will hit the ground at the same time, as mass is negligible when calculating the acceleration of gravity when there is no air resistance
3 0
3 years ago
Other questions:
  • A stalled car is pushed with a force of 342N from rest. How far does the car travel in 12 seconds if it’s mass is 989kg
    5·1 answer
  • You walk out to the edge of a 2,384 m. cliff and you toss a rock down to watch it drop. What is the rocks acceleration?
    15·1 answer
  • In a fast-pitch softball game the pitcher is impressive to watch, as she delivers a pitch by rapidly whirling her arm around so
    15·1 answer
  • If a ball starts with the velocity of 2.0m/s and accelerates with a constant rate of 0.50m/s squared for 2.5s what is the balls
    12·1 answer
  • All of the following are electromagnetic waves except
    15·1 answer
  • You drive on Interstate 10 from San Antonio to Houston, half the time at 72 km/h and the other half at 98 km/h. On the way back
    10·1 answer
  • Which of the following statements about the
    12·1 answer
  • An aquarium has a volume of 2.75 cubic
    7·1 answer
  • Use the drop-down menus to complete each statement.
    12·2 answers
  • 전기를 사용하여 다른 재료에 원하는 금속 층을 증착하는 과정을 ____라고 합니다.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!