Develop a matlab script file that draws the deflection

Assignment Help MATLAB Programming
Reference no: EM133289877

Mechanical Engineering Drawing

Project: Develop a program (script file) that draw beam deflection

Beam deflection
In engineering, the deflection of a beam is the degree to which the beam is displaced under a load, usually refer to a distance. Below are illustrations of deflection of two typical types of beam.

where, δ is the deflection. In general, it is a very small value compared to the length of the beam.

F is the external load, in N.
L is the length of the beam, in m.

The deflection δ is a function of x. The equations are given below.

For a simply-supported beam with load at the center:

δ = -F/48EL(3L2x + 4x3) (0 ≤ x ≤ L/2)

For a cantilever beam with load at the end

δ = F/6EL(x3 - 3Lx2)

where EI is the rigidity of a beam, related to the material and geometry of the beam.

Project description

Develop a Matlab script file that draws the deflection of an entire beam. Show both the deflected beam and its original shape. Your program will prompt the user to input the force F, length L, and rigidity EI, draw both the deflected and original (undeflected) beam, and show the max. deflection in the command window.

Following is the process of the program:

1. Prompt (and keep prompting) the user to select the type of the beam (simply-supported or cantilever, by entering "1" or "2").
• Only after the user inputs "1" or "2", the program will proceed to the next step.
• If the user hits the "Enter" key accidentally without entering a value, or entering a value other than 1 or 2, the program should not proceed forward but keep prompting the user to select the correct type ("1" or "2").

2. Prompt the user to input the force F, the rigidity of the beam EI, and the length L. Same as in #1, in the user hits the "Enter" without entering a number, your program will keep prompting the user to input a value.

3. After above values are entered, your program will draw the deflected beam and undeflected beam, and printout the max. deflection of the beam in the command window.

4. At the end, the program will ask if the user wants to continue by entering ‘Y' for "Yes" or ‘N' for "No".
• If the user enters ‘Y', the program will repeat the above steps to draw a new beam.
• If the user enters ‘N', the program terminates.
• If the user input any letter(s) other than ‘Y' or ‘N' (lower or upper case), or hit the "Enter" key without inputting (i.e., [ ] ), the program will keep asking until after either ‘Y' or ‘N' is entered.
• Your program should be able to handle both lower and upper cases of ‘y' and ‘n'. That it, when the user inputs ‘Y' or ‘y', the program will continue to make new drawing; when inputs ‘N' or ‘n', the program terminates. (--- i.e. it is case-insensitive for the user).

Verified Expert

The Load analysis of beam has been down in this assignment. When the load is applied on the beam how much deflection is shown by the beam and when load is applied on centred as well as on edge. For the graphical representation the MATLAB coding is done on matlab and graph has shown.

Reference no: EM133289877

Questions Cloud

Describe typical microscopic changes noted in muscle tissue : Describe in detail the typical microscopic changes noted in the muscle tissue of someone with Duchenne's muscular dystrophy.
Liquid or strong in gas as applied in colloid spray : Range the limits for the size of the particles arranged as sprayers. What is the interconnection of the Liquid or strong in gas as applied in the colloid spray
Think back to our discussion of cystic fibrosis : Think back to our discussion of cystic fibrosis. How can quality control in the endoplasmic reticulum be detrimental to patients that have cystic fibrosis?
Connection between highest cetane number and n-heptane : Draw a connection between the highest cetane number and n-heptane. Limit diesel middle engine's cetane speed to. Use n-heptane to perform the knocking process.
Develop a matlab script file that draws the deflection : MENG 201 Mechanical Engineering Drawing, American University of Ras Al Khaimah - Develop a Matlab script file that draws the deflection of an entire beam
Describe the function of three types of muscle tissue : Describe the structure (gross and histological) and function of the three types of muscle tissue.
Ontogeny recapitulates phylogeny is developmental theory : Ontogeny recapitulates phylogeny is a developmental theory proposed in 1860 by a German zoologist Ernst Haeckel.
What causes this type of illness : Along with eye and facial muscles, what are some other areas of the body that are affected by this illness?
Mutant yeast cell line : There is a mutant yeast cell line that divides normally at 28°C but cannot enter M phase at 37°C.

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Calculate the trajectories of a mini solar system

Calculate the trajectories of a mini solar system consisting of the Sun, and the Moon. The motion of celestial bodies is governed.

  Determining the dynamics of the double pendulum

MECH 3010: Elementary Numerical Methods and Programming - determining the dynamics of the double pendulum with a sliding base.

  Kerfuffleboard is a game very much like shuffleboard

Kerfuffleboard is a game very much like Shuffleboard. Players take turns shooting disks at a trianglular scoring area. While the scoring areas are the same in shuffleboard and kerfuffleboard, a disk's contribution to a player's score will be calcu..

  Compute the confusion matrix test_confusion of size

Summarize all of your results in a separate section at the end. Compare your results from Step 03, and Step 04. Which of the two algorithms yields the best result? Why?

  A volume 10 in long 5in wide and 05 in thick is to be

a volume 10 in. long 5in wide and 0.5 in. thick is to be removed by face milling cutter that is 3in. diameter and has 6

  Write the matlab code to create a 1x3 vector

Write the MATLAB code to create a 1x3 vector containing the elements [1,2,3]. Additionally, write the MATLAB code to create a 3x1 vector with the same elements.

  Create an m-function that will perform matrix addition

EEL 4935 - 014 Computer Tools Exam. Create an m-function that will perform Matrix addition and Matrix Multiplication.

  Effects of human activities at each trophic level

Effects of human activities at each trophic level

  Simulate the state trajectory of the closed-loop

Analyze the system stability, controllability and observability and Simulate the state trajectory of the closed-loop for any given initial states

  Matlab code to solve for temperature and pressure variation

Write down the MATLAB code to solve for temperature and pressure variation throughout the expansion process and to evaluate work and heat produced in processes for variable values of n.

  Print the total dollar amount of inventory

Use fscanf to read this information, and print the total dollar amount of inventory - stores on each line a part number, cost, and quantity in inventory

  Benefits and disadvantage using of mimo system in lte

What are benefits and disadvantage using of MIMO system in LTE - What are signal transmissions and reception techniques involve in MIMO system in LTE

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd