Home /
Expert Answers /
Computer Science /
please-provide-what-is-the-value-of-total-area-please-provide-matlab-codes-use-the-numerical-integra-pa982
(Solved): please provide what is the value of total area?please provide MATLAB codes Use the numerical integra ...
please provide what is the value of total area?
please provide MATLAB codes
Use the numerical integration template to calculate the area under the following curve: - f(x)=12x2−18x+15 - between the limits of x=0.19 and x=1.27 - using 2000 panels. clear ; clc xL= _ ; xR=; panels = deltax =(xR−xL)/ panels ; h= deltax; total_area =0; for x=xL:h:xR−hb1=…;%f(x) b2 = ; %f(x+h) area =0.5∗h∗(b1+b2); total_area = total_area + area ; end fprintf('Total Area =%9.3f\n ', total_area) To answer this part of the problem, make sure your program runs successfully, then type in your complete program code showing good programming practice. To help you visualize the area of interest, the shape of f(x) within the x region of interest is shown below. You do not need to plot this curve.