Answer:
M =2.33 kg
Explanation:
given data:
mass of piston - 2kg
diameter of piston is 10 cm
height of water 30 cm
atmospheric pressure 101 kPa
water temperature = 50°C
Density of water at 50 degree celcius is 988kg/m^3
volume of cylinder is 


mass of available in the given container is



M =2.33 kg
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:
8 mm
Explanation:
Given:
Diameter, D = 800 mm
Pressure, P = 2 N/mm²
Permissible tensile stress, σ = 100 N/mm²
Now,
for the pipes, we have the relation as:
where, t is the thickness
on substituting the respective values, we get
or
t = 8 mm
Hence, the minimum thickness of pipe is 8 mm
Answer:
sum2 = 0
counter = 0
lst = [65, 78, 21, 33]
while counter < len(lst):
sum2 = sum2 + lst[counter]
counter += 1
Explanation:
The counter variable is initialized to control the while loop and access the numbers in <em>lst</em>
While there are numbers in the <em>lst</em>, loop through <em>lst</em>
Add the numbers in <em>lst</em> to the sum2
Increment <em>counter</em> by 1 after each iteration