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
IrinaVladis [17]
3 years ago
14

Draw a flowchart to represent the logic of a program that allows the user to enter values for the current year and the user’s bi

rth year. The program outputs the age of the user this year.

Engineering
1 answer:
Digiron [165]3 years ago
3 0

Answer:

Please, see the attachment.

Explanation:

First, we have to create two input boxes that allows the user to write the current year in one of them and his/her birth year in the another one. Also, we have to create a label that will show the result of the desired variable. We can write a message "Your age is:" and it will be attached to the result.

For the algorithm, let's call the variables as follows:

CY = Current Year

BY = Birth Year

X = Age of user

When the user inserts the current year and his/her birth year, the program will do the following operation:

X = CY - BY; this operation will give us the age of the user

After this the user will see something like "Your age is:" X.

You might be interested in
"At 195 miles long, and with 7,325 miles of coastline, the Chesapeake Bay is the largest and most complex estuary in the United
Paraphin [41]

Answer:

see explaination

Explanation:

Part a) Width of bay at Potomac River:

Given Data:

· Actual Width at Potomac River = 30 miles

· Bay Model Length Ratio Lr = 1/1000

In fluid mechanics models of real structures are prepared in simulation so that they can be analyzed accurately. A model is known to have simulation if model carries same geometric, kinematic and dynamic properties at a small scale.

Length of any part in model = Actual length x Lr

Hence,

Model Width of bay at Potomac River = 30 x 1/1000 = 0.03 miles

Since 1 mile = 5280 ft

Model Width of bay at Potomac River = 0.03 x 5280 = 158.4 ft

Part b) Model Length of bay bridge in model:

Given Data:

· Actual Length of bay bridge = 4.3 miles

· Bay Model Length Ratio Lr = 1/1000

Model Length = Actual Length x Lr = 4.3 x 1/1000 = 0.0043 miles

Since 1 mile = 5280 ft

Model Length in feet = 0.0043 x 5280 = 22.704 ft

Part c) Model Length of bay bridge in model:

Given Data:

· Model Area = 8 acre

· Bay Model Length Ratio Lr = 1/1000

Model Area = Actual Area x Lr x Lr

8 Model Area :: Actual Area =- (Lp)2 2 = 8,000,000 acre 1000

Since 1 square mile = 640 acre,

Actual Area in square miles = 8,000,000/640 = 12,500 square miles

Part d) Average and maximum depth of model:

Given Data:

· Actual Average depth = 28 ft

· Actual Maximum depth = 174 ft

· Bay Model Length Ratio Lr = 1/1000

Model average depth = Actual average depth x Lr = 28 x 1/1000 = 0.028 feet

Since 1 ft = 12 inch

Model average depth in inch = 0.028 x 12 = 0.336 in

Model maximum depth = Actual maximum depth x Lr = 174 x 1/1000 = 0.174 feet

Since 1 ft = 12 inch

Model maximum depth in inch = 0.174 x 12 = 2.088 in

4 0
3 years ago
Un mol de gas ideal realiza un trabajo de 3000 J sobre su entorno, cuando se expande de manera isotermica a una temperatura de 5
Shkiper50 [21]

Answer:

74,4 litros

Explanation:

Dado que

W = nRT ln (Vf / Vi)

W = 3000J

R = 8,314 JK-1mol-1

T = 58 + 273 = 331 K

Vf = desconocido

Vi = 25 L

W / nRT = ln (Vf / Vi)

W / nRT = 2.303 log (Vf / Vi)

W / nRT * 1 / 2.303 = log (Vf / Vi)

Vf / Vi = Antilog (W / nRT * 1 / 2.303)

Vf = Antilog (W / nRT * 1 / 2.303) * Vi

Vf = Antilog (3000/1 * 8,314 * 331 * 1 / 2,303) * 25

Vf = 74,4 litros

3 0
3 years ago
The drag coefficient of a car at the design conditions of 1 atm, 25°C, and 90 km/h is to be determined experimentally in a large
SIZIF [17.4K]

Answer: 0.288

Explanation:

Given

Pressure of the car, P = 1 atm

Temperature of the car, T = 25° C

Speed of the car, v = 90 km/h = 90*1000/3600 = 25 m/s

Height of the car, h = 1.25 m

Width of the car, b = 1.65 m

Force acting on the far, F = 220 N

Drag coefficient, C(d) = ?

Using our table A-9, we can trace that the density of air ρ, at the given temperature and pressure of 25 °C and 1 atm, is 1.184 kg/m³

Area = h *b

Area = 1.25 * 1.65

Area = 2.0625 m²

Now we solve for the drag coefficient using the formula

C(d) = F / (1/2 * ρ * A * v²)

C(d) = 220 / (0.5 * 1.184 * 2.0625 * 25²)

C(d) = 220 / (1.221 * 625)

C(d) = 220 / 763.125

C(d) = 0.288

Therefore, the drag coefficient is 0.288

3 0
3 years ago
Consider the following statement concerned with the collection of data, and determine the best selection of terms to complete th
snow_lady [41]

Answer:

a. population, units, sample

Explanation:

In a survey or in a research, population is defined as the total number of people or total number of items in the group that we want to study in a research. It is the entire pool from where a sample is drawn.

An unit is defined as the individual members for which the information or data is collected.

A sample is defined is defined as the group or part of the selection from where the information or data is to be obtained.

8 0
3 years ago
A high-voltage transmission line carries 1 000 A at 700 kV for a distance of 100 miles. If the resistance per length in the wire
mamaluj [8]

Answer:

50 MW

Explanation:

We are given;

Current = 1000A

Voltage = 700 KV

Resistance per length = 0.5 Ω/mile

Length = 100 miles

The total resistance would be;

R=0.5 Ω/mile x 100 miles = 50Ω.

Now, the current is the same throughout the wire, but the voltage is only at the beginning of the line, and thus the current for the power equation is;

P = I²R

So;

P=(1000A)² x 50Ω.= 50,000,000W = 50MW

3 0
3 years ago
Other questions:
  • An inflatable structure has the shape of a half-circular cylinder with hemispherical ends. The structure has a radius of 40 ft w
    6·1 answer
  • 5. Assume that you and your best friend ench have $1000 to invest. You invest your money
    8·1 answer
  • Anne works with other engineers studying physical processes that involve the flow of particles. Which field of engineering would
    14·1 answer
  • What have you learned from the previous lesson? Let's try to check your prior knowledge
    9·1 answer
  • When could you use the engineering design process in your own life?
    9·1 answer
  • An aircraft component is fabricated from an aluminum alloy that has a plane strain fracture toughness of 30 . It has been determ
    5·1 answer
  • Anything you want to do in Hootsuite can be found in the ________, with the main workspace in the _________?
    15·1 answer
  • Some_____
    10·1 answer
  • Nothing. i have nothing to say but that. other than that im good. :))))
    14·1 answer
  • In a typical American building, most modern lighting systems must use what voltage?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!