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
 
Project2
Project2Project2
Project2
 
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
 
Project 1
Project 1Project 1
Project 1
 

Recently uploaded

Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Coursebim.edu.pl
 
Levelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument methodLevelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument methodManicka Mamallan Andavar
 
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
 
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptJohnWilliam111370
 
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSHigh Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSsandhya757531
 
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESCME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESkarthi keyan
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303
 
Artificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewArtificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewsandhya757531
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...Erbil Polytechnic University
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxRomil Mishra
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmDeepika Walanjkar
 
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Sumanth A
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionSneha Padhiar
 
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfModule-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfManish Kumar
 
signals in triangulation .. ...Surveying
signals in triangulation .. ...Surveyingsignals in triangulation .. ...Surveying
signals in triangulation .. ...Surveyingsapna80328
 
Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Romil Mishra
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingBootNeck1
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.elesangwon
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 

Recently uploaded (20)

Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Course
 
Levelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument methodLevelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument method
 
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
 
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
 
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSHigh Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
 
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESCME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx
 
Artificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewArtificial Intelligence in Power System overview
Artificial Intelligence in Power System overview
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptx
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
 
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based question
 
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfModule-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
 
signals in triangulation .. ...Surveying
signals in triangulation .. ...Surveyingsignals in triangulation .. ...Surveying
signals in triangulation .. ...Surveying
 
Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event Scheduling
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 

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