Study Guides (234,318)
ECOR 1010 (36)
all (15)

# lab7ecor1010.docx

10 Pages
283 Views

School
Carleton University
Department
Engineering Common Core Courses
Course
ECOR 1010
Professor
all
Semester
Winter

Description
INTRODUCTIONThe purpose of this report was to utilize the computational power of Matlab to solve complex linear problems and also to learn the different techniques that are necessary while using the softwareMATERIALS AND METHODSThe materials used for this labwere Microsoft Word basic writing material and the Matlab software The questions were briefly worked outor simply setup on paper prior to computing the final answer After this was done the correct syntax was found online using the Matlab website for reference and the code was written Comments were entered in as the code was entered to insure that the code was clear if it needed to be revised After the code was debugged and the answers to each question were completed the final code and respective output of each code was place in the appendix of the report RESULTSIn part one question three had several parts that were computed using Matlab These results can be viewed in Table 1 The calculations computing the dot product of matrix L and H and the calculation computing the transpose of J minus matrix K outputted errors because the dimensions of matrices were not correct For question two it was discovered that the HMCS Panda did not successfully complete its trip back to the origin The displacement vector can be viewed in Table 2along with all of the calculations completed It was also calculated that the ship also travelled a total of 6537km during its trip The graph for question three of part one can be found in Table 3 This graph was created by using the ezplot function an easy way to plot a smooth graph Question one of part two was done using similar calculations to those carried out in question one of part onethey can be viewed in Table 4 The final step was not able to be completed because of a different of dimensions in the matrices For question 2 of part 2 the original vector x was computed to be0522302962 01178see Table 5 The question involving the traffic circle could not be computed The pseud inverse did not satisfy the matrix equation therefore it was determined that the problem could not be solvedFor question 4 in part two it was found that the amount of anthracite used was 422 tonsand the amount of bituminous used was 164 tons the code for this problem can be followed in Table 7 For question 5 of part 2 the current for i1 was 2735030550 for i2 and 11950 for i3 All of these currents were flowing counterclockwise due to their negative nature The diagram for the problem is Figure 1 and the code can be viewed in Table 8 For the final question c was calculated to be equal to 760 and E was found to be 24192once again the calculations can be found in the appendix in Table 9DISCUSSIONThe benefits of Matlab greatly outweigh the downsides to the software this is mostly because of the pure computation power of it Matlab is capable of computing massive linear systems graphing complex functions and many other mathematical operations in a matter of secondsthese types of calculations would require many hours of work preMatlab days The only real downside to the software is that if the user does not understand the mathematical concepts behind the code they can very easily be incorrect This can become a serious issue in the engineering field due to the fact that this could put peoples lives in danger CONCLUSIONSIn conclusion this lab helped demonstrate the power of the Matlab software It can tackled many different types of programs with only a few lines of code making it a obvious choice by engineers everywhere
More Less

Related notes for ECOR 1010

OR

Don't have an account?

# Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Join to view

OR

By registering, I agree to the Terms and Privacy Policies
Just a few more details

So we can recommend you notes for your school.

Get notes from the top students in your class.

Request Course
Submit