Sheet 3 - Model Answer
Sheet 3 - Model Answer
Sheet 3 - Model Answer
R R
1 2
rule R p = R + R
1 2
Rp = R1 * R2 / (R1 + R2)
−b ± √ b2−4 ac
x= , in each of the following cases:
2a
(i) a=1 ; b=3 ; c =2;
b = 2;
<<up arrow>> <<up arrow>> <<up arrow>> <<enter>>
<<up arrow>> <<up arrow>> <<up arrow>> <<enter>>
(iii) a=1 ; b=2 ; c=1 ;
c = 1;
<<up arrow>> <<up arrow>> <<up arrow>> <<enter>>
<<up arrow>> <<up arrow>> <<up arrow>> <<enter>>
help
look for “data analysis”
help datafun
look for “minimum, maximum, mean, standard deviation”
help min
help max
help mean
help std
2
OR
doc
search for “uniformly distributed random numbers”,
“minimum”, “maximum”, “mean”, “standard devation”
read “rand”, “min”, “max”, “mean”, “std” built-in function
documentation
Script:
x = 100 * rand(1, 100)
min(x)
max(x)
mean(x)
std(x)