Assignment 1 Computing Applications for Engineers

download Assignment 1 Computing Applications for Engineers

of 19

description

Assignment for Matlab Students

Transcript of Assignment 1 Computing Applications for Engineers

Taylors UniversitySchool of Engineering

ASSIGNMENT 1 Submission

Module Name: Computing Applications for Engineers Module Code: ENG2314 / ENG60104Lecturer: Dr. Thein Chung Ket

Name: Muhammad Aizat Bin Mohamed ZahariStudent ID: 0321459Tutorial Group: 1 (Wednesday 2pm-6pm)Program: Chemical EngineeringSemester: Year 2 Semester 3

Section AQuestion 1Description:Income Tax is denoted as Y,Medicare Tax is denoted as m.Total Tax is denoted as T.There are 5 conditions for the calculations of total taxes is which would depends on the persons income. Using the equation inserted in the coding, each income would be run throughout each condition. Each time the input value satisfy the condition, it will follow given equation for all three type of taxes. In the end, each income value would give three separate column of taxes including total taxes that he/she would need to pay.

In part B of Question 1, when $35000 and $200000 in substitute into the coding, the results as follows:

Question 2,

Question 2 (Tables),C_dmse

0.30000000000.0093868515

0.32000000000.0083179141

0.34000000000.0073367374

0.36000000000.0064387312

0.38000000000.0056194341

0.40000000000.0048745137

0.42000000000.0041997665

0.44000000000.0035911180

0.46000000000.0030446226

0.48000000000.0025564636

0.50000000000.0021229534

0.52000000000.0017405332

0.54000000000.0014057733

0.56000000000.0011153727

0.58000000000.0008661595

0.60000000000.0006550908

0.62000000000.0004792526

0.64000000000.0003358598

0.66000000000.0002222563

0.68000000000.0001359149

0.70000000000.0000744373

0.72000000000.0000355542

0.74000000000.0000171254

0.76000000000.0000171394

0.78000000000.0000337137

0.80000000000.0000650949

0.82000000000.0001096584

0.84000000000.0001659085

0.86000000000.0002324786

0.88000000000.0003081310

0.90000000000.0003917569

Tabls of .

Question 2 (Graph),

Question 3,Description:The equation given is denoted separately where, Constant (w0/120EIL) is denoted as k and Variables ((-x.^5)+(2*L^2*x.^3)-(L^4*x)) is denoted as m.For the first graph, using plot command, graph of distance against deflection is constructed.For further calculations, variables (m) needs to be differentiate externally for 5 times to get y2,y3,y4 and y5 equations. These graph are plotted by using subplot command with xlabels and ylabels according to the question. Subplot would enable all the graph plotted in the same window in which using matrix system. All graphs are shown in the Question 3 (Graphs)

Question 3 (Graph),

Section B,Question 1 (Group 2)

Question 2