ENG3104: Engineering Simulations and Computation - Engineering Assignment Help

Download Solution Order New Solution
Assignment Task:

Task:

1 (worth 200 marks) Introduction

The x and y positions of Particles 1, 2 and 3, which are measured in the time range of 0 to 2π seconds, are stored in File . The first column is used to store time, while columns 2k and 2k + 1 are used to store the corresponding x and y positions of Particle k, k = (1, 2, 3). For example, columns 2 and 3 contain the x and y values for the first particle (k = 1). The positions of the three particles are all periodic functions of time with a period of 2π. Your task is to find the velocities and accelerations of the three particles. The mathematical relationships between the positions, velocities and accelerations of a particle are given by vx = dx dt , ax = dvx dt , (1) vy = dy dt , ay = dvy dt , (2) where t is the time, vx and vy are the two components of the velocity vector, and ax and ay are the two components of the acceleration vector. In this assignment, the following equations are to be used to estimate the velocities and accelerations of the particle: vx1 = x1 − xN−1 tN − tN−1 , vy1 = y1 − yN−1 tN − tN−1 , (3) ax1 = vx1 − vxN−1 tN − tN−1 , ay1 = vy1 − vyN−1 tN − tN−1 , (4) for the first time point t1, and vxi = xi − xi−1 ti − ti−1 , vyi = yi − yi−1 ti − ti−1 , (5) axi = vxi − vxi−1 ti − ti−1 , ayi = vyi − vyi−1 ti − ti−1 , (6) for the remaining time points ti , i = (2, 3, · · · N), N is the number of time points in the data file. In equations (3)-(6), xi = x(ti) (value of function x(t) at time ti), yi = y(ti), vxi = vx(ti), vyi = vy(ti), axi = ax(ti) and ayi = ay(ti). Requirements For this assessment item, you must perform hand calculations:

1. Use equations (5)-(6) to calculate values of vx and ax at time points t5, t6, t7 and t8 for Particle 1. Report the answers in engineering conventional form.

2. From the equations used in Requirement 1, derive the following matrix systems (variables (unknowns to be found) on LHSs and numbers on RHSs) vx = D vx, (7) 1 ENG3104 Engineering Simulations and Computations Semester 2, 2021 where x = (x4, x5, x6, x7, x8) T , vx = (vx5 , vx6 , vx7 , vx8 ) T , T is the transpose operator and Dv is the matrix of size 4-by-5 (called the differentiation matrix), and ax = D avx, (8) where vx = (vx4 , vx5 , vx6 , vx7 , vx8 ) T , ax = (ax5 , ax6 , ax7 , ax8 ) T , and Da is the differentiation matrix of size 4-by-5.

3. Compare Dv and Da (are they identical or different?), and explain the reasons for it. You must also produce MATLAB code which:

4. Repeats Requirement 1, where the input data are entered into your Matlab program by typing/copying relevant values from the data file. Verify the answers by using the reported results from Requirement 1.

5. Loads the data file into Matlab (the numbers are not to appear in Matlab code via copyand-paste!). Verifies that the load has been successful by using Matlab to compare the first (t = t1) and last (t = tN ) rows of the numerical data table to those manually entered. Ensure that you don’t use absolute paths, e.g. , since that is not the folder in which your assignment will be marked. Use relative paths, e.g. .

6. Plots the trajectories of the three particles on the same graph.

7. Uses equations (3)-(6) to compute vxi , vyi , axi , ayi for Particle 1, where the index i runs continuously from 1 to N (i.e. i = (1, 2, · · · , N)) and the calculations are conducted in loops (scalar-/loop-based code). Verify the answers by comparing the results obtained at (t5, t6, t7, t8) with those from Requirement 4. 8. Uses equations (3)-(6) to compute vxi , vyi , axi , ayi for Particle 1, where the index i runs continuously from 1 to N (i.e. i = (1, 2, · · · , N)), and the equations are first written in the following matrix forms vx = Dx, (9) vy = Dy, (10) ax = Dvx, (11) ay = Dvy, (12) and the solutions are then obtained by multiplying matrices and vectors (vectorised code). In systems (9)-(12), D is the N × N differentiation matrix, and x, y, vx, vy, ax and ay are vectors of length N, x = (x1, x2, · · · , xN ) T , y = (y1, y2, · · · , yN ) T , (13) vx = (vx1 , vx2 , · · · , vxN ) T , vy = (vy1 , vy2 , · · · , vyN ) T , (14) ax = (ax1 , ax2 , · · · , axN ) T , ay = (ay1 , ay2 , · · · , ayN ) T . (15) Verify the answers with those from Requirement 7. 9. Plots functions x(t), vx(t) and ax(t) on the same graph and check qualitatively the mathematical relationships between the three functions.

The above Management  Assignment has been solved by our  Management Assignment  Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.