Can you retype this in for me so I can do it cause it’s lined up instead of horizontal
Answer:
import java.util.Scanner;
public class SumVectorElements
{
public static void main(String[] args)
{
final int NUM_VALS = 4;
int[] origList = new int[NUM_VALS];
int[] offsetAmount = new int[NUM_VALS];
int i = 0;
origList[0] = 40;
origList[1] = 50;
origList[2] = 60;
origList[3] = 70;
offsetAmount[0] = 5;
offsetAmount[1] = 7;
offsetAmount[2] = 3;
offsetAmount[3] = 0;
/* Your solution goes here */
// Print the Sum of each element in the origList
// with the corresponding value in the
// offsetAmount.
for (i = 0; i < NUM_VALS; i++)
{
System.out.print((origList[i] + offsetAmount[i])+" ");
}
System.out.println("");
return;
}
}
Explanation: see attachment below
Answer:
True
Explanation:
Permanent electrical safety devices (PESD) acts as a layer of protection between the electrical worker and the hazardous voltage.
Permanent electrical safety devices (PESDs) are deployed to reduce the risks in isolating electrical energy.
Electrical safety can be improved if a worker determines a zero electrical energy state irrespective of any voltage exposure to themselves.
The given statement is true
Answer:
True
Explanation:
in a lightning for example we can see energy flowing in the environment.
The most easy way of seeing this is with the evaporation of the water in the sea because of the energy coming from the sun, the energy is used to change the state of the matter in water, changing it from liquid to gas. The energy is conservated and used for the environment.
Answer:
Tmax= 46.0 lb-in
Explanation:
Given:
- The diameter of the steel rod BC d1 = 0.25 in
- The diameter of the copper rod AB and CD d2 = 1 in
- Allowable shear stress of steel τ_s = 15ksi
- Allowable shear stress of copper τ_c = 12ksi
Find:
Find the torque T_max
Solution:
- The relation of allowable shear stress is given by:
τ = 16*T / pi*d^3
T = τ*pi*d^3 / 16
- Design Torque T for Copper rod:
T_c = τ_c*pi*d_c^3 / 16
T_c = 12*1000*pi*1^3 / 16
T_c = 2356.2 lb.in
- Design Torque T for Steel rod:
T_s = τ_s*pi*d_s^3 / 16
T_s = 15*1000*pi*0.25^3 / 16
T_s = 46.02 lb.in
- The design torque must conform to the allowable shear stress for both copper and steel. The maximum allowable would be:
T = min ( 2356.2 , 46.02 )
T = 46.02 lb-in