SlideShare uma empresa Scribd logo
1 de 3
clc
clear all
%% inputs
%modulus of elasticity (GPa)
Em=3.4; Ef=72.345;
%thermal expansion coefficient (/c)
alpham=54*10^-4; alphaf=-0.9*10^-4;
%poisson's ratio
neum=0.38; neuf=0.22;
%%shear modulus (GPa)
Gm=Em/(2*(1+neum)); Gf=Ef/(2*(1+neuf));
%volume fraction
Vf=0.5; Vm=1-Vf;
theta(1)=0; theta(2)=90; theta(3)=45; theta(4)=theta(3);
theta(5)=theta(2);
theta(6)=theta(1);
z(1)=0; z(2)=1; z(3)=3; z(4)=6; z(5)=9; z(6)=11; z(7)=12;
%% outputs
E1=Vf*Ef+Vm*Em;
E2=(Em*Ef)/(Vm*Ef+Vf*Em);
alpha1=(Vf*Ef*alphaf+Vm*Em*alpham)/(Vf*Ef+Vm*Em);
alpha2=Vm*alpham+Vf*alphaf;
G12=(Gm*Gf)/(Vf*Gm+Vm*Gf);
neu12=Vf*neuf+Vm*neum;
delta=1-(((neu12)^2)*(E2/E1));
Q=[(E1/delta) ((neu12*E2)/delta) 0; ((neu12*E2)/delta) (E2/delta) 0; 0
0 G12];
t(1)=z(7)-z(6);
t(2)=z(6)-z(5);
t(3)=z(5)-z(4);
t(4)=t(3);
t(5)=t(2);
t(6)=t(1);
t_total=2*t(1)+2*t(2)+2*t(3);
t_theta1=t(1)+t(6);
t_theta2=t(2)+t(5);
t_theta3=t(3)+t(4);
A=zeros(3);
B=zeros(3);
D=zeros(3);
alpha=0:0.1:1;
gamma=0:0.1:1;
beta=0;
for L=1:length(alpha)
for j=1:1:length(gamma)
fori=1:1:6
C(i)=cosd(theta(i)) ;
S(i)=sind(theta(i));
T(:,:,i)=[(C(i)^2) (S(i)^2) (2*S(i)*C(i)); (S(i)^2) (C(i)^2) (-
2*S(i)*C(i)); (-C(i)*S(i)) (S(i)*C(i)) ((C(i)^2)-(S(i)^2))];
Q_bar(:,:,i)=inv(T(:,:,i))*Q*T(:,:,i);
ifi==1|i==6
a(:,:,i)=Q_bar(:,:,i)*((alpha(L)*t_total)/2);
b(:,:,i)=Q_bar(:,:,i)*((alpha(L)*t_total)/2)*(z(i+1)+z(i));
d(:,:,i)=Q_bar(:,:,i)*(((alpha(L)*t_total)/2)^3+3*(z(i+1)^2*z(i)-
z(i+1)*z(i)^2));
end
ifi==2|i==5
a(:,:,i)=Q_bar(:,:,i)*((beta*t_total)/2);
b(:,:,i)=Q_bar(:,:,i)*((beta*t_total)/2)*(z(i+1)+z(i));
d(:,:,i)=Q_bar(:,:,i)*(((beta*t_total)/2)^3+3*(z(i+1)^2*z(i)-
z(i+1)*z(i)^2));
end
ifi==3|i==4
a(:,:,i)=Q_bar(:,:,i)*((gamma(j)*t_total)/2)
b(:,:,i)=Q_bar(:,:,i)*((gamma(j)*t_total)/2)*(z(i+1)+z(i));
d(:,:,i)=Q_bar(:,:,i)*(((gamma(j)*t_total)/2)^3+3*(z(i+1)^2*z(i)-
z(i+1)*z(i)^2));
end
ifi==1
A=a(:,:,1)
B=b(:,:,1)
D=d(:,:,1)
else
A=A+a(:,:,i)
B=B+b(:,:,i)
D=D+d(:,:,i)
end
end
Ex(j)=((A(1,1)*A(2,2))/(t_theta3*A(2,2)))-
(((A(1,2).^2)*gamma(j))/(t_theta3*A(2,2)));
neuxy(j)=A(1,2)/A(2,2);
Gxy(j)=(gamma(j)*A(3,3))/t_theta3;
Exb(j)=(gamma(j)^3*12*(D(1,1)*D(2,2)-D(1,2).^2))/(D(2,2)*t_theta3.^3);
neuxyb(j)=D(1,2)/D(2,2);
end
figure(1)
plot (gamma, Ex)
hold on
grid on
legend('0','r','0.1','0.2','0.3','0.4','0.5','0.6','0.7','0.8','0.9','1
',11);
xlabel('string')
ylabel('Ex')
figure(2)
plot (gamma, neuxy)
hold on
grid on
legend('0','r','0.1','0.2','0.3','0.4','0.5','0.6','0.7','0.8','0.9','1
',11);
xlabel('string')
ylabel('neuxy')
figure(3)
plot (gamma, Exb)
hold on
grid on
legend('0','r','0.1','0.2','0.3','0.4','0.5','0.6','0.7','0.8','0.9','1
',11);
xlabel('string')
ylabel('string')
hold off
figure(4)
plot (gamma, neuxyb)
hold on
grid on
legend('0','r','0.1','0.2','0.3','0.4','0.5','0.6','0.7','0.8','0.9','1
',11);
xlabel('string')
ylabel('string')
hold off
end

Mais conteúdo relacionado

Último

Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating SystemRashmi Bhat
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxVelmuruganTECE
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdfCaalaaAbdulkerim
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 
Crystal Structure analysis and detailed information pptx
Crystal Structure analysis and detailed information pptxCrystal Structure analysis and detailed information pptx
Crystal Structure analysis and detailed information pptxachiever3003
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Crushers to screens in aggregate production
Crushers to screens in aggregate productionCrushers to screens in aggregate production
Crushers to screens in aggregate productionChinnuNinan
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONjhunlian
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the weldingMuhammadUzairLiaqat
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - GuideGOPINATHS437943
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfChristianCDAM
 
home automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadhome automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadaditya806802
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxRomil Mishra
 
Autonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.pptAutonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.pptbibisarnayak0
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communicationpanditadesh123
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Configuration of IoT devices - Systems managament
Configuration of IoT devices - Systems managamentConfiguration of IoT devices - Systems managament
Configuration of IoT devices - Systems managamentBharaniDharan195623
 

Último (20)

Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating System
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptx
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdf
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 
Crystal Structure analysis and detailed information pptx
Crystal Structure analysis and detailed information pptxCrystal Structure analysis and detailed information pptx
Crystal Structure analysis and detailed information pptx
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Crushers to screens in aggregate production
Crushers to screens in aggregate productionCrushers to screens in aggregate production
Crushers to screens in aggregate production
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the welding
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - Guide
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdf
 
home automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadhome automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasad
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptx
 
Autonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.pptAutonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.ppt
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communication
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Configuration of IoT devices - Systems managament
Configuration of IoT devices - Systems managamentConfiguration of IoT devices - Systems managament
Configuration of IoT devices - Systems managament
 

Destaque

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destaque (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Project2

  • 1. clc clear all %% inputs %modulus of elasticity (GPa) Em=3.4; Ef=72.345; %thermal expansion coefficient (/c) alpham=54*10^-4; alphaf=-0.9*10^-4; %poisson's ratio neum=0.38; neuf=0.22; %%shear modulus (GPa) Gm=Em/(2*(1+neum)); Gf=Ef/(2*(1+neuf)); %volume fraction Vf=0.5; Vm=1-Vf; theta(1)=0; theta(2)=90; theta(3)=45; theta(4)=theta(3); theta(5)=theta(2); theta(6)=theta(1); z(1)=0; z(2)=1; z(3)=3; z(4)=6; z(5)=9; z(6)=11; z(7)=12; %% outputs E1=Vf*Ef+Vm*Em; E2=(Em*Ef)/(Vm*Ef+Vf*Em); alpha1=(Vf*Ef*alphaf+Vm*Em*alpham)/(Vf*Ef+Vm*Em); alpha2=Vm*alpham+Vf*alphaf; G12=(Gm*Gf)/(Vf*Gm+Vm*Gf); neu12=Vf*neuf+Vm*neum; delta=1-(((neu12)^2)*(E2/E1)); Q=[(E1/delta) ((neu12*E2)/delta) 0; ((neu12*E2)/delta) (E2/delta) 0; 0 0 G12]; t(1)=z(7)-z(6); t(2)=z(6)-z(5); t(3)=z(5)-z(4); t(4)=t(3); t(5)=t(2); t(6)=t(1); t_total=2*t(1)+2*t(2)+2*t(3); t_theta1=t(1)+t(6); t_theta2=t(2)+t(5); t_theta3=t(3)+t(4); A=zeros(3); B=zeros(3);
  • 2. D=zeros(3); alpha=0:0.1:1; gamma=0:0.1:1; beta=0; for L=1:length(alpha) for j=1:1:length(gamma) fori=1:1:6 C(i)=cosd(theta(i)) ; S(i)=sind(theta(i)); T(:,:,i)=[(C(i)^2) (S(i)^2) (2*S(i)*C(i)); (S(i)^2) (C(i)^2) (- 2*S(i)*C(i)); (-C(i)*S(i)) (S(i)*C(i)) ((C(i)^2)-(S(i)^2))]; Q_bar(:,:,i)=inv(T(:,:,i))*Q*T(:,:,i); ifi==1|i==6 a(:,:,i)=Q_bar(:,:,i)*((alpha(L)*t_total)/2); b(:,:,i)=Q_bar(:,:,i)*((alpha(L)*t_total)/2)*(z(i+1)+z(i)); d(:,:,i)=Q_bar(:,:,i)*(((alpha(L)*t_total)/2)^3+3*(z(i+1)^2*z(i)- z(i+1)*z(i)^2)); end ifi==2|i==5 a(:,:,i)=Q_bar(:,:,i)*((beta*t_total)/2); b(:,:,i)=Q_bar(:,:,i)*((beta*t_total)/2)*(z(i+1)+z(i)); d(:,:,i)=Q_bar(:,:,i)*(((beta*t_total)/2)^3+3*(z(i+1)^2*z(i)- z(i+1)*z(i)^2)); end ifi==3|i==4 a(:,:,i)=Q_bar(:,:,i)*((gamma(j)*t_total)/2) b(:,:,i)=Q_bar(:,:,i)*((gamma(j)*t_total)/2)*(z(i+1)+z(i)); d(:,:,i)=Q_bar(:,:,i)*(((gamma(j)*t_total)/2)^3+3*(z(i+1)^2*z(i)- z(i+1)*z(i)^2)); end ifi==1 A=a(:,:,1) B=b(:,:,1) D=d(:,:,1) else A=A+a(:,:,i) B=B+b(:,:,i) D=D+d(:,:,i) end end Ex(j)=((A(1,1)*A(2,2))/(t_theta3*A(2,2)))- (((A(1,2).^2)*gamma(j))/(t_theta3*A(2,2))); neuxy(j)=A(1,2)/A(2,2); Gxy(j)=(gamma(j)*A(3,3))/t_theta3; Exb(j)=(gamma(j)^3*12*(D(1,1)*D(2,2)-D(1,2).^2))/(D(2,2)*t_theta3.^3); neuxyb(j)=D(1,2)/D(2,2); end figure(1) plot (gamma, Ex) hold on grid on legend('0','r','0.1','0.2','0.3','0.4','0.5','0.6','0.7','0.8','0.9','1 ',11);
  • 3. xlabel('string') ylabel('Ex') figure(2) plot (gamma, neuxy) hold on grid on legend('0','r','0.1','0.2','0.3','0.4','0.5','0.6','0.7','0.8','0.9','1 ',11); xlabel('string') ylabel('neuxy') figure(3) plot (gamma, Exb) hold on grid on legend('0','r','0.1','0.2','0.3','0.4','0.5','0.6','0.7','0.8','0.9','1 ',11); xlabel('string') ylabel('string') hold off figure(4) plot (gamma, neuxyb) hold on grid on legend('0','r','0.1','0.2','0.3','0.4','0.5','0.6','0.7','0.8','0.9','1 ',11); xlabel('string') ylabel('string') hold off end