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
Kisachek [45]
3 years ago
15

Given int variables k and total that have already been declared, use a do...while loop to compute the sum of the squares of the

first 50 counting numbers, and store this value in total. Thus your code should put 1*1 + 2*2 + 3*3 +... + 49*49 + 50*50 into total. Use no variables other than k and total.
Engineering
1 answer:
Otrada [13]3 years ago
5 0

Answer:

k-1000

Explanation:

You might be interested in
2. (Problem 4.60 on main book, diameters different) Water flows steadily through a fire hose and nozzle. The hose is 35 mm diame
Viefleur [7K]

Answer:

coupling is in tension

Force = -244.81 N

Explanation:

Diameter of Hose ( D1 ) = 35 mm

Diameter of nozzle ( D2 ) = 25 mm

water gage pressure in hose = 510 kPa

stream leaving the nozzle is uniform

exit speed and pressure = 32 m/s and atmospheric

<u>Determine the force transmitted by the coupling between the nozzle and hose </u>

attached below is the remaining part of the  detailed solution

Inlet velocity ( V1 ) = V2 ( D2/D1 )^2  

= 32 ( 25 / 35 )^2

= 16.33 m/s

4 0
2 years ago
A large tank is filled to capacity with 500 gallons of pure water. Brine containing 2 pounds of salt per gallon is pumped into t
Nataly [62]

Answer:

A) A(t) = 10(100 - t) + c(100 - t)²

B) Tank will be empty after 100 minutes.

Explanation:

A) The differential equation of this problem is;

dA/dt = R_in - R_out

Where;

R_in is the rate at which salt enters

R_out is the rate at which salt exits

R_in = (concentration of salt in inflow) × (input rate of brine)

We are given;

Concentration of salt in inflow = 2 lb/gal

Input rate of brine = 5 gal/min

Thus;

R_in = 2 × 5 = 10 lb/min

Due to the fact that the solution is pumped out at a faster rate, thus it is reducing at the rate of (5 - 10)gal/min = -5 gal/min

So, after t minutes, there will be (500 - 5t) gallons in the tank

Therefore;

R_out = (concentration of salt in outflow) × (output rate of brine)

R_out = [A(t)/(500 - 5t)]lb/gal × 10 gal/min

R_out = 10A(t)/(500 - 5t) lb/min

So, we substitute the values of R_in and R_out into the Differential equation to get;

dA/dt = 10 - 10A(t)/(500 - 5t)

This simplifies to;

dA/dt = 10 - 2A(t)/(100 - t)

Rearranging, we have;

dA/dt + 2A(t)/(100 - t) = 10

This is a linear differential equation in standard form.

Thus, the integrating factor is;

e^(∫2/(100 - t)) = e^(In(100 - t)^(-2)) = 1/(100 - t)²

Now, let's multiply the differential equation by the integrating factor 1/(100 - t)².

We have;

So, we ;

(1/(100 - t)²)(dA/dt) + 2A(t)/(100 - t)³ = 10/(100 - t)²

Integrating this, we now have;

A(t)/(100 - t)² = ∫10/(100 - t)²

This gives;

A(t)/(100 - t)² = (10/(100 - t)) + c

Multiplying through by (100 - t)²,we have;

A(t) = 10(100 - t) + c(100 - t)²

B) At initial condition, A(0) = 0.

So,0 = 10(100 - 0) + c(100 - 0)²

1000 + 10000c = 0

10000c = -1000

c = -1000/10000

c = -0.1

Thus;

A(t) = 10(100 - t) + -0.1(100 - t)²

A(t) = 1000 - 10t - 0.1(10000 - 200t + t²)

A(t) = 1000 - 10t - 1000 + 20t - 0.1t²

A(t) = 10t - 0.1t²

Tank will be empty when A(t) = 0

So, 0 = 10t - 0.1t²

0.1t² = 10t

Divide both sides by 0.1t to give;

t = 10/0.1

t = 100 minutes

6 0
3 years ago
List one advantage and one disadvantage of the use of the commutator?
Mariulka [41]

Answer and  Explanation:

Commutator are used in DC machine commutator is mainly used for the reversing the direction of the current .It is connected to the armature of the DC generator or motor

ADVANTAGE OF COMMUTATOR The main advantage of the commutator in DC motor is to keep keep the direction of the toque always in the same direction by changing the current direction

DISADVANTAGE OF COMMUTATOR : The main disadvantage is due to the friction between the commutator and brushes there is a friction loss.

3 0
3 years ago
What is the formula for measuring the speed of an object
STALIN [3.7K]
S= d/t
Speed= distance/time
8 0
3 years ago
Anne works with other engineers studying physical processes that involve the flow of particles. Which field of engineering would
slega [8]

Answer:

Option A

Chemical engineering

Explanation:

Chemical engineering mainly encompass the study of behavior of different particles such as petroleum, water, drugs and other products. When Anne is involved in a study with engineers who study flow of particles, the flow, viscosity and other properties are among the behavior that chemical engineers are involved in.

3 0
3 years ago
Other questions:
  • Compute the fundamental natural frequency of the transverse vibration of a uniform beam of rectanqular cross section, with one e
    11·2 answers
  • Liquid water enters an adiabatic piping system at 15°C at a rate of 8kg/s. If the water temperature rises by 0.2°C during flow d
    12·1 answer
  • Disc brake rotors that are too thin cannot handle as much heat and will experience ___________.
    6·1 answer
  • Dunno what to ask, okbye
    5·1 answer
  • A coal-fired power plant is burning bituminous coal that has an energy content of 12,000 Btu/lb. The power plant is burning the
    13·1 answer
  • In software engineering how do you apply design for change?
    13·1 answer
  • Engine blocks are made by using a manufacturing process called​
    12·1 answer
  • When an output gear is larger than the input gear the greater ratio is greater than 1 T or F​
    9·1 answer
  • How many buttons in an airbus a380 cockpit
    9·2 answers
  • Is santa real or nah is santa real or nah
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!