7 Pages

ENGR12600_exam3_s09

Course: ENGR 126, Spring 2009
School: Purdue
Rating:
 
 
 
 
 

Word Count: 1160

Document Preview

12600 Spring ENGINEERING 2009 Exam 3 INSTRUCTIONS: Duration: 60 minutes Keep your eyes on your own work! Keep your work covered at all times! 1. Each student is responsible for following directions. Read carefully. 2. Excel and MATLAB commands are provided on the next page. 3. This exam consists of 10 questions on 7 pages (4 sheets front AND back). Check to be sure that you have all of the pages. 4. Write your...

Register Now

Unformatted Document Excerpt

Coursehero >> Indiana >> Purdue >> ENGR 126

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
12600 Spring ENGINEERING 2009 Exam 3 INSTRUCTIONS: Duration: 60 minutes Keep your eyes on your own work! Keep your work covered at all times! 1. Each student is responsible for following directions. Read carefully. 2. Excel and MATLAB commands are provided on the next page. 3. This exam consists of 10 questions on 7 pages (4 sheets front AND back). Check to be sure that you have all of the pages. 4. Write your name on the answer sheet. 5. Closed book and notes. 6. No calculators. 7. Please make sure you return the answer sheet. ENGR 12600 Spring 2009 EXAM 3 Formula Sheet for Written Exam Statistics Equations Linear Regression MATLAB Commands +-*/^ = .* ./ .^ % ' (transpose) : ; < > <= >= ~ ~= = = & | && || () [ ] ... (ellipsis) abs acos all asin atan ans axis clc clear close cos csc disp else elseif end eval exit exp factorial figure floor fminbnd for format fplot fprintf function fzero grid help helpbrowser hist hold on hold off i, j if Inf input legend length linspace load log log10 loglog logspace lookfor max mean median min mode NaN ones pi plot polyfit polyval prod quit round sec semilogx semilogy sin size sort sqrt std subplot sum tan text title while who whos xlabel xlsread xor ylabel zeros Excel Functions +-*/^= $ ABS AVERAGE COS Linear y = mx + b EXP LN LOG10 MAX MEDIAN MIN MODE PI SIN SQRT Exponential y = b emx y = b 10mx Logarithmic x = b emy x = b 10my 2 STDEV SUM TAN Power y = b xm x = b ym ENGR 12600 Exam 3 April 21, 2009 RECORD ALL ANSWERS ON THE ANSWER SHEET Problem 1 (6 points) A morphological analysis was performed for a device that could be used to store and keep food cool - a replacement for a common refrigerator. The overall function is determined to be to preserve food. A list of items was generated during the morphological analysis of subfunctions and means. A sample of the items are listed below with the sub-functions and means mixed up. Check the appropriate category for each to separate the sub-functions from the means. Check only the ONE category for each item that is the most appropriate given the list of items. Item SubMeans Function Passive heat exchanger for cooling Cool food LEDs (Light Emitting Diodes) for lighting Store vegetables Sliders to move shelves Insulation made from recycled plastic Problem 2 (6 points) The following commands were executed in MATLAB. What is the value of y if a=1, b=2, c = 4 and d = 5? A. y= 3<d<4 B. y=~(xor(d>=b,a<b))&((a+b)==(c -1)) C. y=((d>=b|a<b)&((a+b)==c |d<=b*a)|(a+d<=b+c))&a>d Problem 3 (6 points) The following MATLAB code is executed: for a = 5:2:5 c = a+2; end disp(c) What appears on the screen? a) 4 b) 5 c) 7 d) 9 e) Undefined function or variable 'c' Problem 4 (12 points) The following MATLAB code is executed twice for two different set of inputs. For each set of inputs for x and y (in parts A and B below), circle the value of z that appears on the screen after the following MATLAB commands are executed: clear x = input(Enter x: y = input(Enter y: ); ); ENGR 12600 Exam 3 April 21, 2009 RECORD ALL ANSWERS ON THE ANSWER SHEET if x<8 | y< 8 if x>=6 z=x+y; elseif x<6 & y>=12 z=x*y; end else z=y-x; end disp(z) A. First, the input x is assigned a value of 10 and the input y is assigned a value of 5. On your answer sheet, circle what would appear on the screen for the value of z. a) 5 b) 10 c) 15 d) 50 e) Undefined function or variable 'z' B. The commands are run a second time with the input x assigned a value of 5 and the input y assigned a value of 10. On your answer sheet, circle what would appear on the screen for the value of z. a) 5 b) 10 c) 15 d) 50 e) function Undefined or variable 'z' Problem 5 (6 points) The following MATLAB code is executed. What appears on the screen? a=0 b=0 c=0 for a = 5:2:8 for b = 1:2 c = a-b; end end disp([a b c]) Problem 6 (6 points) The following MATLAB code is executed. x=2; y=4; z=20; while z <= 10 z=0; x=x+1; y=y+1; z=x+y; ENGR 12600 Exam 3 April 21, 2009 RECORD ALL ANSWERS ON THE ANSWER SHEET end disp(z) On your answer sheet, circle what would appear on the screen for the value of z. a) 8 b) 10 c) 12 d) 20 e) Undefined function or variable 'z' Problem 7 (15 points) A user-defined function called test_unitcircle has been written to test the trig identity: The function as shown below has errors. 1 2 function [TorF] = test_unitcircle(angle) % test_unitcircle Tests the trig identity sin^2(a) + cos^2(a) = 1 % INPUT % angle = angle in degrees % OUTPUT % TorF = 1 (true) if trig identity is verified or % 0 (false) if trig identify is not verified 3 4 5 6 7 8 9 sincos = sin^2(alpha) + cos^2(alpha) 10 test_unitcircle = (sincos = 1) Identify FIVE (5) mistakes in the code using the table on the answer sheet. Clearly indicate the line number of the mistake, describe the mistake and how it could be fixed. Each mistake counts as one, even if there are multiple mistakes on the same line. Mistakes of a similar type may only be counted once. Line Numbe r What is the error? How can the error be fixed? Problem 8 (6 points) Data is taken during a test that recorded displacement as a function of angular rotation. The phenomena that was measured is plotted below and can be modeled by the equation Where y is the displacement in centimeters and (theta) is the rotational angle in radians. Write the MATLAB code that will 1) Plot the function shown above for angles between 0 and 6 radians ENGR 12600 Exam 3 April 21, 2009 RECORD ALL ANSWERS ON THE ANSWER SHEET 2) Display the value of the minimum displacement between 0 and 6 radians using an fprintf command You do NOT have to add comment statements nor recreate the problem template. Comment statements may be added to clarify your steps but no points will be deducted for not including comments statements. Problem 9 (30 points) Write a MATLAB user-defined function to compute the exponential function directly from the Taylor series: The series should not end until the last term is less than 10-6. The function should output: the computed value of using the Taylor series, the number of terms used in the Taylor series computation, and the absolute difference between the Taylor series computed value of and the value returned by MATLABs built-in exponential function. Term Last Term Taylor Series Value for Value for 1 1 1 2 1 2 3 0.5 2.5 4 0.16666667 2.66666667 5 0.04166667 2.70833333 6 0.00833333 2.71666667 7 0.00138889 2.71805556 8 0.00019841 2.71825397 9 0.00002480 2.71827877 10 0.00000276 2.71828152 11 0.00000028 2.71828180 MATLAB Built-in value for = 2.71828182 Take for example as shown in the table on the right. Eleven (11) terms are used in the Taylor series computation, the computed Taylor series value is 2.71828180, and the absolute difference between this value and the MATLAB computed value is 2.7131 x 10-8. ENGR 12600 Exam 3 April 21, 2009 RECORD ALL ANSWERS ON THE ANSWER SHEET Your code should contain proper commenting for a user-defined function. Problem 10 (7 points) Using the variable time, demonstrate how to use your user-defined function to compute the exponential using the Taylor series. Write the code you would need to enter at the MATLAB command window to generate all required outputs. >> time = 3 >> __________________________________________________________________________
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Purdue - ENGR - 126
ENGR 12600 Spring 2009Laboratory 1Task 1Task 1MATLAB Variables(Estimated Time: 10 minutes)This task will familiarize you with variable assignment in MATLAB.1. Solving engineering problems with MATLAB will require values to be assigned to variablen
Purdue - ENGR - 126
ENGR 12600 Spring 2009Laboratory 1Task 1Task 1MATLAB Variables(Estimated Time: 10 minutes)This task will familiarize you with variable assignment in MATLAB.1. Solving engineering problems with MATLAB will require values to be assigned to variablen
Purdue - ENGR - 126
ENGR 12600 Spring 2009Laboratory 3Task 1Task 1 Data Measurements(Estimated Time = 15-20 minutes)In this task, each team member will learn how to use calipers to measure a length and width.1. Use Use dial calipers to measure the length (long dimensio
Purdue - ENGR - 126
ENGR 126 Spring 2009Laboratory 4MEA 1 - AModel-Eliciting Activity (MEA) 1 - Part APurdue Paper Plane Challenge - - Individual Activity1.Individually read the statement below.PurduePaperPlaneChallengeThis coming year, Purdue University will hold it
Purdue - ENGR - 126
ENGR 12600 Spring 2009Laboratory 8MEA 2AModel-Eliciting Activity (MEA) 2 - Part AJust-In-Time Manufacturing - Individual Activity1. Individually read the company profile and CEO request below.Company Profile D. Dalton TechnologiesThe Bowman and Cer
Purdue - ENGR - 126
TranslationtableMoore1steditionpagenumberstoMoore2ndeditionpagenumbersENGR12600Spring2009(AP)WeeksassignmentTopic1stEdition2ndEditionWeek1StartinginMATLABCh2917Ch2918UsingvariablesCh21819Ch21819HelpfeatureCh35759Ch35961Week2MatricesCh220
Purdue - IE - 370
Chapter 02:Properties of Materials2.1 IntroductionSuccessful products begin with the appropriate materials Materials rarely come in the right shape, size, and quantityfor use Parts and components are produced by subjectingengineering materials to o
Purdue - IE - 370
9/2/2011Chapter 04:Equilibrium Phase Diagramsand the Iron-Carbon SystemAlloysAn alloy = a mixture or compound of two ormore elements, at least one of which ismetallicTwo main categories:1.2.Solid solutionsIntermediate phasesSolid SolutionsAn
Purdue - IE - 370
Chapter 11:Fundamentals of Casting11.1 IntroductionProducts go through a series of processes beforethey are producedDesignMaterial selectionProcess selectionManufactureInspection and evaluationFeedbackMaterials processing is the science and tec
Purdue - IE - 370
10/3/2010Chapter 14:Fabrication of Plastics,Ceramics, and Composites14.1 IntroductionPlastics, ceramics, and composites havedifferent structure and properties than metalsPrinciples of material selection andmanufacturing are differentLarge, comple
Purdue - IE - 370
Homework 1 Due Jan 20.Problems1. What role does manufacturing play relative to the standard of living of a country?2. Give examples of a job shop, flow shop, and project shop.3. How does a manufacturing system differ from a manufacturing process?4. W
Purdue - IE - 370
Homework 2.1. Take a cubic piece of metal with a side length lo and deform it plastically to the shape of arectangular parallelepiped of dimensions l1, l2, and l3. Assuming that the material is rigid andperfectly plastic, show that volume constancy req
Purdue - IE - 370
IE370 Homework 3Due Name1. What is a stoichiometric intermetallic compound, and how would it appear in atemperature-composition phase diagram? How would a nonstoichiometric intermetalliccompound appear? (2)2. Describe the relative ability of iron to
Purdue - IE - 370
Homework 4 (due Feb. 22th )1. Describe the four basic families of shape production processes.2. Describe the six steps of metal casting.3. Describe the difference between expandable mold and permanent mold. What arethey generally made of respectively?
Purdue - IE - 370
IE 370 - Manufacturing Processes I (Spring 2012)Instructor:TA:Professor Gary Cheng - Office Hours: Wed 1130am-130pm or by appointment.Office: GRIS 375 Phone: 494-5436 (Office) E-mail: gjcheng@purdue.eduMr. Yiliang Liao (Leon) &lt;liao10@purdue.edu&gt;Mr.
Purdue - IE - 370
AnIntroductiontoManufacturing1.1Materials,Manufacturing,andtheStandardofLivingNatural environment produces most everything humansneed to survive. However, to attain knowledge, security,convenience, creature comforts and longevity, societyrelies on
Purdue - IE - 370
Purdue - IE - 370
Purdue - IE - 332
IE332 Frequently asked questions1. I was sick and missed class/missed quiz, can I be excused?We are sorry to learn about your health problem and wish you speedy recovery. Indeed, your goodhealth is most important.The purpose of quizzes is your review
Purdue - IE - 332
Welcome to IE 332Computing in IEShimon Y. NofTAs: Sung-Hee Kim, Hye-Sung SeokAdditional lab advisor: Rodrigo ReyesMonday, 1.9.2012AgendaIntroduction Objectives Syllabus (also read on BlackBoard) Q&amp;A Surveys Shared knowledge2IntroductionWhy
Purdue - IE - 332
IT and OrganizationsIE 3321.13.2012Notes: If you do not submit HW#0, other HWs will not begraded. HW#1 posted, due Monday 1/23/12 Read Ch. 2, review TG1No class on Monday, Martin Luther King DayOffice Hours:Tentatively all at GRIS 292M 10:30-11
Purdue - IE - 332
Information Systems II:Concepts and ManagementAgenda1.2.3.4.IE 3321.20.125.Notes on Lab grading + extra creditsReview: (1) Concurrent design/engineeringReview: (2) Information systems types;Competitive advantage (Porter models)Strategies for
Purdue - IE - 332
IE 332 Computing in Industrial EngineeringSpring 2012Homework No. 1Due Date: Monday, January 23, 2012Reading: Chapters 1 and 2; Review: TG 1.(1) Knowledge Questions: Know the answers, but do not submit through BB (BlackBoard.)Your answers will be ba
Purdue - IE - 332
Spring 2012Homework No. 1 GuidelineThis is a solution guide; in certain cases it may not show the complete details, and in certaincases there can be other answers which are also correct.(2) Answer and submit (via BB) your answers to the following ques
Purdue - IE - 332
IE 332 Computing in Industrial EngineeringSpring 2012Homework No. 2Due Date: Friday, February 10, 2012Reading: Chapters 3, 4 (Complete review of TG 1)(1) Knowledge Questions: Know the answers, but do not submit through BB (BlackBoard.)Your answers w
Purdue - IE - 332
.Spring 2012Homework No. 2 GuidelineThis is a solution guide; in certain cases it may not show the complete details, and in certaincases there can be other answers which are also correct. Please note that correct answers do not have to be as long as t
Purdue - IE - 332
IE 332 Computing in Industrial EngineeringSpring 2012Homework No. 3Due Date: Friday, March 2, 2012Reading: Chapters 4, 5.(1) Knowledge Questions: Know the answers, but do not submit through BB (BlackBoard.)Your answers will be based on your reading,
Purdue - IE - 332
IE332 Group Project (GP)Spring 2012Group Project (GP): Learn collaborative management through MERPGroup Project EventDue DateNotesBeginM 1.30.12Posted, discussed inclassTeam coordinator BB-emailNames of team membersUnable to team-up?BB-email,
Rutgers - FINANCE - 250
Financial Planning Online:Loan Request OnlineGo to: http:/www.lendingtree.comThis Web site provides a set of questions that you can answer to specify the type of loanthat you desire. You will then receive up to four loan offers from various financial
Rutgers - FINANCE - 250
Financial Planning Online:Should You Lease or Buy?Go to: http:/www.bloomberg.com/invest/calculators/leasebuy.comThis Web site provides a comparisonof the cost of leasing versus purchasing a car.Student LoansStudent loan: a loan provided to finance
Rutgers - FINANCE - 250
Chapter 14: Investing FundamentalsChapter ObjectivesDescribe the common types of investmentsExplain how to measure the returnon investmentsIdentify the risks of investmentsExplain the tradeoff between the return and risk of investmentsDescribe com
Rutgers - FINANCE - 250
Differing tax rates on returns Interest payments and coupon payments taxed as ordinary income Capital gains from investments held one year or less are taxed as ordinaryincome Capital gains from investments held more than one year are subject to along
Rutgers - FINANCE - 250
Go to: http:/finance.yahoo.comThis Web site provides historical price movements for a stock that you specify. Type inthe symbol for your stock then click on Charts. You can easily monitor the price of astock you already own or may purchase in the futur
Rutgers - FINANCE - 250
Go to: http:/moneycentral.msn.com/investor/calcs/n_life/main.aspThis Web site provides a recommendation for the amount of life insurance you shouldhave based on your financial situationSettlement Options on aLife Insurance PolicySettlement options:
Rutgers - FINANCE - 250
Determining the Amountof Life Insurance NeededBudget method: a method that determines how much life insurance is needed based onthe households future expected expenses Annual living expenses Special future expenses Debt Job marketability of spouse
Rutgers - FINANCE - 250
Chapter 13: Life InsuranceChapter ObjectivesDescribe the types of life insurancethat are availableIdentify the factors that influenceinsurance needsReview the factors that affect lifeinsurance premiumsExamine the decision of whether to purchase l
Rutgers - FINANCE - 250
Decreasing-term insurance: a form of term insurance in which the benefits that will bepaid to the beneficiary are reduced over time and the premium remains constantMortgage life insurance: life insurance that pays off a mortgage in the event of thepol
Rutgers - FINANCE - 250
Definition of disability Most liberal is own occupation definition Most restrictive is any occupation definitionSources of disability income insurance Individual disability insurance Employer disability insurance Insurance from Social Security Inc
Rutgers - FINANCE - 250
Government Health Care PlansMedigap insurance: insurance provided by private insurance companies to cover medicalexpenses that are not covered by Medicare Medicare Prescription Act Passed in 2003 Allows coverage for senior citizens and persons with
Rutgers - FINANCE - 250
Contents of Health CareInsurance PoliciesIdentification of insured personsLocationPreexisting conditionsCancellation optionsDeterminants of unreimbursedmedical expenses DeductibleContents of Health CareInsurance Policies (cont'd) Coinsurance
Rutgers - FINANCE - 250
Private Health Insurance Preferred provider organization (PPO):a health insurance plan that allows individuals to select a health care provider andcovers most of the fees for services Discount on charge arrangement: an arrangementin which the prefer
Rutgers - FINANCE - 250
Chapter 12: Health and DisabilityInsuranceExplain the benefits ofdisability insuranceChapter ObjectivesIdentify and compare the types of private health care plansExplain the use of government health care plansDescribe long-term care insuranceHeal
Rutgers - FINANCE - 250
Financial Planning Online:Purchasing Homeowners InsuranceGo to: http:/www.insurance.com/faqs/homefaqs.aspxThis Web site provides answers to many important questions concerning homeowner insurance.Filing a ClaimContact insurance company immediately if
Rutgers - FINANCE - 250
Types of perils coveredHomeowners insurance structured in six packages, each covering different perils in differentamountsHomeowners InsurancePolicy ProvisionsProperty damageCash-value policy: pays you for the value of the damaged property after con
Rutgers - FINANCE - 250
Auto InsuranceCoverage B: Medical Payments Coverage: insures against the cost of medical care for you andother passengers in your car when you areat fault in an accidentApplies only to insured carAuto InsuranceCoverage C: Uninsured or Underinsured M
Rutgers - FINANCE - 250
Chapter 11: Auto and HomeownersInsuranceChapter ObjectivesExplain the role of risk managementOutline typical provisions ofauto insuranceDescribe financial coverage provided by homeowners insuranceBackground on InsuranceInsurance protects you again
Rutgers - FINANCE - 250
Factors That AffectAuto Insurance PremiumsCharacteristics of your carValue of carRepair record of your carYour personal characteristicsYour ageYour mileageYour driving recordFactors That AffectAuto Insurance Premiums (contd)Your locationYour d
Rutgers - FINANCE - 250
Underwriters: from an insurance perspective, are hired to calculate the risk of specific insurancepolicies, decide what policies to offer, and what premiums to chargeInsurance company credit ratingsand serviceSelect a company that is in goodfinancial
Rutgers - FINANCE - 250
Chapter 10: Purchasing andFinancing a HomeChapter ObjectivesExplain how to select a hometo purchaseExplain how to conduct a valuationof a homeDescribe the transaction costs of purchasing a homeDescribe the characteristics of a fixed-rate mortgage
Rutgers - FINANCE - 250
Chapter 9: Personal LoansChapter ObjectivesProvide a background onpersonal loansOutline the types of interest rates that are charged on personal loansDiscuss car loansExplain how to decide between financing the purchase of a car and leasing a carD
Rutgers - FINANCE - 250
Chapter 7: Assessing and SecuringYour CreditChapter ObjectivesProvide a background on creditDescribe the role of credit bureausProvide a background on identity theftDescribe identity theft tacticsExplain how to avoid identity theftDiscuss how to r
Rutgers - FINANCE - 250
Chapter 6: Managing Your MoneyChapter ObjectivesProvide a background onmoney managementDescribe the most popular money market investmentsIdentify the risk associated with money market investmentsExplain how to manage the risk of your money market i
Rutgers - FINANCE - 250
Chapter 8: Managing Your CreditChapter ObjectivesProvide a background on creditExplain the key characteristicsof credit cards Offer tips on using credit cards Credit CardsAdvantages No need to carry large amounts of cash Free financing as long as
Rutgers - FINANCE - 250
Valuation of a HomeEffects on business activity andzoning laws Business activity nearby increases demand for housing in an area Zoning laws may affect desirabilityObtaining a second opinion onyour valuation Remember that brokers represent sellers!
Rutgers - FINANCE - 250
Characteristics of anAdjustable-Rate MortgageSubprime mortgage crisisMortgage loans to borrowers who do not have sufficient income or down payments toqualify for prime mortgagesAs interest rates increased in 2006, some home buyers could no longer af
Rutgers - FINANCE - 250
Characteristics of a Fixed-RateMortgageEstimating the monthlymortgage paymentSome lenders are now offering 40 and 50 year mortgagesMany mortgage loan Web sites offer mortgage calculators to estimate monthly paymentsbased on a specific mortgage amou
Rutgers - FINANCE - 250
Financial Planning Online:Applying For a MortgageGo to: http:/www.mortgageloan.com/refinance-mortgageThis Web site provides information on refinancing loans and a mortgage calculatorCharacteristics of a Fixed-Rate MortgageFixed-rate mortgage: a mort
Rutgers - FINANCE - 250
How Much Can You Afford? (contd)Criteria used to select a home Price Convenient location Maintenance School system Insurance Taxesusually between 1 and 2 percent of market valueof home Homeowners Association Resale valueconsider real estate com
Rutgers - FINANCE - 250
Financial Planning Online:Car Loan Interest Rate QuotationGo to: http:/www.bankrate.com/auto.aspxThis Web site provides a car loan interest rate quotation based on term of the loan andwhether you wish to purchase a new or used car delineated by city
Rutgers - FINANCE - 250
Exhibit 8.1 How Interest PaymentsAre Influenced by Interest RatesExhibit 8.1 How Interest PaymentsAre Influenced by Interest Rates (contd)Credit Cards (contd)Impact of financing period on credit payments Total amount of interest paid is dependent o
Rutgers - FINANCE - 250
Go to: http:/www.free-financial-advice.net/time-to-pay-debt.htmlThis Web site provides estimatesof the time it will take to pay offyour credit cards utilizing different monthly paymentsCredit Repair KitIf you find yourself with excessive credit car