SlideShare a Scribd company logo
1 of 3
Download to read offline
PROGRAM FOR AXISYMMETRIC PROBLEM format long; %Entering the properties of the material of the plate fprintf('Properties of the material:n') E=input('Modulus of Elasticity, E(N/m^2): '); nu=input('Poisson Ratio: '); mu=E/(2*(1+nu)); lambda=0.5*((((2*nu+1)/(1-2*nu))*mu)-mu); %Entering the dimensions of the plate fprintf('nDimensions:n'); r=input('a = '); l=input('h = '); %Entering the boundary conditions of the plate fprintf('nBoundary conditions:n'); po=input('Enter the Top load(kN/m^2): '); sigmaz_a=input('Enter the Bottom load(kN/m^2): '); sigmaz_b=input('Enter the Bottom load(kN/m^2): '); 
global po po = 10000; global pin pin= 5000; deq = @(r,u) D2_diffeqtn(r,u,mu,l,lamda); z0 = linspace(a,b,11); yinit = [0 0 0 0]; initial_values = bvpinit(z0, yinit); solutn = bvp4c(deq,@bcdnts,initial_values); soln = deval(solutn,z0); z0' soln'
Function specifying boundary conditions function bdry = bcdnts( u0,u1 ) global po global pin bdry = [ u0(4)-pin ; u1(4)+po ; u0(3) ; u1(3) ]; end 
Differential equation function function f = D2_diffeqtn( r,u,m,l,lmda ) f = zeros(4,1); f(1) = u(4)/(2*m+lmda)-lmda/(2*m+lmda)*u(1)/r + lmda/l*pi*u(2)/(2*m+lmda); f(2) = u(3)/m - pi/l*u(1); f(3) = -lmda/(2*m+lmda)*pi/l*u(4) - 2*m*lmda/(2*m+lmda)*pi/l*u(1) - (lmda^2/(2*m+lmda)- (2*m+lmda))*pi^2/l^2*u(2) - u(3)/r; f(4) = 2*m/r*u(4)/(2*m+lmda) + pi/l*u(3) - 2*m*lmda/r*pi/(2*m+lmda)*u(2)/l + ((2*m+lmda)/r^2- lmda^2/(2*m+lmda)*1/r^r)*u(1); end
EXECUTION 
E = 2.000000000000000e+11 ans = 1.0e+02 * 0.050000000000000 0.145000000000000 0.240000000000000 0.335000000000000 0.430000000000000 0.525000000000000 0.620000000000000 0.715000000000000 0.810000000000000 0.905000000000000 1.000000000000000

More Related Content

What's hot

Bti1022 lab sheet 9 10
Bti1022 lab sheet 9 10Bti1022 lab sheet 9 10
Bti1022 lab sheet 9 10
alish sha
 

What's hot (20)

Amortized complexity
Amortized complexityAmortized complexity
Amortized complexity
 
Amortized complexity
Amortized complexityAmortized complexity
Amortized complexity
 
Dsp lab task1 ganesh
Dsp lab task1 ganeshDsp lab task1 ganesh
Dsp lab task1 ganesh
 
Bti1022 lab sheet 9 10
Bti1022 lab sheet 9 10Bti1022 lab sheet 9 10
Bti1022 lab sheet 9 10
 
Random variate generation
Random variate generationRandom variate generation
Random variate generation
 
Dsp lab task 2
Dsp lab task 2Dsp lab task 2
Dsp lab task 2
 
14 dimentionality reduction
14 dimentionality reduction14 dimentionality reduction
14 dimentionality reduction
 
Program persamaan kuadrat
Program persamaan kuadratProgram persamaan kuadrat
Program persamaan kuadrat
 
09 bsc-17 dsp lab 10-1
09 bsc-17 dsp lab 10-109 bsc-17 dsp lab 10-1
09 bsc-17 dsp lab 10-1
 
Lec 6-flexural analysis and design of beamns
Lec 6-flexural analysis and design of beamnsLec 6-flexural analysis and design of beamns
Lec 6-flexural analysis and design of beamns
 
13 unsupervised learning clustering
13 unsupervised learning   clustering13 unsupervised learning   clustering
13 unsupervised learning clustering
 
Matlab integration
Matlab integrationMatlab integration
Matlab integration
 
Lar calc10 ch02_sec2
Lar calc10 ch02_sec2Lar calc10 ch02_sec2
Lar calc10 ch02_sec2
 
Moody chart, M-File for finding Friction factor using equation
Moody chart, M-File for finding Friction factor using equationMoody chart, M-File for finding Friction factor using equation
Moody chart, M-File for finding Friction factor using equation
 
SSA - PHI-functions Placements
SSA - PHI-functions PlacementsSSA - PHI-functions Placements
SSA - PHI-functions Placements
 
Multi qubit entanglement
Multi qubit entanglementMulti qubit entanglement
Multi qubit entanglement
 
Vi Cheat Sheet
Vi Cheat SheetVi Cheat Sheet
Vi Cheat Sheet
 
MFC Progress
MFC ProgressMFC Progress
MFC Progress
 
Varibale frequency response lecturer 2 - audio+
Varibale frequency response   lecturer 2 - audio+Varibale frequency response   lecturer 2 - audio+
Varibale frequency response lecturer 2 - audio+
 
Minimum phase, All pass and Magnitude Squared Function
Minimum phase, All pass and Magnitude Squared FunctionMinimum phase, All pass and Magnitude Squared Function
Minimum phase, All pass and Magnitude Squared Function
 

Viewers also liked

อุปกรณ์เชื่อมต่อคอมพิวเตอร์
อุปกรณ์เชื่อมต่อคอมพิวเตอร์อุปกรณ์เชื่อมต่อคอมพิวเตอร์
อุปกรณ์เชื่อมต่อคอมพิวเตอร์
GuideZa KaiNoi
 
อุปกรณ์พื้นฐานคอมพิวเตอร์
อุปกรณ์พื้นฐานคอมพิวเตอร์อุปกรณ์พื้นฐานคอมพิวเตอร์
อุปกรณ์พื้นฐานคอมพิวเตอร์
anoeyy
 
15745_Insight Plus Issue 3 FINAL
15745_Insight Plus Issue 3 FINAL15745_Insight Plus Issue 3 FINAL
15745_Insight Plus Issue 3 FINAL
Nusrat Zerin
 

Viewers also liked (16)

Aparato Digestivo
Aparato DigestivoAparato Digestivo
Aparato Digestivo
 
Musica
MusicaMusica
Musica
 
Webinar fast-forward your list growth
Webinar    fast-forward your list growthWebinar    fast-forward your list growth
Webinar fast-forward your list growth
 
المسيح (عليه السلام) في الاسلام
المسيح (عليه السلام) في الاسلامالمسيح (عليه السلام) في الاسلام
المسيح (عليه السلام) في الاسلام
 
Iyerbrings 12062015
Iyerbrings  12062015Iyerbrings  12062015
Iyerbrings 12062015
 
Qué es la amistad
Qué es la amistadQué es la amistad
Qué es la amistad
 
#CheerForPeace 2014 annual report (english)
#CheerForPeace 2014 annual report (english)#CheerForPeace 2014 annual report (english)
#CheerForPeace 2014 annual report (english)
 
vigonegocios.es
vigonegocios.esvigonegocios.es
vigonegocios.es
 
อุปกรณ์เชื่อมต่อคอมพิวเตอร์
อุปกรณ์เชื่อมต่อคอมพิวเตอร์อุปกรณ์เชื่อมต่อคอมพิวเตอร์
อุปกรณ์เชื่อมต่อคอมพิวเตอร์
 
อุปกรณ์พื้นฐานคอมพิวเตอร์
อุปกรณ์พื้นฐานคอมพิวเตอร์อุปกรณ์พื้นฐานคอมพิวเตอร์
อุปกรณ์พื้นฐานคอมพิวเตอร์
 
15745_Insight Plus Issue 3 FINAL
15745_Insight Plus Issue 3 FINAL15745_Insight Plus Issue 3 FINAL
15745_Insight Plus Issue 3 FINAL
 
10Eighty careerCENTRE
10Eighty careerCENTRE10Eighty careerCENTRE
10Eighty careerCENTRE
 
Electronica
ElectronicaElectronica
Electronica
 
Konfigurasi Web Server pada Windows Server 2008
Konfigurasi Web Server pada Windows Server 2008Konfigurasi Web Server pada Windows Server 2008
Konfigurasi Web Server pada Windows Server 2008
 
Tugas pak nelson
Tugas pak nelsonTugas pak nelson
Tugas pak nelson
 
畢業作品(投影片)3
畢業作品(投影片)3畢業作品(投影片)3
畢業作品(投影片)3
 

Similar to Program for axisymmetric problem kant

Matlab fair-record-model
Matlab fair-record-modelMatlab fair-record-model
Matlab fair-record-model
ajaydev1111
 
107069260 trabajo-final-de-estructuras-ii
107069260 trabajo-final-de-estructuras-ii107069260 trabajo-final-de-estructuras-ii
107069260 trabajo-final-de-estructuras-ii
Edwin Torres C
 
3 (a) calculate thy potential at point P located a distance z above .pdf
 3 (a) calculate thy potential at point P located a distance z above  .pdf 3 (a) calculate thy potential at point P located a distance z above  .pdf
3 (a) calculate thy potential at point P located a distance z above .pdf
Info489948
 

Similar to Program for axisymmetric problem kant (12)

Digital signal Processing all matlab code with Lab report
Digital signal Processing all matlab code with Lab report Digital signal Processing all matlab code with Lab report
Digital signal Processing all matlab code with Lab report
 
Matlab fair-record-model
Matlab fair-record-modelMatlab fair-record-model
Matlab fair-record-model
 
107069260 trabajo-final-de-estructuras-ii
107069260 trabajo-final-de-estructuras-ii107069260 trabajo-final-de-estructuras-ii
107069260 trabajo-final-de-estructuras-ii
 
ANtenna Final.docx
ANtenna Final.docxANtenna Final.docx
ANtenna Final.docx
 
matlab codes.pdf
matlab codes.pdfmatlab codes.pdf
matlab codes.pdf
 
Power Systems Engineering - Matlab programs for Power system Simulation Lab -...
Power Systems Engineering - Matlab programs for Power system Simulation Lab -...Power Systems Engineering - Matlab programs for Power system Simulation Lab -...
Power Systems Engineering - Matlab programs for Power system Simulation Lab -...
 
C PROGRAMS
C PROGRAMSC PROGRAMS
C PROGRAMS
 
Promise of an API
Promise of an APIPromise of an API
Promise of an API
 
Critical buckling load geometric nonlinearity analysis of springs with rigid ...
Critical buckling load geometric nonlinearity analysis of springs with rigid ...Critical buckling load geometric nonlinearity analysis of springs with rigid ...
Critical buckling load geometric nonlinearity analysis of springs with rigid ...
 
MATLAB Scripts - Examples
MATLAB Scripts - ExamplesMATLAB Scripts - Examples
MATLAB Scripts - Examples
 
Dsp iit workshop
Dsp iit workshopDsp iit workshop
Dsp iit workshop
 
3 (a) calculate thy potential at point P located a distance z above .pdf
 3 (a) calculate thy potential at point P located a distance z above  .pdf 3 (a) calculate thy potential at point P located a distance z above  .pdf
3 (a) calculate thy potential at point P located a distance z above .pdf
 

Recently uploaded

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Recently uploaded (20)

Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 

Program for axisymmetric problem kant

  • 1. PROGRAM FOR AXISYMMETRIC PROBLEM format long; %Entering the properties of the material of the plate fprintf('Properties of the material:n') E=input('Modulus of Elasticity, E(N/m^2): '); nu=input('Poisson Ratio: '); mu=E/(2*(1+nu)); lambda=0.5*((((2*nu+1)/(1-2*nu))*mu)-mu); %Entering the dimensions of the plate fprintf('nDimensions:n'); r=input('a = '); l=input('h = '); %Entering the boundary conditions of the plate fprintf('nBoundary conditions:n'); po=input('Enter the Top load(kN/m^2): '); sigmaz_a=input('Enter the Bottom load(kN/m^2): '); sigmaz_b=input('Enter the Bottom load(kN/m^2): '); global po po = 10000; global pin pin= 5000; deq = @(r,u) D2_diffeqtn(r,u,mu,l,lamda); z0 = linspace(a,b,11); yinit = [0 0 0 0]; initial_values = bvpinit(z0, yinit); solutn = bvp4c(deq,@bcdnts,initial_values); soln = deval(solutn,z0); z0' soln'
  • 2. Function specifying boundary conditions function bdry = bcdnts( u0,u1 ) global po global pin bdry = [ u0(4)-pin ; u1(4)+po ; u0(3) ; u1(3) ]; end Differential equation function function f = D2_diffeqtn( r,u,m,l,lmda ) f = zeros(4,1); f(1) = u(4)/(2*m+lmda)-lmda/(2*m+lmda)*u(1)/r + lmda/l*pi*u(2)/(2*m+lmda); f(2) = u(3)/m - pi/l*u(1); f(3) = -lmda/(2*m+lmda)*pi/l*u(4) - 2*m*lmda/(2*m+lmda)*pi/l*u(1) - (lmda^2/(2*m+lmda)- (2*m+lmda))*pi^2/l^2*u(2) - u(3)/r; f(4) = 2*m/r*u(4)/(2*m+lmda) + pi/l*u(3) - 2*m*lmda/r*pi/(2*m+lmda)*u(2)/l + ((2*m+lmda)/r^2- lmda^2/(2*m+lmda)*1/r^r)*u(1); end
  • 3. EXECUTION E = 2.000000000000000e+11 ans = 1.0e+02 * 0.050000000000000 0.145000000000000 0.240000000000000 0.335000000000000 0.430000000000000 0.525000000000000 0.620000000000000 0.715000000000000 0.810000000000000 0.905000000000000 1.000000000000000