Answered step by step
Verified Expert Solution
Question
1 Approved Answer
find area of following figure using trapz function in MATLAB P = [124000 344400 574000 207971 ]; V = [0.69 0.25 0.25 0.69 ); figure
find area of following figure using trapz function in MATLAB
P = [124000 344400 574000 207971 ]; V = [0.69 0.25 0.25 0.69 ); figure % state 1-2 v = linspace(0.25,0.69); p = P(2)*V(2)./v; plot(v,p, -b) Linewidth,2); hold on % state 2-3 plot(V(2:3),P(2:3), -b) Linewidth, 2); % state 3-4 p = P(3) *V(3)./v; plotv,p, -b), 'Linewidth',2); % state 4-3 plot([V(1), V(end)],[P(1),P(end)],-b','Linewidth',2); hold off xlim([0.2 0.8]); text(V+0.01,P+0.1,(1,2,3,4'}); xlabel('Specific volume (m^3/kg)'); ylabel('Pressure (Pa)'); title('P-v diagram'); * 10% P-v diagram 0 07 Pressure (Pa) 6.2 0.3 0.4 0.5 0.6 Specific volume (m/kg) 0.7Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started