Answer:
Alice is correct.
The loop are dependent.
Explanation:
for(i = 1; i <= N; i = (i*2)+17 )
for(k = i+1; k <= i+N; k = k+1) // notice i in i+1 and i+N
printf("B")
This is a nested for-loop.
After the first for-loop opening, there is no block of statement to be executed rather a for-loop is called again. And the second for-loop uses the value of i from the first for-loop. The value of N is both called from outside the loop.
So, the second for-loop depend on the first for loop to get the value of i. For clarity purpose, code indentation or use of curly brace is advised.
Based on the cost of the furniture, the following are true:
- a. $10,400.
- b. $93,600
- c. $20,800
<h3>Depreciation in second year</h3>
Depreciation per year = (Cost of furniture - Salvage value) / Useful life
Cost will include both the purchase price and the charge for insurance and shipping.
= (100,000 + 12,000 - 8,000) / 10
= $10,400
<h3>BV at end of first year</h3>
= Cost - Depreciation
= 104,000 - 10,400
= $93,600
<h3>BV after 8 years </h3>
= Cost - (Depreciation x 8 years )
= 104,000 - (10,400 x 8)
= $20,800
In conclusion, depreciation is $10,400 per year.
Find out more about SL depreciation at brainly.com/question/13734742.
Answer:
The diameter of the shaft is 80.5 mm.
Explanation:
Torsion equation is applied for the diameter of the solid shaft.
Step1
Given:
Power of the shaft is 100 kw.
Revolution per minute is 160 RPM.
Allowable shear stress is 70 Mpa.
Maximum torque is 20% more than the mean torque.
Step2
Mean torque is calculated as follows:



T=5968.31 N-m
Step3
Maximum torque is calculated as follows:



T_{max}=7161.97 N-m
Step4
Apply torsional equation for diameter of shaft as follows:



d=0.0805 m
or,
d=80.5 mm
Thus, the diameter of the shaft is 80.5 mm.
Answer:
Oil is graded by the Society of Automotive Engineers - B.