Produce a plot of the displacement

Assignment Help Simulation in MATLAB
Reference no: EM132348000

Supplementary Matlab Assignment -

Basic details - You are asked to submit your MATLAB solution to the problems specified below. For this INDIVIDUAL assignment, a professional presentation of your solution is required.

Question 1: Figure 1 shows the speed (mph) against time (s) graph of a vehicle in motion, starting at t=1, where Speed ≠ 0.

692_figure.png

Equation (1) reproduces the speed from time inputs as in figure 1.

Speed (t) = 0.0011(t6)-0.02928(t5) + 0.2807(t4) - 1.1837(t3) - 0.8283(t2) + 41.234t - 3.3549 (Eqn. 1)

To determine the distance travelled by the car, numerical integration is to be used on the reproduced speed vs. time data, calculated using the area under the curve.

Use the composite trapezoidal rule to obtain an approximation of the distance travelled by the vehicle in metres, with a relative error of less than 0.00002%. During the numerical integration calculations, if the relative error is not reached, double the number of separations used over the timespan in the calculations for the following calculation.

(i) In the command window, display the integral value calculated for distance, the number of sections used in the numerical integration, and the relative error produced for each looped calculation using 'fprintf' and associated commands.

(ii) Produce a single figure with two subplots, (1) showing the speed (m/s) vs. time (t) of the combined speed equations in one plot at a reasonable accuracy, and (2) a cumulative distance (m) graph of the vehicle over time(s) in the second subplot.

(iii) Produce a figure showing the total distance calculated against the number of separations used in each numerical integration calculation; use a logarithmic x-axis scale on the resulting plot.

Question 2: An undamped system is harmonically excited using an external forcing frequency ω, which produces vibration of the system. The displacement of the system over time (x(t)) can be calculated using Equation 4, when using the parameter values detailed in Table 1.

x(t) = (2f0/(ωn2- ω2))sin((ωn-ω/2)t)sin((ωn+ω/2)t) (Eqn. 4)

where: f0 = F0/m

Table 1: Parameter definitions, values and units of measure

Definition

Parameter

Value

Units

Stiffness

k

2000

N/m

Mass

m

0.405

kg

Applied Force Magnitude

F0

4.05

N

Time

t

2.077

s

Displacement

x

0.010343

m

Driving Frequency

ω

Unknown

Rad/s

Natural Frequency

ωn

ωn = √(k/m)

Rad/s

The acting driving frequency ?? however is unknown.

(i) Use the bisection method to determine an approximation of the value of ω, with an absolute error of less than 1 × 10-6 ; when the displacement x = 0.010343m, at time t = 2.077s, limiting the useable values of ω between: 77 < ω (rad/s) < 80. Display the resulting value of ω, and the absolute error obtained.

(ii) Produce a plot of the displacement x(t), between 0 < t < 3s, using the driving frequency ω calculated in part (i), and mark the displacement at t = 2.077s.

Note - For this assignment need m files, graphs and a report.

Attachment:- Assignment File And Example Report.rar

Reference no: EM132348000

Questions Cloud

Retained earnings will be invested in projects : Retained earnings will be invested in projects with an expected return of 18% per year. If Bean's equity cost of capital is 12%, what should be its stock price?
What is the price of a share of stock : What is the price of a share of stock if the beta is? 1.5, its next dividend is projected to be $3.50?, and its growth rate is expected
What is the current price of the bond : Assume that a bond makes 10 equal annual payments of $1,000 starting one year from today. The bond will make an additional payment of $100,000
Present value of future cash flows : Assume that a bond makes 30 equal annual payments of $1,000 starting one year from today.
Produce a plot of the displacement : EG-264 Supplementary Matlab Assignment, Swansea University, UK. Produce a plot of the displacement using the driving frequency
Use of leverage in the capital structure : A firm has the following book-value balance sheet; Debt =$ 17 ,000, Common Stock ($1 par)= 18 and Retained Earnings = $ 38 ,000.
What are the initial cash flows in year 0 : What are the Initial Cash Flows in Year 0? What are the Operating Cash Flows in Year 2? What are the Terminal Cash Flows in Year 4?
Explain the difference between net cash flow : Explain the difference between net cash flow and operating cash flow. What causes these two numbers to differ?
Play a coin flipping game : Suppose you have been presented with an opportunity to play a coin flipping game with the following payoffs: heads, you get $10, but tails

Reviews

len2348000

7/29/2019 5:12:22 AM

For this assignment I need m files, graphs and a report and I will send an example report if you would like to compare the format. For this INDIVIDUAL assignment, a professional presentation of your solution is required. This should contain: A cover page giving your name and your student number and including the signed statement "I confirm that I have not received help from, or given help to, anyone else in constructing the solution to this assignment". A brief description of the problem and of the process you have followed to produce your solution. A complete documented listing of your actual MATLAB files (i.e. NOT retyped by you and NO screenshots). A listing of the actual output from MATLAB giving the answers requested (i.e. NOT retyped by you and NO screenshots).

len2348000

7/29/2019 5:12:13 AM

No MATLAB in-built functions on numerical integration and Bisection Method, are permitted in the construction of submitted code. Appropriate referencing to any publication or web based material that you have used in constructing your solution. The report should be saved as a single PDF document and submitted through Turnitin via Blackboard. Your student number should be written on each page. In addition to your report, you must submit your working MATLAB files to the Blackboard submission link to verify the working code.

len2348000

7/29/2019 5:12:07 AM

Marking - Overall for this piece of coursework, marks will be awarded as follows: The quality of the submitted report: 30%, The accuracy of the results: 50%, The MATLAB techniques used to obtain the solutions, the ease of understanding of the output and the quality of the documentation within the MATLAB files: 20%.

Write a Review

Simulation in MATLAB Questions & Answers

  Calculate the stress intensity factor

Use the three-parameter zone finite element method or the boundary collocation method to calculate the stress intensity factor K, at the crack tip for the plate

  Build a simulation using newtons laws of motion

Build a new and different simulation of your own using Newtons laws of motion and Show the code and describe how it works

  Write the specification of load mover

Write the specification of LOAD MOVER detailed of the whole design and precise for automatic control section and divide the design into various modules and Is the kernel required if yes which one?

  Design the automatic control section using statecharts

Aim of this project is to design an embedded system which can move loads from one place to another. The system can be operated manually, automatically and wirelessly.

  Need an expert who can model a drill in simulink

Need an expert who can model a drill in Simulink. Working model of a drill needing for an improvment to behave more realistically as a drill to drill through plastic block.

  Project is on load frequency control using fpid

Project is on load frequency control using FPID tuned using GA and PSO algorithm and the system is a two area system.

  Number of packets received with time

Let x be the number of packets received with time -

  Build a matlab based graphical user interface

Build a Matlab based graphical user interface (GUI) that operates in conjunction with a base Matlab/ Simulink simulation program. Any base simulation is considered acceptable.

  Build a matlab based graphical user interface

Build a Matlab based graphical user interface (GUI) that operates in conjunction with a base Matlab/ Simulink simulation program. Any base simulation is considered acceptable.

  Simulate the standardised sum of independent

Simulate the standardised sum of independent and identically distributed variates - Fit a linear regression model as in Q5, and plot your estimates for β0 and β1 as N increases, together with a line indicating their true values. Supply your code.

  Plot the original periodic square wave

Plot the original periodic square wave on the same graph. Comment on the difference between the original periodic square wave and its truncated Fourier series presentation.

  Use matlab to plot the function

Plot the original periodic square wave on the same graph. Comment on the difference between the original periodic square wave and its truncated Fourier series presentation.

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