Answer:
<em>Written in Python</em>
def SumN(n):
total = 0
for i in range(1,n+1):
total = total + i
print("Total: ",total)
def SumNCubes(n):
total = 0
for i in range(1,n+1):
total = total + i**3
print("Cube: ",total)
n = int(input("User Input: "))
if n > 0:
SumN(n)
SumNCubes(n)
Explanation:
The SumN function is defined here
def SumN(n):
This line initializes the total to 0
total = 0
The following iteration compute the required sum
<em> for i in range(1,n+1):
</em>
<em> total = total + i
</em>
This line outputs the calculated sum
print("Total: ",total)
The SumNCubes function is defined here
def SumNCubes(n):
This line initializes the total to 0
total = 0
The following iteration compute the required sum of cubes
<em> for i in range(1,n+1):
</em>
<em> total = total + i**3
</em>
This line outputs the calculated sum of cubes
print("Cube: ",total)
The main starts here; The first line prompts user for input
n = int(input("User Input: "))
The next line checks if input is greater than 0; If yes, the two defined functions are called
if n > 0:
SumN(n)
SumNCubes(n)
It is called a ‘Waste Stream’
This should be right! Hope this helps, have a great day!
Answer:
d= 4.079m ≈ 4.1m
Explanation:
calculate the shaft diameter from the torque, \frac{τ}{r} = \frac{T}{J} = \frac{C . ∅}{l}
Where, τ = Torsional stress induced at the outer surface of the shaft (Maximum Shear stress).
r = Radius of the shaft.
T = Twisting Moment or Torque.
J = Polar moment of inertia.
C = Modulus of rigidity for the shaft material.
l = Length of the shaft.
θ = Angle of twist in radians on a length.
Maximum Torque, ζ= τ × \frac{ π}{16} × d³
τ= 60 MPa
ζ= 800 N·m
800 = 60 × \frac{ π}{16} × d³
800= 11.78 × d³
d³= 800 ÷ 11.78
d³= 67.9
d= \sqrt[3]{} 67.9
d= 4.079m ≈ 4.1m
Answer: it’s called a saw or see saw
Explanation: it works by cutting a tree, wood, tile, etc.
Answer:

Explanation:
The politropic relationship for a isentropic process is:

Where
is the ratio of specific heats
The final pressure is:


