SlideShare a Scribd company logo
1 of 3
Matlab code of chapter 4
%matlab code of composite structure
%chapter four code
%michromechanics composite material
%calculation of material properties
%inputs: Em,Ef,Vm,Vf,Gm,Gf,alpha m, alpha f, neu
f, neu m
%_______________________________________________
_____________
Ef=230;
Em=4.6;
Vf=0.4;
Vm=0.6;
Gm=1.769;
Gf=92;
alpham=30*10^-6;
alphaf=15*10^-6;
neuf=0.25;
neum=0.3;
E1=(Ef*Vf)+(Em*Vm)
E2=(Em*Ef)/((Vf*Em)+(Vm*Ef))
alpha1=((Ef*Vf*alphaf)+(Em*Vm*alpham))/E1
alpha2=(alphaf*Vf)+(alpham*Vm)
G12=(Gm*Gf)/((Gf*Vm)+(Gm*Vf))
neu12=(neuf*Vf)+(neum*Vm)
Verification the results
We will use the data of the problem 4.5 in chapter 4
The specification of this problem is :
Ef=230 Gpa
Em= 4.6 Gpa
Gm= 1.769 GPA
Gf= 92 Gpa
alpham=30*10^-6
alphaf=15*10^-6
analytical results :
G12 2.911 Gpa
E1 94.76
E2 7.565
υ 12 0.28
Alpha 1 1.5437e-05
Alpha 2 2.4000e-05
MAtlab code results :
E1 94.7600
E2 7.5658
G12 2.9110
υ 12 0.2800
Alpha 1
1.5437e-05
Alpha 2 2.4000e-05
As we see when we compare the results we found
that the results is the same and the error don’t
exceeds .01 %
So the code is work correctly

More Related Content

What's hot

Csc1100 lecture03 ch03-pt1-s14
Csc1100 lecture03 ch03-pt1-s14Csc1100 lecture03 ch03-pt1-s14
Csc1100 lecture03 ch03-pt1-s14IIUM
 
Csc1100 lecture03 ch03-pt1-s14
Csc1100 lecture03 ch03-pt1-s14Csc1100 lecture03 ch03-pt1-s14
Csc1100 lecture03 ch03-pt1-s14IIUM
 
Basic c operators
Basic c operatorsBasic c operators
Basic c operatorsAnuja Lad
 
Cse presentation ratul
Cse presentation ratulCse presentation ratul
Cse presentation ratulHassan Ratul
 
My lecture infix-to-postfix
My lecture infix-to-postfixMy lecture infix-to-postfix
My lecture infix-to-postfixSenthil Kumar
 
Expression evaluation
Expression evaluationExpression evaluation
Expression evaluationJeeSa Sultana
 
C operators
C operators C operators
C operators AbiramiT9
 
Class D Audio Amplifier using PSpice
Class D Audio Amplifier using PSpiceClass D Audio Amplifier using PSpice
Class D Audio Amplifier using PSpiceTsuyoshi Horigome
 
Ejercicios Scilab Completo
Ejercicios Scilab CompletoEjercicios Scilab Completo
Ejercicios Scilab CompletoRicardo Grandas
 

What's hot (20)

Lab 2
Lab 2Lab 2
Lab 2
 
Circular queues
Circular queuesCircular queues
Circular queues
 
Csc1100 lecture03 ch03-pt1-s14
Csc1100 lecture03 ch03-pt1-s14Csc1100 lecture03 ch03-pt1-s14
Csc1100 lecture03 ch03-pt1-s14
 
Csc1100 lecture03 ch03-pt1-s14
Csc1100 lecture03 ch03-pt1-s14Csc1100 lecture03 ch03-pt1-s14
Csc1100 lecture03 ch03-pt1-s14
 
C Building Blocks
C Building Blocks C Building Blocks
C Building Blocks
 
Tercer Punto
Tercer PuntoTercer Punto
Tercer Punto
 
Basic c operators
Basic c operatorsBasic c operators
Basic c operators
 
Cse presentation ratul
Cse presentation ratulCse presentation ratul
Cse presentation ratul
 
V34 numeric function-c
V34  numeric function-cV34  numeric function-c
V34 numeric function-c
 
My lecture infix-to-postfix
My lecture infix-to-postfixMy lecture infix-to-postfix
My lecture infix-to-postfix
 
Progr2
Progr2Progr2
Progr2
 
Simple Calculator Flowchart
Simple Calculator FlowchartSimple Calculator Flowchart
Simple Calculator Flowchart
 
Segundo Punto
Segundo PuntoSegundo Punto
Segundo Punto
 
Expression evaluation
Expression evaluationExpression evaluation
Expression evaluation
 
C operators
C operators C operators
C operators
 
C – operators and expressions
C – operators and expressionsC – operators and expressions
C – operators and expressions
 
Trabajo Scilab
Trabajo ScilabTrabajo Scilab
Trabajo Scilab
 
C Operators
C OperatorsC Operators
C Operators
 
Class D Audio Amplifier using PSpice
Class D Audio Amplifier using PSpiceClass D Audio Amplifier using PSpice
Class D Audio Amplifier using PSpice
 
Ejercicios Scilab Completo
Ejercicios Scilab CompletoEjercicios Scilab Completo
Ejercicios Scilab Completo
 

Similar to Matlab code of chapter 4

Smart material project number 1
Smart material project number 1Smart material project number 1
Smart material project number 1Abdo Khalaf
 
Smart material project number 1
Smart material project number 1Smart material project number 1
Smart material project number 1Abdo Khalaf
 
Having this how can i output the value for each of my unknownsfunc.pdf
Having this how can i output the value for each of my unknownsfunc.pdfHaving this how can i output the value for each of my unknownsfunc.pdf
Having this how can i output the value for each of my unknownsfunc.pdffabmallkochi
 
Smart material project number 1
Smart material project number 1Smart material project number 1
Smart material project number 1Mohamed El Kiki
 
Smart material project number 1
Smart material project number 1Smart material project number 1
Smart material project number 1Mohamed El Kiki
 

Similar to Matlab code of chapter 4 (8)

Smart material project number 1
Smart material project number 1Smart material project number 1
Smart material project number 1
 
Smart material project number 1
Smart material project number 1Smart material project number 1
Smart material project number 1
 
Having this how can i output the value for each of my unknownsfunc.pdf
Having this how can i output the value for each of my unknownsfunc.pdfHaving this how can i output the value for each of my unknownsfunc.pdf
Having this how can i output the value for each of my unknownsfunc.pdf
 
Code
CodeCode
Code
 
Smart material project number 1
Smart material project number 1Smart material project number 1
Smart material project number 1
 
Project2
Project2Project2
Project2
 
Smart material project number 1
Smart material project number 1Smart material project number 1
Smart material project number 1
 
Project 1
Project 1Project 1
Project 1
 

Recently uploaded

VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
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
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacingjaychoudhary37
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 

Recently uploaded (20)

VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
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...
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacing
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 

Matlab code of chapter 4

  • 1. Matlab code of chapter 4 %matlab code of composite structure %chapter four code %michromechanics composite material %calculation of material properties %inputs: Em,Ef,Vm,Vf,Gm,Gf,alpha m, alpha f, neu f, neu m %_______________________________________________ _____________ Ef=230; Em=4.6; Vf=0.4; Vm=0.6; Gm=1.769; Gf=92; alpham=30*10^-6; alphaf=15*10^-6; neuf=0.25; neum=0.3; E1=(Ef*Vf)+(Em*Vm) E2=(Em*Ef)/((Vf*Em)+(Vm*Ef)) alpha1=((Ef*Vf*alphaf)+(Em*Vm*alpham))/E1 alpha2=(alphaf*Vf)+(alpham*Vm) G12=(Gm*Gf)/((Gf*Vm)+(Gm*Vf)) neu12=(neuf*Vf)+(neum*Vm)
  • 2. Verification the results We will use the data of the problem 4.5 in chapter 4 The specification of this problem is : Ef=230 Gpa Em= 4.6 Gpa Gm= 1.769 GPA Gf= 92 Gpa alpham=30*10^-6 alphaf=15*10^-6 analytical results : G12 2.911 Gpa E1 94.76 E2 7.565 υ 12 0.28 Alpha 1 1.5437e-05 Alpha 2 2.4000e-05
  • 3. MAtlab code results : E1 94.7600 E2 7.5658 G12 2.9110 υ 12 0.2800 Alpha 1 1.5437e-05 Alpha 2 2.4000e-05 As we see when we compare the results we found that the results is the same and the error don’t exceeds .01 % So the code is work correctly