To find the area bounded by the curves f(x)=9-x.^2 and g(x)=x-3, we need to first plot these curves and identify the points of intersection. Then we can use the definite integral formula to calculate the area between these curves.
Here's how we can do this in MATLAB:
main.m740 chars23 lines
This code will plot the two curves, find the intersection point, calculate the area between them using the integral
function, and print the result.
gistlibby LogSnag