COUNT function
COUNT function determines how many cells in a range contain
a number. We use this function to get the number of entries in a number field
in an array of numbers. The formula one can use is G1:[…..]: = COUNT(G1:[…..])
Answer /Explanation
load hw92.dat
FID = fopen(file, 'r');
if FID == -1
fprintf('ERROR CANNOT OPEN FILE TO READ!');
else
fclose(file);
The we have:
datacell = textscan(FID, 'x%fy%f', 'CollectData', 1);
xycoords = datacell{1};
x 0 y 1
x 1.3 y 2.2
x 2.2 y 6
x 3.4 y 7.4
x 4.2 y 5.5
x 4.4 y 4.5
x 6.2 y 7.8
x 7.7 y 11.1
x 8.2 y 11.5
x 9.9 y 15.2
x 7.2 y 9.5
x 8.9 y 12.5
end
Answer:
I think servers and networks.
Answer:
Number of packets ≈ 5339
Explanation:
let
X = no of packets that is not erased.
P ( each packet getting erased ) = 0.8
P ( each packet not getting erased ) = 0.2
P ( X ≥ 1000 ) = 0.99
E(x) = n * 0.2
var ( x ) = n * 0.2 * 0.8
∴ Z = X - ( n * 0.2 ) /
~ N ( 0.1 )
attached below is the remaining part of the solution
note : For the value of <em>n</em> take the positive number