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
What is the formula for measuring the speed of an object
STALIN [3.7K]
S= d/t
Speed= distance/time
8 0
4 years ago
Please write the following code in Python 3. Also please show all output(s) and share your code.
maksim [4K]

Answer:

sum2 = 0

counter = 0

lst = [65, 78, 21, 33]

while counter < len(lst):

   sum2 = sum2 + lst[counter]

   counter += 1

Explanation:

The counter variable is initialized to control the while loop and access the numbers in <em>lst</em>

While there are numbers in the <em>lst</em>,  loop through <em>lst</em>

Add the numbers in <em>lst</em> to the sum2

Increment <em>counter</em> by 1 after each iteration

6 0
3 years ago
Describe the three primary duties for engineer
Wewaii [24]

Answer:Prepare plans with detailed drawings that include project specifications and cost estimates.

Design and execute engineering experiments to create workable solutions.

Develop engineering calculations, diagrams and technical reports.

Explanation:

4 0
3 years ago
Pipe Diameter and Reynolds Number. An oil is being pumped inside a 10.0-mm-diameter pipe at a Reynolds number of 2100. The oil d
alexdok [17]

Answer:

The velocity in the pipe is 5.16m/s. The pipe diameter for the second fluid should be 6.6 mm.

Explanation:

Here the first think you have to consider is the definition of the Reynolds number (Re) for flows in pipes. Rugly speaking, the Reynolds number is an adimensonal parameter to know if the fliud flow is in laminar or turbulent regime. The equation to calculate this number is:

Re=\frac{\rho v D}{\mu}

where \rhois the density of the fluid, \mu is the viscosity, D is the pipe diameter and v is the velocity of the fluid.

Now, we know that Re=2100. So the velocity is:

v=\frac{Re*\mu}{\rho*D} =\frac{2100*2.1x10^{-2}Pa*s }{855kg/m^3*0.01m} =5.16m/s

For the second fluid, we want to keep the Re=2100 and v=5.16m/s. Therefore, using the equation of Reynolds number the diameter is:

D=\frac{Re*\mu}{\rho*v} =\frac{2100*1.5x10^{-2}Pa*s}{925kg/m^3*5.16m/s}=6.6 mm

8 0
3 years ago
A right triangle has a height of 20 centimeters and a base of 10 centimeters. What is the área of the triangle
zmey [24]

Answer:

100 cm

Explanation:

...........................

6 0
3 years ago
Other questions:
  • Explain the use of the Kanban system in a production line?
    7·1 answer
  • In details and step-by-step, show how you apply the Bubble Sort algorithm on the following list of values. Your answer should sh
    15·1 answer
  • Air (ideal gas) is contained in a cylinder/piston assembly at a pressure of 150 kPa and a temperature of 127°C. Assume that the
    12·1 answer
  • if a voltage is applied to a capacitor, current flows easily at first and then slows as the capacitor becomes charged. Inductors
    5·1 answer
  • Π/4 = 1 - 1/3 + 1/5 - 1/7 + 1/9 ...
    5·1 answer
  • Calculate the density of the FCC nickel lattice with an interstitial hydrogen in the centered position of the unit cell. You may
    10·1 answer
  • Steam in a heating system flows through tubes whose outer diameter is 5 cm and whose walls are maintained at a temperature of 19
    13·1 answer
  • What competitive strategy was used by Regal Marine?
    5·1 answer
  • 6.
    8·1 answer
  • List six possible valve defects that should be included in the inspection of a used valve?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!