Answer:
Code in MATLab is given as below:
Explanation:
grade = input('Enter the grades as elements of a vector ');
x1 = length(grade);
fprintf('There are %5.2f grades\n',x1);
x2 = mean(grade);
fprintf('The average grade is %5.2f \n',x2);
x3=std(grade);
fprintf('The standard deviation is %5.2f \n',x3);
x4 = median(grade);
fprintf('The median grade is %5.2f \n',x4);
Answer:b
Explanation:It’s only applies to the left-turning traffic
def calculate_pay(total_worked_hours, rate_per_hour):
if total_hours_worked > 40:
# anything over 40 hours earns the overtime rate
overtimeRate = 2 * rate
_per_hour
return (40 * rate_per_hour) + ((total_worked_hours - 40) * overtimeRate
else:
# if you didn't work over 40 hours, there is no overtime
overtime = 0
return total_worked_hours * rate_per_hour
Explanation:
- First we create the calculate_pay function which will takes 2 parameters.
- Secondly ,inside the function we check if the total_worked_hours is greater than 40 and then return the pay by calculating with the help of formula for work over 40 hours.
- If the total work hour is less than 40 then we return the pay by multiplying the total_worked_hours with rate_per_hour.
Answer:
HB = 3.22
Explanation:
The formula to calculate the Brinell Hardness is given as follows:

where,
HB = Brinell Hardness = ?
P = Applied Load in kg = 500 kg
D = Diameter of Indenter in mm = 10 mm
d = Diameter of the indentation in mm = 1.55 mm
Therefore, using these values, we get:

<u>HB = 3.22 </u>
When electric power is transferred over a long distance then, line loss can be reduced by high voltage and low current. Thus, option A is correct.
<h3>What is electric power?</h3>
The complete question is attached to the image below.
The electric circuit transfers the electric current then it is called electric power. The loss in the line over a larger distance is reduced by transferring AC instead of DC voltage.
The AC transmitted is of high voltage, and the power is low. The equation for current is given,
P = VI
The increase in the voltage causes the decrease in the current and in turn the resistance also reduces resulting in the loss of the power of the circuit to decrease.
Therefore, the loss is reduced by transferring high voltage and, low current AC.
Learn more about high volatge AC here:
brainly.com/question/18069892
#SPJ1