SlideShare una empresa de Scribd logo
1 de 2
plot (gamma, Ex):
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 i=1:1:6
for L=1:length(alpha)
for j=1:1:length(gamma)
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);
if i==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
if i==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
if i==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
A(:,:,i)=zeros(3)+a(:,:,i);
B(:,:,i)=zeros(3)+b(:,:,i);
D(:,:,i)=zeros(3)+d(:,:,i);
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
plot (gamma, Ex)
hold on
grid on
xlabel('gamma')
ylabel('Ex')
end
end

Más contenido relacionado

La actualidad más candente (8)

小波变换程序
小波变换程序小波变换程序
小波变换程序
 
matlab code for channel estimation for ofdm
matlab code for channel estimation for ofdmmatlab code for channel estimation for ofdm
matlab code for channel estimation for ofdm
 
งาน 9 อังสนา
งาน 9 อังสนางาน 9 อังสนา
งาน 9 อังสนา
 
Matlab dsp examples
Matlab dsp examplesMatlab dsp examples
Matlab dsp examples
 
Matlab code of chapter 4
Matlab code of chapter 4Matlab code of chapter 4
Matlab code of chapter 4
 
Matlab code of chapter 4
Matlab code of chapter 4Matlab code of chapter 4
Matlab code of chapter 4
 
Effects of varying number of samples in an image
Effects of varying number of samples in an imageEffects of varying number of samples in an image
Effects of varying number of samples in an image
 
block diagram reduction with examples
block diagram reduction with examplesblock diagram reduction with examples
block diagram reduction with examples
 

Destacado

compañeros de clase
compañeros de clasecompañeros de clase
compañeros de clase
macobolo
 

Destacado (15)

compañeros de clase
compañeros de clasecompañeros de clase
compañeros de clase
 
Halloween 5. bekkur enska
Halloween 5. bekkur   enskaHalloween 5. bekkur   enska
Halloween 5. bekkur enska
 
Watch henderson vs thatch
Watch henderson vs thatchWatch henderson vs thatch
Watch henderson vs thatch
 
Career Opportunities in Indonesian Capital Market
Career Opportunities in Indonesian Capital MarketCareer Opportunities in Indonesian Capital Market
Career Opportunities in Indonesian Capital Market
 
Bahasa indonesia
Bahasa indonesiaBahasa indonesia
Bahasa indonesia
 
Estadísticos descriptivos. ppt aurora
Estadísticos descriptivos. ppt auroraEstadísticos descriptivos. ppt aurora
Estadísticos descriptivos. ppt aurora
 
presentacion power point tic
presentacion power point ticpresentacion power point tic
presentacion power point tic
 
Las tics noveno a
Las tics noveno aLas tics noveno a
Las tics noveno a
 
Introduction to Islamic Business Terms
Introduction to Islamic Business Terms Introduction to Islamic Business Terms
Introduction to Islamic Business Terms
 
IAU île-de-France : SRCAE de l’Île-de-France en lien avec la révision du SDRIF
IAU île-de-France : SRCAE de l’Île-de-France en lien avec la révision du SDRIF IAU île-de-France : SRCAE de l’Île-de-France en lien avec la révision du SDRIF
IAU île-de-France : SRCAE de l’Île-de-France en lien avec la révision du SDRIF
 
Rpp kelas xi questions tag
Rpp kelas xi questions tagRpp kelas xi questions tag
Rpp kelas xi questions tag
 
A Casa Branca
A Casa BrancaA Casa Branca
A Casa Branca
 
Periodisasi kasusastraan bali
Periodisasi kasusastraan baliPeriodisasi kasusastraan bali
Periodisasi kasusastraan bali
 
Lembar kegiatan siswa
Lembar kegiatan siswa Lembar kegiatan siswa
Lembar kegiatan siswa
 
PwC - ¿Cómo gestionar el riesgo de tipo de cambio?
PwC - ¿Cómo gestionar el riesgo de tipo de cambio?PwC - ¿Cómo gestionar el riesgo de tipo de cambio?
PwC - ¿Cómo gestionar el riesgo de tipo de cambio?
 

Similar a Project

Results after modifying errors
Results after modifying errorsResults after modifying errors
Results after modifying errors
MaRwa Hamed
 
小波变换程序
小波变换程序小波变换程序
小波变换程序
byron zhao
 

Similar a Project (11)

Results after modifying errors
Results after modifying errorsResults after modifying errors
Results after modifying errors
 
Echantionnage.docx
Echantionnage.docxEchantionnage.docx
Echantionnage.docx
 
Project 1
Project 1Project 1
Project 1
 
matlab codes.pdf
matlab codes.pdfmatlab codes.pdf
matlab codes.pdf
 
Ejercicio de fasores
Ejercicio de fasoresEjercicio de fasores
Ejercicio de fasores
 
H.w.5
H.w.5H.w.5
H.w.5
 
小波变换程序
小波变换程序小波变换程序
小波变换程序
 
Capsizing
CapsizingCapsizing
Capsizing
 
Radiation
RadiationRadiation
Radiation
 
Statistical Inference Using Stochastic Gradient Descent
Statistical Inference Using Stochastic Gradient DescentStatistical Inference Using Stochastic Gradient Descent
Statistical Inference Using Stochastic Gradient Descent
 
Statistical Inference Using Stochastic Gradient Descent
Statistical Inference Using Stochastic Gradient DescentStatistical Inference Using Stochastic Gradient Descent
Statistical Inference Using Stochastic Gradient Descent
 

Último

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Último (20)

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 

Project

  • 1. plot (gamma, Ex): 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);
  • 2. 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 i=1:1:6 for L=1:length(alpha) for j=1:1:length(gamma) 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); if i==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 if i==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 if i==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 A(:,:,i)=zeros(3)+a(:,:,i); B(:,:,i)=zeros(3)+b(:,:,i); D(:,:,i)=zeros(3)+d(:,:,i); 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 plot (gamma, Ex) hold on grid on xlabel('gamma') ylabel('Ex') end end