Unformatted text preview: Your function should return zero if the discs do not overlap and should generate an error (use function error) if D is less than the minimum of R 1 and R 2 (function min is useful). Part 2 Assume that R 1 = 100mm and R 2 = 50mm. Write a script-m (script.m) that i) plots the overlap area for D from 50mm to 160mm and ii) determines and outputs the value of D that gives an overlap area of 2000 mm 2 . Submit overlap.m and script.m....
View Full Document
- Winter '09
- Addition, Summation, Equals sign