Answer:
Explanation:
% Clears variables and screen
clear; clc
% Asks user for input
n = input('Total number of objects: ');
r = input('Size of subgroup: ');
% Computes and displays permutation according to basic formulas
p = 1;
for i = n - r + 1 : n
p = p*i;
end
str1 = [num2str(p) ' permutations'];
disp(str1)
% Computes and displays combinations according to basic formulas
str2 = [num2str(p/factorial(r)) ' combinations'];
disp(str2)
=================================================================================
Example: check
How many permutations and combinations can be made of the 15 alphabets, taking four at a time?
The answer is:
32760 permutations
1365 combinations
==================================================================================
Answer:
b)False
Explanation:
A battery is a device which store the energy in the form of chemical energy.And this stored energy is used according to the requirement.So battery is not a electromechanical device.Because it does have any mechanical component like gear ,shaft flywheel etc.
A flywheel is known as mechanical battery because it stored mechanical energy and supply that energy when more energy is required.Generally fly wheel is used during punching operation.
Answer:
(a) dynamic viscosity = 
(b) kinematic viscosity = 
Explanation:
We have given temperature T = 288.15 K
Density 
According to Sutherland's Formula dynamic viscosity is given by
, here
μ = dynamic viscosity in (Pa·s) at input temperature T,
= reference viscosity in(Pa·s) at reference temperature T0,
T = input temperature in kelvin,
= reference temperature in kelvin,
C = Sutherland's constant for the gaseous material in question here C =120

= 291.15
when T = 288.15 K
For kinematic viscosity :


Answer:
Explanation:
The python code to generate this is quite simple to run.
i hope you understand everything written here, you can as well try out other problems to understand better.
First to begin, we import the package;
Code:
import pandas as pd
import matplotlib.pyplot as plt
name = input('Enter name of the file: ')
op = input('Enter name of output file: ')
df = pd.read_csv(name)
df['Date'] = pd.to_datetime(df["Date"].apply(str))
plt.plot(df['Date'],df['Absent']/(df['Present']+df['Absent']+df['Released']),label="% Absent")
plt.legend(loc="upper right")
plt.xticks(rotation=20)
plt.savefig(op)
plt.show()
This should generate the data(plot) as seen in the uploaded screenshot.
thanks i hope this helps!!!
Answer:
The minimum diameter for each cable should be 0.65 inches.
Explanation:
Since, the load is supported by two ropes and the allowable stress in each rope is 1500 psi. Therefore,
(1/2)(Weight/Cross Sectional Area) = Allowable Stress
Here,
Weight = 1000 lb
Cross-sectional area = πr²
where, r = minimum radius for each cable
(1/2)(1000 lb/πr²) = 1500 psi
500 lb/1500π psi = r²
r = √1.061 in²
r = 0.325 in
Now, for diameter:
Diameter = 2(radius) = 2r
Diameter = 2(0.325 in)
<u>Diameter = 0.65 in</u>