2 Pages

ISE212_HW1A_Answers

Course: ISE 212, Fall 2007
School: Binghamton
Rating:
 
 
 
 
 

Word Count: 398

Document Preview

Computing: ISE212 Engineering MATLAB Spring_2007 Homework #1A Due:Friday 2/16 Use the digital drop-box in blackboard to hand-in your HW to the TA. 1. Write an executable script file (m-file) that takes no input and returns a vector solving the following system of equations using matrix operations. (Determine the values of s, u, p, and w). Also, include the inverse of the left-hand coefficient 4x4 matrix. Use...

Register Now

Unformatted Document Excerpt

Coursehero >> New York >> Binghamton >> ISE 212

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.
Computing: ISE212 Engineering MATLAB Spring_2007 Homework #1A Due:Friday 2/16 Use the digital drop-box in blackboard to hand-in your HW to the TA. 1. Write an executable script file (m-file) that takes no input and returns a vector solving the following system of equations using matrix operations. (Determine the values of s, u, p, and w). Also, include the inverse of the left-hand coefficient 4x4 matrix. Use plenty of comments to annotate your code and include your name in the m-file. (Name your m-file>>> solve.m). 16s + 32u + 33p + 13w = 91 5s + 11u + 10p + 8w = 16 9s + 7u + 6p + 12w = 5 34s + 14u + 15p + w = 43 Ans= % Script file: solve.m % Purpose: To calculate/solve a simultaneous system of equations % Date: 02/07 Programmer: xxxxxxx % Define Variables: % A >>> 4 X 4 matrix of L-hand coefficients % B >>> 4 X 1 vector of R-hand coefficients % X >>> 1 X 4 vector of unknowns A=[16 32 33 13; 5 11 10 8; 9 7 6 12; 34 14 15 1]; B=[91; 16; 5; 43]; disp('The values of s, u, p, and w follow:') X=A\B disp('The inverse of the L-hand coefficient matrix follow:') inv(A) Running the m-file produces the following in MATLAB: The values of s, u, p, and w follow: X= -0.1258 -8.7133 11.2875 -0.0500 The inverse of the L-hand coefficient matrix follows: ans = -0.0177 -0.0023 0.0180 0.0333 -0.3344 1.2352 -0.4695 0.1000 0.3500 -1.1375 0.3875 0.0333 -0.1000 -0.1500 0.1500 -0.0333 2. Manufacturing Cost Analysis: The table below shows the hourly cost of four types of manufacturing processes. It also shows the number of hours required of each process to produce three different products. Use matrices and MATLAB to solve the following: > Determine the cost of each process to produce one unit of product 1. > Determine the cost to make one unit of each product. > Suppose you produce 10 units of product 1, 5 units of product 2, and 7 units of product 3. Provide the total cost for this scenario. Write an executable script file (m-file) that takes no inputs to return your solutions. (Name your m-file: mca.m). Table: Cost and Time Data for Manufacturing Process Hours Required to Produce One Unit Process Hourly Cost $ Product 1 Product 2 Product 3 Lathe 10 6 5 4 Grinding 12 2 3 1 Milling 14 3 2 5 Welding 9 4 0 3 Ans= % Script file: mca.m % Manufacturing Cost Analysis % Date: 2/07 Programmer: XXX hour_cost=[10 12 14 9]; hours_1=[6 2 3 4]; hours_2=[5 3 2 0]; hours_3=[4 1 5 3]; disp('Costs of each of the four processes to produce one unit of product_1:') process_cost_1=hour_cost.*hours_1 disp('Costs to produce one unit of each product:') unit_cost=hour_cost*[hours_1', hours_2', hours_3'] units=[10 5 7]; disp('The total cost to produce 10, 5, and 7 units, respectively') total_cost=units*unit_cost'
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:

Binghamton - ISE - 212
ISE212Homework #1BEngineering Computing: MATLABDue: Monday > 2/26Spring_2007Use the digital drop-box in blackboard to hand-in your HW to the TA. 1. A catenary is a uniform cable, fixed at its two ends, which supports its own weight (See sketc
Binghamton - ISE - 212
ISE212Engineering Computing: MATLABSpring_2007Homework #1C Due: Monday > 3/05 Use the digital drop-box in blackboard to hand-in your HW to the TA. 1. In many engineering applications, it is necessary to have the surface of the metal components
UPenn - BPUB - 250
Chapter 4 Individual and Market DemandFirst, we derive the demand curve for an individual consumer. The quantity of a good demanded varies in response to price changes as we move along an individual's demand curve. The demand curve shifts in respon
UPenn - BPUB - 250
Chapter 3 Consumer BehaviorTheory of Consumer Behavior the explanation of how consumers allocate incomes to the purchase of different goods and services. Section 3.1 Consumer Preferences Market Basket a list with specific quantities of one or mo
UPenn - MATH - 114
13.5 Equations of Lines and Planes Distance from a point to a plane: ax1 by1 cz1 d D a 2 b2 c 2 13.7 Cylindrical and Spherical Coordinates Rectangular ( x, y, z) Cylindrical (r, , z)15.2 Limits and Continuity To see if lim exists: x=0, y=0, x=y et
UNC Wilmington - GRN - 101
Chapter 4 Physical Aging Student Objectives Read 1/22/2008 Be responsible for the information below ( Warning )- Discussion 1/24/2008 1. Define life span and explain how it is different from life expectancy. 2. Describe Strehler's three criteria for
Wesley DE - HIST - 104
Joey Shea October 9, 2007 HI104 DEVIL FAR AWAY IN THE NORTHPosition Paper #1 Dr. Jessica JamesDuring the 1800's there were many envisions on the idea of how the "New South" should be. Two men who had opposite and debating envisions were Tom Watso
S.F. State - URBS - 432
Reece 1 Kurtis Reece URBS 432 Guo 4/3/2008 The New Parkmerced: A Sustainable, Transit-Oriented Development Many students at San Francisco State find Parkmerced to be a very convenient location to live. The two story townhouses have enclosed courtyard
SUNY Fredonia - SPAN - 115
Negatives Trato Hecho Chapter 4A. No is the most common negative. It always precedes the conjugated verb. Ella no mira la televisin. She doesn't watch TV. No te gusta esta novela? Don't you like this novel. B. Other negatives are: Nada nothing, (no
St. John Fisher - AMST - 101
Andy Urtz November 25, 2007 AMST 101 Social Science Methodology Paper There are many different ways to do research. People use videos, books, magazines, newspaper articles, and encyclopedias to gather all the necessary information they need to comple
Western Michigan - PSYCH - 1000
NAME _Matt Mast_ PSY 1000 SPRING 2007 ASSIGNMENT 1 HAND IN PAPER COPY AT THE BEGINNING OF YOUR CLASS ON JANUARY 18. Research Methods For each of the following examples, state whether it is a correlational study or experimental study. 1. Researchers
SUNY Fredonia - SPAN - 115
PRESENT TENSE: E TO IE, AND E TO I VOWEL-CHANGING VERBS CHARTS Chapter 4 E TO IE CHANGING VERBS: Cerrar-to close, shut yo cierro t cierras l cierra empezar (a)-to begin, start Yo empiezo T empiezas l empiezaNosotros cerramos Vosotros cerris Ellos c
Western Michigan - PSYCH - 1000
Name _Matt Mast_ PSY 1000 FALL 2006 ASSIGNMENT 2 HAND IN PAPER COPY AT THE BEGINNING OF YOUR CLASS ON FEBRUARY 6. Sleep Disorders: # 1-31. Name the sleep disorder characterized by a lack of muscle paralysis during REM sleep, which allows the sleepe
SUNY Fredonia - SPAN - 115
PRESENT TENSE: O TO UE VOWEL-CHANGING VERBS CHAPTER 4 Almorzar- to eat lunch (use the ar set of endings, present tense) Yo almuerzo Nosotros almorzamos T almuerzas Vosotros almorzis l almuerza Ellos almuerzan Contar- to count, to tell (a story) Yo cu
Western Michigan - COMM - 3050
Josh Weaver Leadership Chapters 5, 6, 7Reflection: #1 on Page 104 6.3 As my life has evolved, I have also have evolved core values and the mission in life. When I was 4 my core values were playing and my mission was to be a millionaire astronaut, b
UC Davis - NPB - 101
Lecture13 OnlineHandouts: Lec13Notes Review VisualSystem AutonomicNervous System Announcements: Studentsrequiring extended;mefortes;ng mustgetCAFsignedSDC formsbyMonday. MotorControlI Organiza;on Reflex SpinalControl Reading(Recommend
Western Michigan - COMM - 3050
Josh Weaver 1/31/08 Leadership Action Question: Treating leadership as a relationship has ethical implications. How could adding the relationship approach to your leadership make you a better leader? Discuss.As Dr. Northouse explained in class, ano
Western Michigan - COMM - 3050
Josh Weaver 2/14/08 LeadershipReflection Question: Of the three styles of leadership (authoritarian, democratic, and laissez-faire), what style comes easiest for you? Describe how people respond to you when you use this style?If I had the ability
University of Texas - ADV - 318J
ADV 318J - Fall 2007 Ad Selected: Bose SoundDock Portable Print Advertising Evaluation FormName: Tyler Bergin Lab: W61. Using the circulation demographic information provided plus your own analysis of the ad you selected, define the target audien
Kirkwood - PSY - 101
Steve O'Neil Comp 9-10 26 October 2007 Observation Essay Into A Foreign Land The room was dim lit, with the exception of Christmas lights hanging up along the corners of the ceiling. The bass of rap music was thumping in my ear nonstop, and the chatt
St. John Fisher - AMST - 101
Andy Urtz November 27, 2007 AMST 101 "The Numbing of the American Mind" AssignmentAmerica: What's Really Important?As time passes and mass media becomes more prevalent in society, Americans are becoming less sensitive to stories that would normall
S.F. State - COMM - 150
Kurtis Reece Comm 150 Sandoval 4-8-2008 Persuasive Speech: "Intelligent Design Creationism" in education Introduction A. Attention Step: When considering a crime in a court case, would you convict someone if the evidence didn't logically lead to the
Kirkwood - ENG - 101
Steve O'Neil Comp 1-Heal 3 DOS and a DON'T-ANGIER DO- The thing that first impressed me about this essay was the way that the author used her quotes. She did not use too many, or too little, and she always seemed to put them just in the right places.
Kirkwood - PSY - 101
Differences Between Males and Females Steve O'Neil Chivers, Reiger, Latty, and Bailey (2004) experimented with multiple studies questioning the differences in sexual arousal between men and women. The goal was to try to find out as much as possible a
Kirkwood - PSY - 101
Differences Between Males and Females Steve O'Neil Chivers, Reiger, Latty, and Bailey (2004) experimented with multiple studies questioning the differences in sexual arousal between men and women. The goal was to try to find out as much as possible a
SUNY Albany - ACHM - 120
Chapter 2: Atoms, Molecules, and IonsChapter SummarySections 2.1 and 2.2 Atoms are the basic building blocks of matter; they are the smallest units of an element that can combine with other elements. Atoms are composed of even smaller particles, c
Kirkwood - ENG - 101
Steve O'Neil Comp 1 Heal 27 August 2007As a student, other people probably see me as a lazy person. They see a student that has a lot of potential to learn and excel, but just isn't getting the most out of himself. I have been told that all I need
SUNY Albany - ACHM - 120
Chapter 1: Introduction: Matter and MeasurementChapter SummaryIntroduction and Section 1.1 Chemistry is the study of the composition, structure, properties, and changes of matter. The composition of matter relates to the kinds of elements it conta
SUNY Albany - ACHM - 120
Chapter 4: Aqueous Reactions and Solution StoichiometryChapter SummaryIntroduction and Section 4.1 Solutions in which water is the dissolving medium are called aqueous solutions. The component of the solution that is in the greater quantity is the
SUNY Albany - ACHM - 120
Chapter 5: ThermochemistryChapter SummaryIntroduction and Section 5.1 Thermodynamics is the study of energy and its transformations. In this chapter we have focused on thermochemistry, the transformations of energy-especially heat-during chemical
Missouri (Mizzou) - PHYS - 4120
Physics 4120 Spring 2008 Homework #1 Solutions 1)2j j j2j2j2j2 j2j j2j22j jP j j P jj 2j2P jj j2j j P j 2 jjj P jj2jP j j2j2 jP jj2 j22 j j j22)This problem is much easier if you use a spreadsheet ra
Missouri (Mizzou) - PHYS - 4120
Physics 4120 Spring 2008 Homework #3 1) Reif 2.1p p 2mE p 2m E EShaded region is accessible to our particle.2) Reif 2.2 Slice of phase space through position is simple. Slice of phase space through momentum forms a ring, with inner radius p and
University of Texas - HIST - 315L
Tyler Bergin HIS315L Professor Miller 11-28-07 The Rise of Conservatism Modern conservatism in the United States was founded on the beliefs of limited government in domestic, economic, and social affairs and aggressive government in foreign affairs.
Missouri (Mizzou) - PHYS - 4120
Physics 4120 Spring 2008 Homework #5 solutions 1) Reif 3.3 (a)(E)E H2N exp 2 NE H 2N2E 2N E H ln ln ln H 2N 2 N ln E E N 2H 2 At equilibrium (where E is equal to its mean value), E E 2 2 N H N 2H 22= ', soBut from Reif eq. 3.7.12, t
Missouri (Mizzou) - PHYS - 4120
Physics 4120 Spring 2008 Homework #5 solutions 1) Reif 3.3 (a)(E)E H2N exp 2 NE H 2N2E 2N E H ln ln ln H 2N 2 N ln E E N 2H 2 At equilibrium (where E is equal to its mean value), E E 2 2 N H N 2H 22= ', soBut from Reif eq. 3.7.12, t
UCSD - ECON - 1
Econ 1 ELEMENTS OF ECONOMICS 1 Foster, UCSD TOPIC 1 INTRODUCTION TO ECONOMICS A. Terminology 1. Definitions:LECTURE NOTES 17-Apr-08a) What is Economics? 1) Study of production and distribution of goods and services, and of the distribution and
Missouri (Mizzou) - PHYS - 4120
Physics 4120 Spring 2008 Homework #2 Solutions 1) a) If the drunk is back at the lamp post, that means that the number of steps to the right and to the left are the same, and half the total number of steps. So we just evaluate equation 1.2.6 for n1 =
Columbia - HUMA - C1001
Hymn to Demeter - How powerful is Zeus? Pg. 9-10, Zeus never himself approaches Demeter, perhaps because hes afraid that he will not be able to reconcile her in front of the other gods Could Zeus have forced Demeter to stop the famine? It is unlikely
Wisc La Crosse - ENG - 207
Sarah Duchow Multi Cultural Lit. First Formal Essay 27 February 2008"The Happy Medium"My best friend and her family moved to the US when from Jamaica when she was nine. Her father did his best to instill in his children the same sense of pride an
UC Davis - CHEM - 2B
CHEM 2B: BuffersClemensPlease note: for some of these problems I did not include the Ka or Kb value. Use your chart in your textbook to look up these values, if you need them. 1. Calculate the pH of a 0.015M NaHCO3 (you will need to look up the K
Columbia - HUMA - C1001
Olivier Sherman Lit Hum Class Notes and Discussion Points Breaking the text down into pieces Who is Herodotus in favor of? 1. Dan: Greeks vs. non-Greeks, clearly focused on the Greeks, sympathizes with them Hubris: People in power ignore their adviso
UC Davis - CHEM - 2B
CHem 2B: Titrations!Clemens1. Consider the titration of 0.150M pyridine (C5H5N, Kb = 1.5x10-9) with 0.150M HBr. a) What volume of HBr must be added to reach the equivalence point? The midpoint?b) What is the pH before any acid is added?c) Wha
Columbia - HUMA - C1001
Christine Kim Literature Humanities Notes Monday, October 01, 2007 Herodotus, The Histories Background Herodotus "father of history" An attempt to "prevent the traces of human events from being erased by time" (at the beginning of the book) One
UC Davis - CHEM - 2B
NameExam 1 (Page 1 of 12) Last Name _ First Name _ Lab Sec. # _; TA: _; Lab day/time: _Andreas Toupadakis, Ph.D. Fall 2006CHEMISTRY 2CSection A(Circle One) 1. a 2. a 3. a 4. a b b b b b b b b b b b b c c c c c c c c c c c c d d d d d d d d d
USC - PHIL - 140g
Contemporary Moral & Social IssuesJanuary 14, 2008 Some Current Issues in Society: The Use of Water-Boarding (Torture or Interrogation Tactic?) Legalizing Abortion States Implementing the Death Penalty Federal Funding for Stem Cell Research Legaliza
Endicott - HTA - 240
Assignment1Assignment 1Culinary Arts Mr Cronin February 7, 2008Assignment The Culinary arts are usually seen as an art form rather then a business when in a way2business is very much part of the culinary arts. With out business the chefs
UC Davis - CHEM - 2B
NameExam 2 (Page 1 of 11) Last Name _ First Name _ Lab Sec. # _; TA: _; Lab day/time: _Andreas Toupadakis, Ph.D. Fall 2006CHEMISTRY 2CSection AEXAM 2Instructions:CLOSED BOOK EXAM! No books, notes, or additional scrap paper are permitted. A
Penn State - MICRB - 202
MICRB 202 Exam 1 NotesExperiment 1: The Compound Microscope Compound microscope multiple lenses in sequence Bright-field, phase-contrast, fluorescence types of light microscopes Electron microscopes use electron beams instead of light, include
Columbia - HUMA - C1001
Kristin Berry Literature Humanities- Flora Armetta September 17, 2007 Class Notes for Monday, September 17, 2007 Iliad: Books 19-24 Does Achilles grow up? yes He makes amends with Agamemnon He treats Priam with respect Acceptance of mortality He is n
Columbia - HUMA - C1001
Channa Bao Literature Humanities Notes Monday, October 01, 2007 Herodotus is considered the "father of history" a) He attempted to record events as objectively as possible. b) However, he also makes it clear that what he writes is based on what he pe
RPI - PHYSICS - 1200
PHYS-1200 PHYSICS II HOMEWORK #1 SOLUTIONS21.10. a) The forces on Q due to q1 and q2 must be directed opposite to each other if they are to add to zero. Q is between q1 and q2, so q1 and q2 will produce forces on Q that are in opposite directions i
RPI - PHYSICS - 1200
PHYS-1200 PHYSICS II HOMEWORK #2 SOLUTIONS12Q25.03 a) Series. b) Parallel. c) Parallel. Q25.09 Since q = CV, then the larger the capacitance, the larger the charge. When in parallel, Cp = C1 + C2 > C1 or C2. When in series, Cs = C1 C2/(C1 + C2)
Arkansas - SOCI - 301
Drift o Makes delinquency [possible], but does not require it Does not supply irreversible commitment or compulsion Will o Delinquency is not only epiphenomenally "behavior" Is it [action] more specifically, an infraction Rule-breaking behavior co
Columbia - HUMA - C1001
Notes 10-3-2007 Hints that things aren't going to turn out well o P.451 Athenians are going to win When Athenians decided to join Greeks, they riled up all of Greece and defended against invader of country Herodotus sides with Greeks Book centers
Columbia - HUMA - C1001
CLASS NOTES: SEPT 10, 2007Roxanne Unger /Comments from previous class - blameless ambiguous meaning, open to interpretation based on context - Exchange between Glaukus & Diomedes - 119-126 odd; conversing in the middle of battle - exchange possibl
Columbia - HUMA - C1001
9/24 books VII-XVI How do we look at the actions of the Cyclops o On the one hand, OD imposed himself and took his food (similar to suitors.) o On the other hand, one should be hospitable even when imposed upon OD is very arrogant, cant help talking
Columbia - HUMA - C1001
Lecture 7- September 26th Appropriateness of the Ending of the Odyssey Was it necessary o Underworld Scene o Scene with Suitors' family o Scene with Laertes- Does the Audience still side with Odysseus at the end o Kills the servants brutally o Play
Columbia - HUMA - C1001
September 19, 2007 Lit HumThe Hymn to Demeter (continued from last lecture)-How powerful is Zeus? -Zeus never asks Demeter to stop her rage against the mortals. Why not? -He decides to take the alternative route by using Hades to calm Demeter down
Columbia - HUMA - C1001
Lit-Hum Notes 9/17/07`Iliad' Books 19-24Does Achilles Grow Up? Yes: -conversation with Priam. Understanding Priam's pain. (pg. 488 ll. 507-) -Accepts fact that he is going to die (pg. 489 ll. 540-545) -Achilles went beyond Zeus' call of duty and g
Columbia - HUMA - C1001
Literature Humanities Notes 9/10/07, Session 2 Discussion of Books 7-12, with some information from last week Book 6 Glaukos and Diomedes discussion line 119 - two men stopping to speak in the middle of a battle - suggested that longer speech may
Columbia - HUMA - C1001
Literature Humanities September 5, 2007 Flora C. Armetta Melissa Im Goals: Set of skills and tools which we can bring to any reading or works o Approach and analytical tools o Close reading- small portion and look for everything underlying the text,