1 IN2009: Language Processors Coursework Part 3: The Interpreter Introduction This is the 3rd and final part of the coursework. In the second part of the coursework you created a parser for the Moopl grammar which, given a syntactically correct Moopl program as input, builds an AST representation of the program. In Part 3 you will develop an interpreter which executes Moopl programs by visiting their AST representations. For this part of the coursework we provide functional code (with limitations, see below) for parsing, building a symbol table, type checking and variable allocation. Marks This part of the coursework is worth 12 of the 30 coursework marks for the Language Processors module. This part of the coursework is marked out of 12. Submission deadline This part of the coursework should be handed in before 5pm on Sunday 9th April 2017. In line with school policy, late submissions will be awarded no marks. Return & Feedback Marks and feedback will be available as soon as possible, certainly on or before Wed 3rd May 2017. Plagiarism If you copy the work of others (either that of fellow students or of a third party), with or without their permission, you will score no marks and further disciplinary action will be taken against you. Group working You will be working in the same groups as for the previous parts of the coursework except where group changes have already been approved. Submission: Submit a zip archive (not a rar file) of all your source code (the src folder of your project). We do not want the other parts of your NetBeans project, only the source code. Note 1: Submissions which do not compile will get zero marks. Note 2: You must not change the names or types of any of the existing packages, classes or public methods. 2 Getting started Download either moopl-interp.zip or moopl-interp.tgz from Moodle and extract all files. Key contents to be aware of: • A fully implemented Moopl parser (also implements a parser for the interpreter command language; see below). • A partially implemented Moopl type checker. • Test harnesses for the type checker and interpreter. • A directory of a few example Moopl programs (see Testing below). • Folder interp containing prototype interpreter code. The type-checker is only partially implemented but a more complete implementation will be provided following Session 6. That version is still not fully complete because it doesn’t support inheritance. Part d) below asks you to remove this restriction. The VarAllocator visitor in the interp package uses a simple implementation which only works for methods in which all parameter and local variable names are different. Part e) below asks you to remove this restriction. The three parts below should be attempted in sequence. When you have completed one part you should make a back-up copy of the work and keep it safe, in case you break it in your attempt at the next part. Be sure to test old functionality as well as new (regression testing). We will not assess multiple versions so, if your attempt at part d) or e) breaks previously working code, you may gain a better mark by submitting the earlier version for assessment. c) [8 marks] The Basic Interpreter: complete the implementation of the Interpreter visitor in the interp package. d) [2 marks] Inheritance: extend the type-checker, variable allocator and interpreter to support inheritance. e) [2 marks] Variable Allocation: extend the variable allocator to fully support blockstructure and lexical scoping, removing the requirement that all parameter and local variable names are different. Aim to minimise the number of local variable slots allocated in a stack frame. Note: variable and parameter names declared at the same scope level are still required to be different from each other (a method cannot have two different parameters called x, for example) and this is enforced by the existing typechecking code. But variables declared in different blocks (even when nested) can have the same name. Exceptions Your interpreter will only ever be run on Moopl code which is type-correct (and free from uninitialised local variables). But it is still possible that the Moopl code contains logical errors which may cause runtime errors (such as null-reference or array-bound errors). Your interpreter should throw a MooplRunTimeException with an appropriate error message in these cases. The only kind of exception your interpreter should ever throw is a MooplRunTimeException. 3 Testing The examples folder does not contain a comprehensive test-suite. You need to invent and run your own tests. The document Moopl compared with Java gives a concise summary of how Moopl programs are supposed to behave. You can (and should) also compare the behaviour of your interpreter with that of the online tool: https://smcse.city.ac.uk/student/sj353/langproc/Moopl.html (Note: the online tool checks for uninitialised local variables. Your implementation is not expected to do this.) To test your work, run the top-level Interpret harness, providing the name of a Moopl source file as a command-line argument. When run on a type-correct Moopl source file, Interpret will pretty-print the Moopl program then display a command prompt (>) at which you can enter one of the following commands: :quit This will quit the interpreter. :call main() This will call the top-level proc main, interpreted in the context defined by the Moopl program. (Any top-level proc can be called this way). :eval Exp ; This will evaluate expression Exp, interpreted in the context defined by the Moopl program, and print the result. Note the required terminating semi-colon. Testing your Expression visitors To unit-test your Exp visit methods, run the top-level Interpret harness on a complete Moopl program (though it can be trivial) and use the :eval command. For example, to test your visit methods for the Boolean-literals (ExpTrue and ExpFalse), you would enter the commands > :eval true ; > :eval false ; which should output 1 and 0, respectively. For the most basic cases, the Moopl program is essentially irrelevant (a single top-level proc with empty body may be sufficient). For other cases you will need to write programs containing class definitions (in order, for example, to test object creation and method call). Testing your Statement visitors To unit-test your Stm visit methods, write very simple Moopl programs, each with a top-level proc main() containing just a few lines of code. Run the top-level Interpret harness on these simple programs and enter the command > :call main() You will find a few examples to get you started in the folder examples/unittests. As for the Exp tests, simple cases can be tested using Moopl programs with just a main proc but for the more complex tests you will need to write Moopl programs containing class definitions. 4 Grading criteria Solutions will be graded according to their functional correctness, and the elegance of their implementation. Below are criteria that guide the award of marks. 70 – 100 [1st class] Work that meets all the requirements in full, constructed and presented to a professional standard. Showing evidence of independent reading, thinking and analysis. 60 – 69 [2:1] Work that makes a good attempt to address the requirements, realising all to some extent and most well. Well-structured and well presented. 50 – 59 [2:2] Work that attempts to address requirements realising all to some extent and some well but perhaps also including irrelevant or underdeveloped material. Structure and presentation may not always be clear. 40 – 49 [3rd class] Work that attempts to address the requirements but only realises them to some extent and may not include important elements or be completely accurate. Structure and presentation may lack clarity. 0 – 39 [fail] Unsatisfactory work that does not adequately address the requirements. Structure and presentation may be confused or incoherent.

1 IN2009: Language Processors Coursework Part 3: The Interpreter Introduction This is the 3rd and final part of the coursework. In the second part of the coursework you created a parser for the Moopl grammar which, given a syntactically correct Moopl program as input, builds an AST representation of the program. In Part 3 you will develop an interpreter which executes Moopl programs by visiting their AST representations. For this part of the coursework we provide functional code (with limitations, see below) for parsing, building a symbol table, type checking and variable allocation. Marks This part of the coursework is worth 12 of the 30 coursework marks for the Language Processors module. This part of the coursework is marked out of 12. Submission deadline This part of the coursework should be handed in before 5pm on Sunday 9th April 2017. In line with school policy, late submissions will be awarded no marks. Return & Feedback Marks and feedback will be available as soon as possible, certainly on or before Wed 3rd May 2017. Plagiarism If you copy the work of others (either that of fellow students or of a third party), with or without their permission, you will score no marks and further disciplinary action will be taken against you. Group working You will be working in the same groups as for the previous parts of the coursework except where group changes have already been approved. Submission: Submit a zip archive (not a rar file) of all your source code (the src folder of your project). We do not want the other parts of your NetBeans project, only the source code. Note 1: Submissions which do not compile will get zero marks. Note 2: You must not change the names or types of any of the existing packages, classes or public methods. 2 Getting started Download either moopl-interp.zip or moopl-interp.tgz from Moodle and extract all files. Key contents to be aware of: • A fully implemented Moopl parser (also implements a parser for the interpreter command language; see below). • A partially implemented Moopl type checker. • Test harnesses for the type checker and interpreter. • A directory of a few example Moopl programs (see Testing below). • Folder interp containing prototype interpreter code. The type-checker is only partially implemented but a more complete implementation will be provided following Session 6. That version is still not fully complete because it doesn’t support inheritance. Part d) below asks you to remove this restriction. The VarAllocator visitor in the interp package uses a simple implementation which only works for methods in which all parameter and local variable names are different. Part e) below asks you to remove this restriction. The three parts below should be attempted in sequence. When you have completed one part you should make a back-up copy of the work and keep it safe, in case you break it in your attempt at the next part. Be sure to test old functionality as well as new (regression testing). We will not assess multiple versions so, if your attempt at part d) or e) breaks previously working code, you may gain a better mark by submitting the earlier version for assessment. c) [8 marks] The Basic Interpreter: complete the implementation of the Interpreter visitor in the interp package. d) [2 marks] Inheritance: extend the type-checker, variable allocator and interpreter to support inheritance. e) [2 marks] Variable Allocation: extend the variable allocator to fully support blockstructure and lexical scoping, removing the requirement that all parameter and local variable names are different. Aim to minimise the number of local variable slots allocated in a stack frame. Note: variable and parameter names declared at the same scope level are still required to be different from each other (a method cannot have two different parameters called x, for example) and this is enforced by the existing typechecking code. But variables declared in different blocks (even when nested) can have the same name. Exceptions Your interpreter will only ever be run on Moopl code which is type-correct (and free from uninitialised local variables). But it is still possible that the Moopl code contains logical errors which may cause runtime errors (such as null-reference or array-bound errors). Your interpreter should throw a MooplRunTimeException with an appropriate error message in these cases. The only kind of exception your interpreter should ever throw is a MooplRunTimeException. 3 Testing The examples folder does not contain a comprehensive test-suite. You need to invent and run your own tests. The document Moopl compared with Java gives a concise summary of how Moopl programs are supposed to behave. You can (and should) also compare the behaviour of your interpreter with that of the online tool: https://smcse.city.ac.uk/student/sj353/langproc/Moopl.html (Note: the online tool checks for uninitialised local variables. Your implementation is not expected to do this.) To test your work, run the top-level Interpret harness, providing the name of a Moopl source file as a command-line argument. When run on a type-correct Moopl source file, Interpret will pretty-print the Moopl program then display a command prompt (>) at which you can enter one of the following commands: :quit This will quit the interpreter. :call main() This will call the top-level proc main, interpreted in the context defined by the Moopl program. (Any top-level proc can be called this way). :eval Exp ; This will evaluate expression Exp, interpreted in the context defined by the Moopl program, and print the result. Note the required terminating semi-colon. Testing your Expression visitors To unit-test your Exp visit methods, run the top-level Interpret harness on a complete Moopl program (though it can be trivial) and use the :eval command. For example, to test your visit methods for the Boolean-literals (ExpTrue and ExpFalse), you would enter the commands > :eval true ; > :eval false ; which should output 1 and 0, respectively. For the most basic cases, the Moopl program is essentially irrelevant (a single top-level proc with empty body may be sufficient). For other cases you will need to write programs containing class definitions (in order, for example, to test object creation and method call). Testing your Statement visitors To unit-test your Stm visit methods, write very simple Moopl programs, each with a top-level proc main() containing just a few lines of code. Run the top-level Interpret harness on these simple programs and enter the command > :call main() You will find a few examples to get you started in the folder examples/unittests. As for the Exp tests, simple cases can be tested using Moopl programs with just a main proc but for the more complex tests you will need to write Moopl programs containing class definitions. 4 Grading criteria Solutions will be graded according to their functional correctness, and the elegance of their implementation. Below are criteria that guide the award of marks. 70 – 100 [1st class] Work that meets all the requirements in full, constructed and presented to a professional standard. Showing evidence of independent reading, thinking and analysis. 60 – 69 [2:1] Work that makes a good attempt to address the requirements, realising all to some extent and most well. Well-structured and well presented. 50 – 59 [2:2] Work that attempts to address requirements realising all to some extent and some well but perhaps also including irrelevant or underdeveloped material. Structure and presentation may not always be clear. 40 – 49 [3rd class] Work that attempts to address the requirements but only realises them to some extent and may not include important elements or be completely accurate. Structure and presentation may lack clarity. 0 – 39 [fail] Unsatisfactory work that does not adequately address the requirements. Structure and presentation may be confused or incoherent.

checkyourstudy.com Whatsapp +919911743277
Biomedical Signal and Image Processing (4800_420_001) Assigned on September 12th, 2017 Assignment 4 – Noise and Correlation 1. If a signal is measured as 2.5 V and the noise is 28 mV (28 × 10−3 V), what is the SNR in dB? 2. A single sinusoidal signal is found with some noise. If the RMS value of the noise is 0.5 V and the SNR is 10 dB, what is the RMS amplitude of the sinusoid? 3. The file signal_noise.mat contains a variable x that consists of a 1.0-V peak sinusoidal signal buried in noise. What is the SNR for this signal and noise? Assume that the noise RMS is much greater than the signal RMS. Note: “signal_noise.mat” and other files used in these assignments can be downloaded from the content area of Brightspace, within the “Data Files for Exercises” folder. These files can be opened in Matlab by copying into the active folder and double-clicking on the file or using the Matlab load command using the format: load(‘signal_noise.mat’). To discover the variables within the files use the Matlab who command. 4. An 8-bit ADC converter that has an input range of ±5 V is used to convert a signal that ranges between ±2 V. What is the SNR of the input if the input noise equals the quantization noise of the converter? Hint: Refer to Equation below to find the quantization noise: 5. The file filter1.mat contains the spectrum of a fourth-order lowpass filter as variable x in dB. The file also contains the corresponding frequencies of x in variable freq. Plot the spectrum of this filter both as dB versus log frequency and as linear amplitude versus linear frequency. The frequency axis should range between 10 and 400 Hz in both plots. Hint: Use Equation below to convert: Biomedical Signal and Image Processing (4800_420_001) Assigned on September 12th, 2017 6. Generate one cycle of the square wave similar to the one shown below in a 500-point MATLAB array. Determine the RMS value of this waveform. [Hint: When you take the square of the data array, be sure to use a period before the up arrow so that MATLAB does the squaring point-by-point (i.e., x.^2).]. 7. A resistor produces 10 μV noise (i.e., 10 × 10−6 V noise) when the room temperature is 310 K and the bandwidth is 1 kHz (i.e., 1000 Hz). What current noise would be produced by this resistor? 8. A 3-ma current flows through both a diode (i.e., a semiconductor) and a 20,000-Ω (i.e., 20-kΩ) resistor. What is the net current noise, in? Assume a bandwidth of 1 kHz (i.e., 1 × 103 Hz). Which of the two components is responsible for producing the most noise? 9. Determine if the two signals, x and y, in file correl1.mat are correlated by checking the angle between them. 10. Modify the approach used in Practice Problem 3 to find the angle between short signals: Do not attempt to plot these vectors as it would require a 6-dimensional plot!

Biomedical Signal and Image Processing (4800_420_001) Assigned on September 12th, 2017 Assignment 4 – Noise and Correlation 1. If a signal is measured as 2.5 V and the noise is 28 mV (28 × 10−3 V), what is the SNR in dB? 2. A single sinusoidal signal is found with some noise. If the RMS value of the noise is 0.5 V and the SNR is 10 dB, what is the RMS amplitude of the sinusoid? 3. The file signal_noise.mat contains a variable x that consists of a 1.0-V peak sinusoidal signal buried in noise. What is the SNR for this signal and noise? Assume that the noise RMS is much greater than the signal RMS. Note: “signal_noise.mat” and other files used in these assignments can be downloaded from the content area of Brightspace, within the “Data Files for Exercises” folder. These files can be opened in Matlab by copying into the active folder and double-clicking on the file or using the Matlab load command using the format: load(‘signal_noise.mat’). To discover the variables within the files use the Matlab who command. 4. An 8-bit ADC converter that has an input range of ±5 V is used to convert a signal that ranges between ±2 V. What is the SNR of the input if the input noise equals the quantization noise of the converter? Hint: Refer to Equation below to find the quantization noise: 5. The file filter1.mat contains the spectrum of a fourth-order lowpass filter as variable x in dB. The file also contains the corresponding frequencies of x in variable freq. Plot the spectrum of this filter both as dB versus log frequency and as linear amplitude versus linear frequency. The frequency axis should range between 10 and 400 Hz in both plots. Hint: Use Equation below to convert: Biomedical Signal and Image Processing (4800_420_001) Assigned on September 12th, 2017 6. Generate one cycle of the square wave similar to the one shown below in a 500-point MATLAB array. Determine the RMS value of this waveform. [Hint: When you take the square of the data array, be sure to use a period before the up arrow so that MATLAB does the squaring point-by-point (i.e., x.^2).]. 7. A resistor produces 10 μV noise (i.e., 10 × 10−6 V noise) when the room temperature is 310 K and the bandwidth is 1 kHz (i.e., 1000 Hz). What current noise would be produced by this resistor? 8. A 3-ma current flows through both a diode (i.e., a semiconductor) and a 20,000-Ω (i.e., 20-kΩ) resistor. What is the net current noise, in? Assume a bandwidth of 1 kHz (i.e., 1 × 103 Hz). Which of the two components is responsible for producing the most noise? 9. Determine if the two signals, x and y, in file correl1.mat are correlated by checking the angle between them. 10. Modify the approach used in Practice Problem 3 to find the angle between short signals: Do not attempt to plot these vectors as it would require a 6-dimensional plot!

Whatsapp +919911743277  
Individual case study Due date: 1:00pm AEST, Thursday, Week 11 All students are to submit electronically – max file size is 2Mb. ASSESSMENT Weighting: 35% Length: No set length 2 I…Assignment 2 SPECIFICATIONS CIS8011_Digital Innovation Assignment 2 (30%) (1500 words maximum) This assignment continues from the first assignment and your task is to write a report on the following a…1 CSE2DES/CSE5DES – Assignment 1 Due Date: 10 am Monday 22nd September 2014 Assessment: This assignment 1 is worth 15% of the final mark for CSE2DES/CSE5DES. This is an individual assignment. Copying,…All questions are from the textbook: Fatseas, Victor & Williams, John, Cost Management (2013) 3rd edition, McGraw HillMLC 703: PRINCIPLES OF INCOME TAX LAW INSTRUCTIONS Please note that the following will not form part of the word count: ? References, including statute and cases; ? Diagrams; ? Tables; ? Calculations….WRITTEN ESSAY Outline This assessment has been written to develop your understanding of Human Resource Management, assessing learning outcomes a, b, c, h and i: “The external environmental (e.g. econo…Subject: INTERNATIONAL MARKETING B01ITMK208 Assessment item 2: International Marketing Analysis Weighting: 30% Due: Week 10. A daily penalty of 5% will be applied to late assignments. Task: You are a …B01ITMK208 INTERNATIONAL MANAGEMENT ASSIGNMENT INSTRUCTIONS KEY INFORMATION Maximum Length: 2500 words Due: Week 8. Note that late submission will attract a penalty. Weighting: 30% Instructions: Read …Subject: Advertising Management BO1ADMG207 Assessment item 2: IMC Report Weighting: 30% Due: Week 8. A daily penalty of 5% will be applied to late assignments. Task: You are the Australian-based Marke…Attached are two Memos, please have a lookgetEconomics topic Assignment 2 Value: 40% Due date: 01-Sep-2014 Return date: 22-Sep-2014 Length: about 1500-2000 words each Submission method options Alternative submission method Task Analytical essays…Accounting for Business Decisions –HI5001 Trimester 2 2014 The assignment allows students to exhibit their knowledge and understanding of the subject matter of Accounting. The students will use the sk…HOLMES INSTITUTE FACULTY OF HIGHER EDUCATION HI6007 SPSS Assignment 02 Due Friday 4pm week 11 WORTH 30% The data set you need to do the assignment can be found on Blackboard in the folder “Assignments…Assignmnet of Economic Assignment (Written report): 25% 1. Organize yourselves into groups. Each group is to have Four or Five members. 2. Groups need to choose a topic from the list of topics provide…2. Rio Tinto Annual Report Financial Analysis [10 marks] Consider the sources below and answer the following questions. Source 1: Rio Tinto Annual Report 2012 (see report uploaded on the portal) Sourc…Quantitative Methods for Business Business Statistics Assignment – Semester, 2 2014 Total Marks: 60, Worth: 20% of final assessment This assignment requires a considerable amount of computer work and …BUACC 2613 Management Accounting 1 Semester 2, 2014 Assignment Contribution to overall assessment: 25% Due date: 26/09/2014 • This assignment has two parts: o Part 1

Individual case study Due date: 1:00pm AEST, Thursday, Week 11 All students are to submit electronically – max file size is 2Mb. ASSESSMENT Weighting: 35% Length: No set length 2 I…Assignment 2 SPECIFICATIONS CIS8011_Digital Innovation Assignment 2 (30%) (1500 words maximum) This assignment continues from the first assignment and your task is to write a report on the following a…1 CSE2DES/CSE5DES – Assignment 1 Due Date: 10 am Monday 22nd September 2014 Assessment: This assignment 1 is worth 15% of the final mark for CSE2DES/CSE5DES. This is an individual assignment. Copying,…All questions are from the textbook: Fatseas, Victor & Williams, John, Cost Management (2013) 3rd edition, McGraw HillMLC 703: PRINCIPLES OF INCOME TAX LAW INSTRUCTIONS Please note that the following will not form part of the word count: ? References, including statute and cases; ? Diagrams; ? Tables; ? Calculations….WRITTEN ESSAY Outline This assessment has been written to develop your understanding of Human Resource Management, assessing learning outcomes a, b, c, h and i: “The external environmental (e.g. econo…Subject: INTERNATIONAL MARKETING B01ITMK208 Assessment item 2: International Marketing Analysis Weighting: 30% Due: Week 10. A daily penalty of 5% will be applied to late assignments. Task: You are a …B01ITMK208 INTERNATIONAL MANAGEMENT ASSIGNMENT INSTRUCTIONS KEY INFORMATION Maximum Length: 2500 words Due: Week 8. Note that late submission will attract a penalty. Weighting: 30% Instructions: Read …Subject: Advertising Management BO1ADMG207 Assessment item 2: IMC Report Weighting: 30% Due: Week 8. A daily penalty of 5% will be applied to late assignments. Task: You are the Australian-based Marke…Attached are two Memos, please have a lookgetEconomics topic Assignment 2 Value: 40% Due date: 01-Sep-2014 Return date: 22-Sep-2014 Length: about 1500-2000 words each Submission method options Alternative submission method Task Analytical essays…Accounting for Business Decisions –HI5001 Trimester 2 2014 The assignment allows students to exhibit their knowledge and understanding of the subject matter of Accounting. The students will use the sk…HOLMES INSTITUTE FACULTY OF HIGHER EDUCATION HI6007 SPSS Assignment 02 Due Friday 4pm week 11 WORTH 30% The data set you need to do the assignment can be found on Blackboard in the folder “Assignments…Assignmnet of Economic Assignment (Written report): 25% 1. Organize yourselves into groups. Each group is to have Four or Five members. 2. Groups need to choose a topic from the list of topics provide…2. Rio Tinto Annual Report Financial Analysis [10 marks] Consider the sources below and answer the following questions. Source 1: Rio Tinto Annual Report 2012 (see report uploaded on the portal) Sourc…Quantitative Methods for Business Business Statistics Assignment – Semester, 2 2014 Total Marks: 60, Worth: 20% of final assessment This assignment requires a considerable amount of computer work and …BUACC 2613 Management Accounting 1 Semester 2, 2014 Assignment Contribution to overall assessment: 25% Due date: 26/09/2014 • This assignment has two parts: o Part 1

info@checkyourstudy.com
Project #1 Correspondence Packet (email, memo, letter) For this assignment you will produce a folder of professional correspondence. You will need to draw from actual personal experience, or imagine a scenario that will satisfy the assignment. Please refer to Chapter 10 in A Concise Guide for Technical Communication for formatting information. For a sample of standard memo format look at Figure 10.2 (page 191) & for letter sample refer to Figure 10.5 (page 199). Remember: The key to successful professional correspondence is brevity and coherence. One email, written to a co-worker and discussing a problem in the workplace. One short memo, directed to employees in your charge and explaining a new product or procedure. One professional business letter, directed to a consumer who is requesting an estimate for your/your company’s product(s) and/or services.

Project #1 Correspondence Packet (email, memo, letter) For this assignment you will produce a folder of professional correspondence. You will need to draw from actual personal experience, or imagine a scenario that will satisfy the assignment. Please refer to Chapter 10 in A Concise Guide for Technical Communication for formatting information. For a sample of standard memo format look at Figure 10.2 (page 191) & for letter sample refer to Figure 10.5 (page 199). Remember: The key to successful professional correspondence is brevity and coherence. One email, written to a co-worker and discussing a problem in the workplace. One short memo, directed to employees in your charge and explaining a new product or procedure. One professional business letter, directed to a consumer who is requesting an estimate for your/your company’s product(s) and/or services.

No expert has answered this question yet. You can browse … Read More...
Lab Assignment-09 Note: Create and save m-files for each problem individually. Copy all the m-files into a ‘single’ folder and upload the folder to D2L. Read chapters 2 and chapter 3.1-3.3 of the textbook (Introduction to MATLAB 7 for Engineers), solve the following problems in MATLAB. Given A= [■(3&-2&1@6&8&-5@7&9&10)] ; B= [■(6&9&-4@7&5&3@-8&2&1)] ; C= [■(-7&-5&2@10&6&1@3&-9&8)] ; Find the following A+B+C Verify the associative law (A+B)+C=A+ (B+C) D=Transpose(AB) E=A4 + B2 – C3 Find F, given that F = E-1 * D-1 – (AT) -1 Use MATLAB to solve the following set of equations 5x+7y + 9z = 12 7x- 4y + 8z = 86 15x- 9y – 6z = -57 Write a function that accepts temperature in degrees F and computes the corresponding value in degree C. The relation between the two is Aluminum alloys are made by adding other elements to aluminum to improve its properties, such as hardness or tensile strength. The following table shows the composition of five commonly used alloys, which are known by their alloy numbers ( 2024, 6061, and so on) [Kutz, 1999]. Obtain a matrix algorithm to compute the amounts of raw materials needed to produce a given amount of each alloy. Use MATLAB to determine how much raw material each type is needed to produce 1000tons of each alloy. Composition of aluminum alloys Alloy % Cu % Mg % Mn % Si % Zn 2024 4.4 1.5 0.6 0 0 6061 0 1 0 0.6 0 7005 0 1.4 0 0 4.5 7075 1.6 2.5 0 0 5.6 356.0 0 0.3 0 7 0

Lab Assignment-09 Note: Create and save m-files for each problem individually. Copy all the m-files into a ‘single’ folder and upload the folder to D2L. Read chapters 2 and chapter 3.1-3.3 of the textbook (Introduction to MATLAB 7 for Engineers), solve the following problems in MATLAB. Given A= [■(3&-2&1@6&8&-5@7&9&10)] ; B= [■(6&9&-4@7&5&3@-8&2&1)] ; C= [■(-7&-5&2@10&6&1@3&-9&8)] ; Find the following A+B+C Verify the associative law (A+B)+C=A+ (B+C) D=Transpose(AB) E=A4 + B2 – C3 Find F, given that F = E-1 * D-1 – (AT) -1 Use MATLAB to solve the following set of equations 5x+7y + 9z = 12 7x- 4y + 8z = 86 15x- 9y – 6z = -57 Write a function that accepts temperature in degrees F and computes the corresponding value in degree C. The relation between the two is Aluminum alloys are made by adding other elements to aluminum to improve its properties, such as hardness or tensile strength. The following table shows the composition of five commonly used alloys, which are known by their alloy numbers ( 2024, 6061, and so on) [Kutz, 1999]. Obtain a matrix algorithm to compute the amounts of raw materials needed to produce a given amount of each alloy. Use MATLAB to determine how much raw material each type is needed to produce 1000tons of each alloy. Composition of aluminum alloys Alloy % Cu % Mg % Mn % Si % Zn 2024 4.4 1.5 0.6 0 0 6061 0 1 0 0.6 0 7005 0 1.4 0 0 4.5 7075 1.6 2.5 0 0 5.6 356.0 0 0.3 0 7 0

info@checkyourstudy.com Whatsapp +919911743277