当前位置:天才代写 > CS代写,CS作业代写考试代考-价格便宜有靠谱 > MATLAB作业代做 MEC104代写 MATLAB代写

MATLAB作业代做 MEC104代写 MATLAB代写

2022-06-29 15:35 星期三 所属: CS代写,CS作业代写考试代考-价格便宜有靠谱 浏览:527

MEC104 Experimental, Computer Skills and Sustainability: MATLAB Assignment

 

MATLAB作业代做 Assignment Regulations This is an individual assignment. Every student MUST submit one soft copy of the assignment via the Learning Mall before

Assignment Regulations

  • This is an individual assignment. Every student MUST submit one soft copy of the assignment via the Learning Mall before the due date.
  • A coversheet can be created in your own way, but the following information MUST be included: student ID number, full name and email address.
  • In your answer sheet, all the formula, derivations, completed MATLAB scripts and functions with original highlighted text format in MATLAB editor, computational results in the command window, and plotted figures, should be part of the answers. For each question, you can use screen shots to provide 1) your coding in MATLAB editor, 2) prompts in command window, 3) results in command window, 4) results shown by plots/figures.
  • There is no hard requirement on how the answer sheet must be organized. You can organize your report question by question (i.e. give one section for each question). Then, for each section, you can organize it in your own way. However, the contents and information required by each individual question MUST be provided. You may follow a template on the next page to decide what information to be presented for each question.
  • You may refer to textbooks and lecture notes to discover approaches to problems, however, the assignment should be your own work.
  • Where you do make use of other reference, please cite them in your work. Students are reminded to refer and adhere to plagiarism policy and regulations set by XJTLU. References, in IEEE style can be attached as an appendix.

 

A Suggestion on Information to be Presented for Each Question  MATLAB作业代做

For each problem:

  1. Equation derivations:

1) What equation do you use in your coding?

2) Also give all the coefficients, and source terms (e.g. external force/voltage), as necessary.

  1. What initial conditions, boundary conditions, time periods, domain size, etc.,(computational conditions) are used? Provide schematic diagrams as necessary.
  1. Main programme:

Provide the coding below, with necessary comments.

  1. Functions

1) Give information on what is this function used for, and what equation is solved, related to point 1.

2) Provide the coding below, with necessary comments.

  1. Results

1) Present the results required by each question, which can be numbers, data tables, figures, as appropriate.

2) Comments and analysis of the results:

If required by a question, then you need to do this.
If not required, you can still do this if you wish, which is great!
If you think it is necessary to clarify your results and methods used, then please provide your comments.

  1. Flow charts of your programme (if applicable).

 

Problem 1 Matrix Operation (20 Marks)  MATLAB作业代做

P1-1 (5 Marks, 1 Mark for each small question)

Type this matrix in MATLAB and use MATLAB to carry out the following instructions.

 

 

a) Create a vector v consisting of the elements in the second column of A.

b) Create a vector w consisting of the elements in the second row of A.

c) Create a 4 x 3 array B consisting of all elements in the second through fourthcolumns of A.

d) Create a 3 x 4 array C consisting of all elements in the second through fourth rowsof A.

e) Create a 2 x 3 array D consisting of all elements in the first two rows and the last three columns of A.

P 1-2 (5 Marks, 1 Mark for each small question)

Consider the following arrays:

 

MATLAB作业代做
MATLAB作业代做

 

Write MATLAB expressions to do the following.

a) Select just the second row of B.

b) Evaluate the sum of the second row of B.

c) Multiply the second column of B and the first column of A element by element.

d) Evaluate the maximum value in the vector resulting from element-by-element multiplication of the second column of B with the first column of A.

e) Use element-by-element division to divide the first row of A by the first three elements of the third column of B. Evaluate the sum of the elements of the resulting vector.

P 1-3 (5 Marks)

A mass m is suspended by three cables attached at three points B, C, and D, as shown in Figure 1. Let T1, T2, and T3 be the tensions in the three cables AB, AC, and AD, respectively. If the mass m is stationary, the sum of the tension components in the x, in the y, and in the z directions must each be zero. This gives the following three equations:

 

MATLAB作业代做
MATLAB作业代做

 

Determine T1, T2, and T3 in terms of an unspecified value of the weight mg. (Hints: you can assume mg = 1, and find the values of T1, T2 and T3, respectively, and the final expressions should be these values multiplied by mg.)

P 1-4 (5 Marks)

Engineers must be able to predict the rate of heat loss through a building wall to determine the heating system requirements. They do this by using the concept of thermal resistance R, which relates the heat flow rate q through a material to the temperature difference ∆T across the material: q = ∆T/R . This relation is like the voltage-current relation for an electric resistor: i = v/R.

So, the heat flow rate plays the role of electric current, and the temperature difference plays the role of the voltage difference. The SI unit for q is the watt (W), which is 1 joule/second (J/s). The wall shown in Figure 2 consists of four layers: an inner layer of plaster/lathe 10 mm thick, a layer of fiber glass insulation 125 mm thick, a layer of wood 60 mm thick, and an outer layer of brick 50 mm thick. If we assume that the inner and outer temperatures Ti and To have remained constant for some time, then the heat energy stored in the layers is constant, and thus the heat flow rate through each layer is the same. Applying conservation of energy gives the following equations.

 

 

 

Problem 2 (15 Marks)  MATLAB作业代做

P2-1 (7.5 Marks, for programming and displaying results)

The equation of motion for a pendulum whose base is accelerating horizontally with an acceleration a(t) is

 

 

a) The acceleration is constant:a = 5 m/s2, and θ(0) = 0.5 rad.

b) The acceleration is constant: a = 5 m/s2, andθ(0) = 3 rad.

c) The acceleration is linear with time: a = 0.5t m/s2, andθ(0) = 0.5 rad.

P2-2 (7.5 Marks, programming and displaying results)

The following equation describes the motion of a certain mass connected to a spring, with no friction

 

 

a) ω= 1 rad/s

b) ω= 5 rad/s

c) ω= 10 rad/s

 

Problem 3 (7.5 Marks for a) and 7.5 Marks for b))  MATLAB作业代做

The equations for an armature-controlled dc motor (Figure 3) are the following. The Motor’s current is i and its rotational velocity is ω .

 

 

where L, R, and J are the motor’s inductance, resistance, and inertia; KT and Ke are the torque constant and back emf constant; c is a viscous damping constant; and is the applied voltage.

Use the values R = 0.8 Ω , L = 0.003 H , KT = 0.05 N·m/A , Ke = 0.05 V· s/rad, c = 0 and J = 8×10−5 kg ·m2.

a) Suppose the applied voltage is 20 V. Plot the motor’s speed and current versus time. Choose the simulation time period large enough to show the motor’s speed becoming constant.

b) Suppose the applied voltage is trapezoidal as given below.

 

MATLAB作业代做
MATLAB作业代做

 

MATLAB作业代做
MATLAB作业代做

 

 

更多代写:program网课代修平台  代考gre  英国统计代考  新西兰数学论文代写  留学生essay写作代写   commentary格式代写

合作平台:essay代写 论文代写 写手招聘 英国留学生代写

 

天才代写-代写联系方式