ANSWER
GIVEN BY
I comprise planned and developed the thermal blemish for the
thermocouples by the Trapz Function.
I have built-in the observations for both part of the class and to
end with further the output screenshot of the program.
Let me put in plain vocabulary you in a gradually manner:-
Step-1:
The original step is to accept the function with all the lone variables which position the limits of every one of the incorporation which are access for the mental picture purpose,
Step-2:
The next walk is to apply the numerical central of the trapezoid manner with the help of inveterate the unit spacing. The size of the size remains unmoved,
Step-3:
The concluding step is to reckon the integrates in the midst of the element dim which uses the specific length and apply the medium integrate (x,y,z) for every row.
Final Trapz Function;-
function trapz_ApprValue = trapz(f,I,m)
x=I(1):(I(2)-I(1))/(m-1):I(2);
for j=1:1:length(x)
y=subs(f,x);
end
trapz_ApprValue = trapz(x,y);
ezplot(f, [I(1), I(2)])
hold on
plot(x,y,'r')
for k=1:1:length(x)-1
rx = [x(k) x(k) x(k+1) x(k+1)];
ry = [y(k) 0 y(k+1) 0];
k = convhull(rx, ry);
fill (rx(k), ry(k), 'g','facealpha', 0.23);
end
stem(x,y,'r')
EXERCISE: Laser interstitial thermotherapy (LITT)is a minimally-invasive therapy procedure that uses heat to destroy or ablate...