Question: How do i define a piecewise function on maple with given radius?

Define a piecewise function of x so that the the value of the function is 0 if x<-r1-r2-r3 or if x>r1+r2+r3, it is equal to the vertical distance between the curves if -r1-r2-r3<=x<=r1+r2+r3. Numerically integrate the area under this curve on the non-zero interval and explain how the numerical answer is what you would anticipate the answer to be given that this curve is related to semi-circles.

Please Wait...