SlideShare uma empresa 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

Mais conteúdo relacionado

Mais procurados (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
 

Destaque

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

Destaque (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?
 

Semelhante a Project

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

Semelhante 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

Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
mphochane1998
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
AldoGarca30
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
chumtiyababu
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
Kamal Acharya
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Último (20)

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
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 

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