A company is calibrating some measuring instrumentation and has measured the radius and height of one cylinder 10 separate times; they are in vector variables r and h
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:2| Question number:41.2
All Answers
total answers (1)
>> r = [5.501 5.5 5.499 5.498 5.5 5.5 5.52 5.51 5.5 5.48];
>> h = [11.11 11.1 11.1 11.12 11.09 11.11 11.11 11.1 11.08 11.11];
>> all(r>0 & h>0)
ans =
1
>> vol = pi * r.^2 .* h
need an explanation for this answer? contact us directly to get an explanation for this answer