39 Pages

hw_08

Course: CS 473, Spring 2012
School: University of Illinois,...
Rating:
 
 
 
 
 

Word Count: 535

Document Preview

473: CS Fundamental Algorithms, Spring 2012 Homework 8 (due Tuesday, 23:55:00, April 3, 2012) Collaboration Policy & submission guidelines: See homework 1. Each student individually have to also do quiz 8 online. Version: 1.3 1. (35 pts.) Recomputing correct ow. Given a ow network G with integer capacities you have computed a maximum ow f between s and t. However you have made a mistake in noting the...

Register Now

Unformatted Document Excerpt

Coursehero >> Illinois >> University of Illinois, Urbana Champaign >> CS 473

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.
473: CS Fundamental Algorithms, Spring 2012 Homework 8 (due Tuesday, 23:55:00, April 3, 2012) Collaboration Policy & submission guidelines: See homework 1. Each student individually have to also do quiz 8 online. Version: 1.3 1. (35 pts.) Recomputing correct ow. Given a ow network G with integer capacities you have computed a maximum ow f between s and t. However you have made a mistake in noting the capacity of an edge e. (15 pts) Suppose you under estimated the capacity of e by k > 0 units. Show that you can compute the correct maximum ow in O(km) time using the current ow f . (20 pts) Do the same as above if you over estimated the capacity of e by k > 0 units. Hint: First assume that f is acyclic. How do you reduce ow on e? 2. (35 pts.) Special minimum cuts. Let G = (V, E ) be a ow network with integer edge capacities. We have seen algorithms that compute a minimum s-t cut. For both problems below assume that you only have black box access to an algorithm that given G and nodes s, t outputs a minimum cut between s and t. (15 pts) Given G and s, t describe an algorithm that computes a minimum cut with a minimum number of edges. (20 pts) Given G and s, t describe an algorithm that decides whether G has a unique minimum s-t cut. 3. (30 pts.) Committee Assignment. The Computer Science Department at UIUC has n professors. They handle department duties by taking part in various committees. There are m committees and the j th committee requires kj professors. The head of the department asked each professor to volunteer for set of a committees. Let Si {1, 2, . . . , m} be the set of committees that professor i has volunteered for. A committee assignment consists of sets S1 , S2 , . . . , Sn where Si {1, 2, . . . , m} is the set of committees that professor i will participate in. A valid committee assignment has to satisfy two constraints: (i) for each professor i, Si Si , that is each professor is only given committees that he/she has volunteered for, and (ii) each committee j has kj professors assigned to it, or in other words j occurs in at least kj of the sets S1 , S2 , . . . , Sn . (a) Describe a polynomial time algorithm that the head of the department can employ to check if there is a valid committee assignment given the lists S1 , S2 , . . . , Sn . The algorithm should output a valid assignment if there is one. (b) The head of the department notices that often there is no valid committee assignment because professors naturally are inclined to volunteer for as few committees as possible. To overcome this, the denition of a valid assignment is relaxed as follows. Let be some integer. An assignment S1 , S2 , . . . , Sn is now said to be valid if (i) |Si Si | and (ii) each committee j has kj professors assigned to it. The new condition (i) means that a professor i may be assigned up to committees not on the list Si that he/she 1 volunteered for. Describe an algorithm to check if there is a valid committee assignment with the relaxed denition. (b) is a more general problem than (a) so you can do (b) for full points or (a) only for 15 pts. 2
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:

Rhode Island - BUS - 428
1. Relative to the spot price, the forward price will bea. Usually less than the spot priceb. Usually greater than the spot pricec. Usually equal to the spot priced. Usually less than or greater than the spot price more often it is equal to the spotp
Rhode Island - BUS - 401
Database ManagementProjectGroup 7Steven ParfittKristen PorterDaniel PoissonBUS 401: Accounting Computer SystemsApril 28, 2011
Rhode Island - BUS - 401
Final Exam-Bliss 205 7:00 PM- May 9, 201140 points MC (Advanced SQL chapter 8) Quiz #2 before Exam20 Points Essay Chapter 7o Key Digital Networking Technology Packet Switching TCPIP Client Server Technologyo Components of Networks Chapter 10o
Rhode Island - BUS - 445
Strategic Management for theCapstone Business Simulation andComp-XM :Analysis and AssessmentMichael L. Pettus, Ph.D.4th EditionALL RIGHTS RESERVED. No part of this work covered by the copyright hereon may be reproduced orused in any form or by any
Rhode Island - BUS - 428
4 . T he l ink b etween t he h ome c urrency v arue o f a f irm's a ssetsa nd ligb:ll!-tjgqnL,.luctua[lonsr"and excl]?.ngeate%r s:(a) Asset exposureiI(b) Operating exposure/-6ffi-a;dTh,\*-J4of the above,ftofo"e,/t\Sk6e-'\interest rate
Rhode Island - BUS - 428
III(d) 4 .00%p .a.9. Some commodities lgygl_]gllgtinto rnternallonail@.Examples include :(a) Nontrad ables/,/(b) H aircut" W . l(c) H ousing /E$itaofthe bove10. TE-inflaliorraie-r7in Canada is now 4% less than Fbaf-iqJapanpp\purchasins o
Rhode Island - BUS - 428
U SE T HE F OLLOWING I NFORMATIONTIONST O A NS\MER T HE N EXT T HREE Q UES-In the belowtable, Pn is the europrice of the asset eld by the U.S.firm and P is the dollar pricehof the asset.A U.S. firm holdsan assetin Fbance nd faces he followingscena.ri
Rhode Island - BUS - 428
1tExam 2Financial ManagementBUS 428: MultinationalF all' 2 010IName: #yffyLffnu,t &SrrnInstructions:r All questions axe multiple choice questions. There a,reL5 questions in total.o Using a No.2 pencil, chsose the best (or most accurate) answer f
Rhode Island - GEG - 201
1. The first type of city Ruchelman identifies is headquarter cities. Headquarters cities are citiesthat have a high concentration of corporations, banks, and high-level producer service entities.One example of a headquarter city is New York City which
Suffolk - TAX - 879
Kristen Porter1/30/12Tax 879Chapter 3 FPE 6 & Chapter 4 FPE 76.Gross Income: Gross wages & Commissions Earned Income from Limited Partnership Dividend & Interest Income earned Capital LossLess Adjustments to AGI: IRA Contribution Alimony Paid
Suffolk - TAX - 879
Kristen Porter1/23/12Chapter 2 # 8, 128.a.8%: $10,000 X 2.159 = $21,590.005%: $10,000 X 1.620 = $16,290.00b.$25,000 X 5.5690 = $139,225c.$210,000 X 1.629 = $342, 090d.$70,000 X 2.079 = $145,530There will not be enough money to pay for my chil
Rhode Island - BUS - 402
UniversityofRhodeIslandBUS402AdvancedAccounting20102011JosephM.DAdamoCourseOutline#3:EquityInvestmentsof20%to50%OwnershipInterestI.Page1of48EquityInvestmentswithSignificantInfluence(2050%OwnershipInterestinInvestee)INVESTORS%OWNERSHIPINTERESTININVE
Rhode Island - BUS - 402
UniversityofRhodeIslandBUS402AdvancedAccounting20102011JosephM.DAdamoCourseOutline#5:AcquisitionAccountingandConsolidations(100%Ownership)I.Page1of34Acquisitionswith100%OwnershipInterestA.AcquirerandAcquireeContinueasSeparateLegalandFiscalEntities
Rhode Island - BUS - 402
UniversityofRhodeIslandBUS402AdvancedAccounting20102011JosephM.DAdamoCourseOutline#4:EquityInvestmentsofover50%OwnershipI.Page1of46EquityInvestmentswithControl(over50%OwnershipInterestinInvestee)INVESTORS%OWNERSHIPINTERESTININVESTEESCOMMONSTOCK0%
Rhode Island - BUS - 402
UniversityofRhodeIslandBUS402AdvancedAccounting20102011JosephM.DAdamoCourseOutline#8:AccountingandReportingIssuesinvolvingForeignCurrenciesI.Page1of35ForeignCurrencyAccountingA.IssuesAddressed1.IndividualTransactionsinvolvingFixedAmountsofaForei
Rhode Island - BUS - 402
UniversityofRhodeIslandBUS402AdvancedAccounting20102011CourseOutline#7:AcquisitionAccountingandConsolidations(<100%Ownership)JosephM.DAdamoPage1of24FASBASC81010ConsolidationGlossaryNoncontrollingInterestTheportionofequity(netassets)inasubsidiarynot
Rhode Island - BUS - 402
UniversityofRhodeIslandBUS402AdvancedAccounting20102011JosephM.DAdamoCourseOutline#2:EquityInvestmentsofLessthan20%OwnershipInterestI.Page1of31OverviewofInvestmentsEquitySecuritiesFASBASC3201020GlossaryEquitySecurityAnysecurityrepresentinganowner
Rhode Island - BUS - 402
UniversityofRhodeIslandBUS402AdvancedAccounting20102011JosephM.DAdamoCourseOutline#9:AccountingforEmployeeBenefitsI.EmployeeBenefits:BackgroundInformationA.Objectives1.CompensationforServicesusedbyEmployer2.IncentivesMotivateemployeesB.Retai
Rhode Island - BUS - 402
UniversityofRhodeIslandBUS402AdvancedAccounting20102011CourseOutline#1:InvestmentsinDebtSecuritiesI.JosephM.DAdamoPage1of26OverviewofInvestmentsinDebtSecuritiesA.Securities:GeneralDescriptionFASBASC3201020GlossaryandMainGlossarySecurityTheevide
Rhode Island - BUS - 402
UniversityofRhodeIslandBUS402AdvancedAccounting20102011JosephM.DAdamoCourseOutline#6:IntraEntityTransactionsI.Page1of16IntraEntitySalesofInventoryA.NatureandPurposeofTransactions1.VerticallyIntegratedParentSubsidiaryPurchasessalestransactionsbe
Rhode Island - BUS - 402
UniversityofRhodeIslandBUS402AdvancedAccounting20102011JosephM.DAdamoCourseOutline#9:AccountingforEmployeeBenefitsAddendumPage1of4PENSIONTRUSTACCOUNTSFairValueofProjectedBenefitPlanAssetsObligation(PBO)BeginningBalanceActualReturnonPlanAssets
Rhode Island - BUS - 402
AccumulatedOtherFairValueofPlanAssets(FV)ProjectedBenefitObligation(PBO)PensionBenefitLiability(cr.)Asset(dr.)NetPeriodicPensionCostDr.UnamortizedPriorServiceCostCr.UnamortizedGainDr.LossDr.TransitionObligation(TO)BeginningBalanceCr.Underfun
Rhode Island - BUS - 402
DeferredTaxEffectsofEquityMethodItems:(ExercisebeginningonPage18)InvestmentinLawsonCorp.(40%)GAAPF/S1/22011OriginalCost12/312011EquityinNetEarnings12/312011InvestmentinLawsonCorp.TAXRETURNEquityinOCI1/2201120,800,00020,800,00019,200,000
Rhode Island - BUS - 402
CostMethodfollowedbyMarktoMarketforAvailableforSaleSecurity:HistoricCostFairValueFairValue$340,000$510,000$820,0001/22010UnrealizedGain$170,000inOCI12/31201012/3112/312011UnrealizedGain$310,000inOCIReverse2012DividendRevenue$50,0005%X$1,
Rhode Island - BUS - 402
OnNovember18,2011,ColbertAmeriConeInc.purchased15,000shares(lessthan1%interest)ofthe commonstockofMorimotoIronWorksInc.at$28.20pershareandincurreda$300brokersfee.11/18 EquityTradingSecuritiesCash423,300423,30011/18 AvailableforSaleEquitySecurities 4
Rhode Island - BUS - 445
Exam 1BUS 428: Multinational Financial ManagementSpring, 2012Name:Instructions: All questions are multiple choice questions. There are 15 questions in total. Using a No.2 pencil, choose the best (or most accurate) answer for each question. When you
Rhode Island - BUS - 445
Multinational Financial ManagementSpring, 2012Sample Mid term 11. In conversation, Interbank FX trades use a shorthand abbreviation in expressing spotcurrency quotations. Consider a $/ bid-ask quote of $1.9072-$1.9077. The big gure,assumed to be know
Rhode Island - BUS - 445
Exam 2BUS 428: Multinational Financial ManagementSpring, 2012Name: All questions are multiple choice questions. There are 15 questions in total. Using a No.2 pencil, choose the best (or most accurate) answer for each question. When you need to chang
Rhode Island - BUS - 445
Multinational Financial ManagementSpring, 2012Sample Mid term 21. When Interest Rate Parity (IRP) does not hold(a) there is usually a high degree of ination in at least one country(b) the nancial markets are in equilibrium(c) there are opportunities
Suffolk - TAX - 802
SOLUTIONS TO PROBLEM MATERIALS10-3a.b.c.10-12The treatment of shareholder advances that become worthless is an extremely important topic because of therestrictions that may be imposed on the taxpayers deduction (e.g., at worst, the taxpayers deduct
Suffolk - TAX - 802
Solutions to Problem Materials1SOLUTIONS TO PROBLEM MATERIALS11-27a.Prescription medicine and drugsHospitalization insuranceDoctors and dentistsLess 7.5% of $20,000 (A.G.I.)Medical expense deductionb.c.11-31$ 3006001,100$2,000(1,500)$ 50
Suffolk - TAX - 802
SOLUTIONS TO PROBLEM MATERIALS9-18Section 1016 requires that the basis of property be adjusted to reflect allowed or allowable depreciation. Although R has notclaimed any depreciation on the property, she must reduce the basis by the amount allowable,
Hashemite University - ENGINEERIN - 110400101
1- , )( , , , , , , .2- , - , , , .3-
Suffolk - TAX - 802
Solutions to Problem Materials 1CH. 12 - SOLUTIONS TO PROBLEM MATERIALS12-11Taxpayers are required to treat one or more trade or business activities or one or morerental activities as a single activity if the activities constitute an appropriate econo
Hashemite University - ENGINEERIN - 110400101
:- : , . :-Conduction1. Convective2. Radiation3. ( ( Boiler ) (Radiator
Suffolk - TAX - 802
1Chapter 9CAPITAL RECOVERY:DEPRECIATION,AMORTIZATION,AND DEPLETIONLECTURE OUTLINEI.Introduction.A.Concept of capital recovery.1.2.B.Cost allocation methods.1.2.3.II.Income doesnt occur until taxpayer recovers cost of producing income.Ex
Hashemite University - ENGINEERIN - 110400101
, ,
Suffolk - TAX - 802
1Chapter 10CERTAIN BUSINESSDEDUCTIONSAND LOSSESLECTURE OUTLINEI.Introduction.A.This chapter examines specific provisions governing certain deductions and losses common to businesses.B.Topics considered:1.2.3.4.II.Losses in general.A.Gene
Hashemite University - ENGINEERIN - 110400101
1- , )( , , , , , , .2- , - , , , .3-
Hashemite University - ENGINEERIN - 110400101
, ,
Suffolk - TAX - 802
1Chapter 11ITEMIZED DEDUCTIONSLECTURE OUTLINEI.Introduction.A.Deductions allowed for certain investment expenses and personal expenditures are referred to as itemized deductions.B.Generally, itemized deductions are claimed only if they exceed the
Hashemite University - ENGINEERIN - 110400101
: :1- .2- .3- .4 - .5- . .6- .7-
Suffolk - TAX - 802
1Chapter12DEDUCTIONSFORCERTAININVESTMENTEXPENSESANDLOSSESLECTUREOUTLINEI.At-risk rulesA. General rules1. Taxpayers are entitled to deduct losses only to the extent they are at-riska. Unused losses are suspended until the taxpayer has increased the
Hashemite University - ENGINEERIN - 110400101
: :1- 2- 3- conductivityconvectionradiation ) (boiler ) (radiator
Hashemite University - ENGINEERIN - 110400101
1. :Boller2.Barner1. 3. Collector4. Rachitic 5. Cylinder 6. Expansion tank7. .Other secondary parts. :1. 2. 3. 4. :.
Hashemite University - ENGINEERIN - 110400101
: :1. ).( Lab Coat2. .3. .4. .5. , .6. . : :
Hashemite University - ENGINEERIN - 110400101
: :1- .2- .3- .4 - .5- . .6- .7-
Hashemite University - ENGINEERIN - 110400101
: :1- 2- 3- conductivityconvectionradiation ) (boiler ) (radiator
Hashemite University - ENGINEERIN - 110400101
: , .
Hashemite University - ENGINEERIN - 110400101
: :1. .2. :.Boiler.Burner.Collector.Radiator. (ExpansionTank(Extension. .3. :. .. .. .. " . :
Hashemite University - ENGINEERIN - 110400101
, ,
Hashemite University - ENGINEERIN - 110400101
: , : : 09 /54: : : T : )( : ,
Hashemite University - ENGINEERIN - 110400101
) )2 : 254016002: . : : - 1 :), -2 -3 -4 -5 -6: : -1
Hashemite University - ENGINEERIN - 110400101
:-123456789011121 . . . :- :-1- .2-3- .
Hashemite University - ENGINEERIN - 110400101
# :) (: . . .* .1
Hashemite University - ENGINEERIN - 110400101
)1( : )1( :1-2-3-4-5-6-7-8- . .
Hashemite University - ENGINEERIN - 110400101
:- . . . . . . :- . )
Hashemite University - ENGINEERIN - 110400101
2 )( : 0 2 3 4 1 601 : : : 1. .2. .3.
Hashemite University - ENGINEERIN - 110400101
)2( : : : 39241601 : / 21-01 : 1. .2.
Hashemite University - ENGINEERIN - 110400101
. . ).(c
Hashemite University - ENGINEERIN - 110400101
CASTING . A CASTING . PATTERNS . :- : .