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

  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.

  What will be nbss average cost of supply

How much coal should Coggins contract for from each supplier-What will be NBSs total cost of supply and what will be NBSs average cost of supply?

  Theory of machines and mechanisms

Kinematics & Dynamics of Machines Coupler Curve Synthesis. Construction of mechanism, to any selected scale and from any selected material. Popsicle sticks will be made available to the class. Cardboard also works well

  Find inverse laplace transform for frequency domain signal

EECE 365 Signals, Systems, & Transforms. Find Inverse Laplace Transform for following frequency domain signal using Partial Fraction Expansion. Find Inverse Laplace Transform for following time domain signal using MATLAB. Consider using "sym" functio..

  Derive the equations for the system in discrete time

Write (1) in state space formulation, as a continuous time linear time invariant system. Derive the equations for the system in discrete time

  Calculate the availability of component

How you will transfer or apply your new knowledge and insights in the future - What was the reason you did particular activities

  What is the expression for the diagonal terms

What is the expression for the diagonal terms in the resulting matrix of coefficients of the tridiagonal system of linear equations that has to be solved

  Draw the bode plots using matlab

Draw the Bode plots using MATLAB. Plot them one below the other on the same page. (Use subplot command). Label the axes, include title and grid.

  Plot of the net power pattern in the x-y plane

ELEC 3320 MATLAB Project. Plot of the net power pattern in the x-y plane. Design parameters will be based on the last four digits of your student ID

  Simulate circuits using matlab

How can I use MatLab to simulate circuits and also to plot graphs especially Bode diagrams?

  Design of a feedback control system

Design of a Feedback Control system - Be able to build a control system using MATLAB Simulink-design and build a P and PI controllers to control a process

  Is partial pivoting needed

Prove that the matrix T has an LU factorization with L(i, i) = 1 and L(I + 1, i) = -i/i+1, U(i, i) = i+1/i and U(i, i + 1) = -1. Is partial pivoting needed

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