Wiki Markup |
---|
{alias:MatlabIntro} {panel} Author: Rajesh Bhaskaran, Cornell University {html} <iframe width="560" height="315" src="//www.youtube.com/embed/8g4kSDT8SZo?rel=0" frameborder="0" allowfullscreen></iframe> {html} {color:#ff0000}{*}Problem Specification{*}{color} [Step 1: Find Reactions R{~}A~, R{~}B~|MATLAB Intro 1 Find Reactions] [Step 2: Calculate _σ{_}{_}{~}x{~}_ for _r{_}{_}{~}i{~}_ = 1 cm|MATLAB Intro 2 Calculations] [Step 3: Plot _σ{_}{_}{~}x{~}_ vs. _r{_}{_}{~}i{~}_|MATLAB Intro 3 First plot] [Step 4: Plot _σ{_}{_}{~}x{~}_ vs. _r{_}{_}{~}i{~}_: Take 2|MATLAB Intro 4 Second plot] [Step 5: Plot _σ{_}{_}{~}x{~}_ vs. _r{_}{_}{~}i{~}_, Take 3: File Input/Output|MATLAB Intro 5 Third plot] [Step 6: Plot _σ{_}{_}{~}x{~}_ vs. _r{_}{_}{~}i{~}_, Take 4: Functions|MATLAB Intro 6 Create Function] [Tips|MATLAB Intro - Tips] {panel} h2. Problem Specification Consider the beam shown in the figure below. Using MATLAB, a) Find the reactions R{~}A~, R{~}B~ b) Find the bending stress σ{~}x~ at point O c) Plot the variation of σ{~}x~ at point O as the inner radius of the tube is varied in the range 0.5 cm < r{~}i~ < 1.5 cm !beam_figure.jpg! This tutorial uses MATLAB version R2013a. h4. Solution Steps The MATLAB solution is divided into the following steps: * Step 1: Find Reactions R{~}A~, R{~}B~ * Step 2: Find σ{~}x~ for r{~}i~ = 1 cm * Step 3: Plot σ{~}x~ vs. r{~}i~ * Step 4: Plot σ{~}x~ vs. r{~}i~: Take 2 * Step 5: Plot σ{~}x~ vs. r{~}i~: Take 3 * Step 6: Plot σ{~}x~ vs. r{~}i~: Take 4 h4. Conventions Used In this tutorial, items and options appearing within the MATLAB graphical user interface are denoted in {color:purple}{*}{_}purple, italic, and bold{_}{*}{color}. Text and numbers that need to be entered are indicated in {{monospace font}}. Let's dive into [step 1|MATLAB Intro 1 Find Reactions] without further ado. [Go to Step 1: Find Reactions R{~}A~, R{~}B~|MATLAB Intro 1 Find Reactions] [Go to all MATLAB Learning Modules|MATLAB Learning Modules] |
Page History
Overview
Content Tools