StudentShare
Contact Us
Sign In / Sign Up for FREE
Search
Go to advanced search...
Free

Mechanical Engineering and MATLAB Environment - Assignment Example

Cite this document
Summary
The paper under the title "Mechanical Engineering and MATLAB Environment" will be divided into three main steps: understanding the physics behind the problem; planning the program; designing the code that can be executed in a MATLAB environment…
Download full paper File format: .doc, available for editing
GRAB THE BEST PAPER97.7% of users find it useful

Extract of sample "Mechanical Engineering and MATLAB Environment"

MECHANICAL ENGINEERING MATLAB ASSIGNMENT NAME INSTITUTIONAL AFFILIATION DATE Table of Contents Introduction 3 Step 1: The Physics behind the Problem 3 Step 2: Plan of Program 6 Step 3: Program Code to be Executed in MATLAB Environment 9 Conclusion 15 Reference 15 Introduction This report considers a parachute designer who is working in a European Space Agency and who is required to design and implement a software for testing of the consequences of altering the parachute’s effective cross-sectional area, Ap to be applied in the spacecraft while the aircraft is making its way back to earth from space. The program designed herein takes the input data from the user. The main inputs include the spacecraft mass, m, and the cross-sectional area of the spacecraft, As, alongside the parachute’s effective cross-sectional area, Ap and the height of the spacecraft above earth, H. The overall report can be divided into three main steps: (i) Understanding the Physics behind the problem (ii) Planning the program (iii) Designing the Code that can be executed in a MATLAB Environment Step 1: The Physics behind the Problem Some basic physics background is required before solving the problem. For example, the equations of motion shown bellow will be applied: s = vt ………………………………………………………………………………………………………….. Equation 1 for constant velocity . For constant acceleration, the following equations (2-4) will apply: v = u + at …………………………………………………………………………………………………….. Equation 2 s = ut + ½ at2 ……………………………………………………………………………………………….. Equation 3 v2 = u2 + 2as ……………………………………………………………………………………….……….. Equation 4 Where, S = The distance covered or travelled in meters t= the time taken in seconds (s) u = initial velocity in m/s1 ­­v = Final velocity in m/s1 a = acceleration in ms-2­­­ For the case of a falling parachute, the acceleration due to gravity will apply and therefore, where is acceleration due to gravity. When a = g and initial velocity is zero (u = 0 m/s), then Equation 2, 3 and 4 becomes: v = gt …………………………………………………………………………………………………….. Equation 5 s = ½ gt2 ……………………………………………………………………………………………….. Equation 6 v2 = 2gs ……………………………………………………………………………………….……….. Equation 7 Further, the physics part for this problem will consider a set of four questions with the following common information: Spacecraft whose mass is 850 kg, Effective cross-sectional area of 5 m2 The height above the earth 150 km The starting velocity of 0 m/s Considering a spacecraft accelerating towards earth under the influence of gravitational pull, and at a height of 100km above the earth, its velocity will be given by the formula shown below: FD = W – ma But W = Mg where g = (40 x 107)/(637+H)2 d = H/71+1.4 A = FD/ (0.5 * C * d * v^2 m= 850 kg a = 9.81 A = FD/ (0.5 * C * d * v^2; C = 0.7 D = density = -H/71 + 1.4 Kg/m3 t = (2s/g )1/2 for time of travel Step 2: Plan of Program Preliminary planning of this program entails breaking down the entire program into small problems as shown in the chart bellow. Explanation for the Chart above: The start stage entails identification of the program needs in terms of output and input. The program plan is developed under the design stage prior to coding. The program coded is tested. If successful, it is ready for use and if not successful, it is rolled back into the design stage as indicated in the diagram (Register, 2007). Plan for the program Question 1: Data Input: g = 9.81 m/s^2 u = 0 m/s max_height = 50,000 m s_step = 1000 m Calculations or processing of data: The following is worked out for each value of s v = u+ (g*t) s = (u*t)+(0.5*g*t^2) v2 = u2 + 2as For s>=1000m, keep calculating the value of s Output: show results for v, s and t Question 2: Data Input: g = 9.81m/s^2 u = 0 m/s max_height = 100,000 m s_step = 1000 m Calculations or processing of data: The following is worked out for each value of s v = u+ (g*t) s = (u*t)+(0.5*g*t^2) v2 = u2 + 2gs For s>=1000m, keep calculating the value of s Output: show results for v, s and t Question 3: Data Input: g = 9.81m/s2 u = 0 m/s max_height = 3000 m s_step = 100 m Calculations or processing of data: The following is worked out for each value of s v = u+ (g*t) s = (u*t)+(0.5*g*t^2) v2 = u2 + 2gs For s>=3000m, keep calculating the value of s Output: show results for v, s and t Question 4: Data Input: g = 9.81m/s2 u = 0 m/s max_height = 3000 m s_step = 100 m Calculations or processing of data: The following is worked out for each value of s v = u+ (g*t) s = (u*t)+(0.5*g*t^2) v2 = u2 + 2gs V_min = sqrt (2 * g * s; For s>=3000m, keep calculating the value of V_min Output: show results for V_min, s and t Question 5: Data Input: g = 9.81 m/s2 FD = W- ma vmax = 10 m/s C = 0.7 A = 5 m2 Calculations or processing of data: A = FD/ (0.5 * C * s * v^2; Output: Show results for A and v Step 3: Program Code to be Executed in MATLAB Environment Section 1: Graphs Graph Code for Question 1: %Program for calculation of velocity %Solution for Question 1 %Input Data u = 0; % The initial velocity in m/s a = 9.81; % acceleration due to gravity max_height = 50000; % maximum height from 150km to 100km s_step = 1000; % displacement intervals for the plot %While Loop % initialization of displacement, time and velocity i=1; V(i)=0; t(i)=0; S(i)=0; % the start of the while control loop while S(i) Read More
Cite this document
  • APA
  • MLA
  • CHICAGO
(Mechanical Engineering MATLAB Assignment Example | Topics and Well Written Essays - 1500 words, n.d.)
Mechanical Engineering MATLAB Assignment Example | Topics and Well Written Essays - 1500 words. https://studentshare.org/logic-programming/2053080-mechanical-engineering-matlab-assignment
(Mechanical Engineering MATLAB Assignment Example | Topics and Well Written Essays - 1500 Words)
Mechanical Engineering MATLAB Assignment Example | Topics and Well Written Essays - 1500 Words. https://studentshare.org/logic-programming/2053080-mechanical-engineering-matlab-assignment.
“Mechanical Engineering MATLAB Assignment Example | Topics and Well Written Essays - 1500 Words”. https://studentshare.org/logic-programming/2053080-mechanical-engineering-matlab-assignment.
  • Cited: 0 times

CHECK THESE SAMPLES OF Mechanical Engineering and MATLAB Environment

Stability analysis using GUI in MATLAB (Electronic Engineering) Project Proposal

After determining the stability conditions, the Graphical User Interface Development environment (GUIDE) module of MATLAB will be studied to examine the process of developing a Graphical User Interface for a MATLAB application which determines the stability of a given system.... matlab was… It finds application in a variety of engineering disciplines.... In control systems, stability analysis is an important area where matlab applications can be developed to determine the stability of a variety of Initially it is essential to examine the theoretical basis for the concept of stability in order to identify the various conditions which characterize a stable system....
4 Pages (1000 words) Essay

Combining Matlab and Physics

According to Chapman (368), Matlab assists us to perform engineering and scientific calculations that were involved in the experiments because it is capable of solving any technical problem.... The author of this essay "Combining matlab and Physics" describes these experiments which were carried out to demonstrate how to use an accelerometer to move a platform by combining matlab and Physics.... The data provided by the accelerometer were entered in the matlab program and it wrote codes that answered the questions that followed each experiment....
1 Pages (250 words) Essay

Dynamical Systems with Applications using MATLAB

hellip; As such, I am able to use the command line, editor, data display on figures, numerical computation, mathematical operators, loop control flow, logical indexing, functions creation, and matlab strings.... The paper 'Dynamical Systems with Applications using matlab' concerns the matlab program which has been a source of good knowledge and skills.... Thus, scientists (engineers) should utilize matlab as the modern form of prototype development and testing to evaluate their ability to achieve success....
1 Pages (250 words) Essay

The Field of Computing

The computing process includes among other functions, designing, developing as well as establishment of… It also features the art of structuring, processing and managing the different information, making scientific research using and on computers as well as coming up with computer systems that behave intelligently. The field of computing is extremely road, involving software engineering, computer engineering, information systems, computer science as well as the broad field of information technology (Ceruzzi, 2003)....
5 Pages (1250 words) Assignment

Matlab Experiments Analysis

The author of the assignment "matlab" focuses on the description of the experiment.... Besides, they were incorporated into a matlab script.... As the author puts it, the first experiment employed the use of the two systems provided in the lab manual as shown below....
8 Pages (2000 words) Assignment

Engineering and Construction: The MATLAB Code

An essay "engineering and Construction: The MATLAB Code" reports that procedure was run to calculate the precise value for Kcr.... hellip; The matlab Code was used to estimate the critical gain value (Kcr) by looping through a range of K values from 1 to 50,000 in steps of 1....
14 Pages (3500 words) Essay

Company Application

These include CAD and matlab.... Personal Profile I possess effective communication skills, and I am capable of developing a communicating relationship with people I may not know it total varied environment making it possible to interact with various people across various cultures to ensure accomplishment of tasks.... Further, I am a team player who is ready and willing to work with others in creating the enabling environment for accomplishing tasks....
6 Pages (1500 words) Essay
sponsored ads
We use cookies to create the best experience for you. Keep on browsing if you are OK with that, or find out how to manage cookies.
Contact Us