hw1sol

Course: CS 101, Fall 2009
School: Caltech
Rating:
 
 
 
 
 

Word Count: 665

Document Preview

INSTITUTE CALIFORNIA OF TECHNOLOGY Selected Topics in Computer Science and Economics CS/EC/101b K. Mani Chandy, John Ledyard Winter 2005 1. Homework Set #1 Solutions Issued: 7 Jan 05 Due: 17 Jan 05 2. (a) Let x H and y H be two generic tuples in H. The objective is to prove that for any a 1, we have that z = a x + (1 a) y is a tuple in H. By denition of H this is true i g(z) d. Due to that g is convex...

Register Now

Unformatted Document Excerpt

Coursehero >> California >> Caltech >> CS 101

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.
INSTITUTE CALIFORNIA OF TECHNOLOGY Selected Topics in Computer Science and Economics CS/EC/101b K. Mani Chandy, John Ledyard Winter 2005 1. Homework Set #1 Solutions Issued: 7 Jan 05 Due: 17 Jan 05 2. (a) Let x H and y H be two generic tuples in H. The objective is to prove that for any a 1, we have that z = a x + (1 a) y is a tuple in H. By denition of H this is true i g(z) d. Due to that g is convex by hypothesis, we have that g(z) = g(a x + (1 a) y) a g(x) + (1 a) g(y) Since a 1 then a g(x) + (1 a) g(y) max{g(x), g(y)} d Combining 1 and 2 we can conclude that g(z) d. This ends the proof. (b) Suppose by contradiction that H is not closed. Then there exists y dom(g) such that g(y) > d and a sequence of tuples x1 , x2 , . . . , xn such that xi H limi xi = y Since the function g is convex by hypothesis, then g is also continuous in all domain. Recollect the continuous function theorem for sequences stating: If an is a sequence of real numbers, and if limn an = L, then the limn f (an ) = f (L) if f is a function that is continuous at L and dened at all an . It holds: lim g(xn ) = g( lim xn ) n (1) (2) n (3) Since xi H then limn g(xn ) d. However g(limn xn ) = g(y) > d. Hence, a contradiction has been obtained and consequenly H must be closed. 3. (a) We start showing that the following statement holds: If for all j we have gj (x) bj and gj (x) qj for some xed x, then gj (x) a bj + (1 a) qj for any a 1. Let x = x0 a tuple which veries the hypothesis of the statement. Due to the previous exercise we know that Hj = {x : gj (x) bj } is a convex set. Therefore can we nd v, w Hj such that x0 = a v + (1 a) w for some a < 1, v, w Hj . Due to the assumption that gj is convex, we have that gj (a v + (1 a) w) a gj (v) + (1 a) gj (w) By hypothesis of the statement gj (v) bj and gj (w) qj , thus, we have that a gj (v) + (1 a) gj (w) a bj + (1 a) qj (5) (4) This ends the proof of the statement. It can now be easily concluded that for any a < 1 and for any pair b, q of vectors z(a b + (1 a) q) max{z(b), z(q)} a z(b) + (1 a) z(q) (6) The rst part of inequality 6 follows because every feasible solution for z(b) and z(q) is also a feasible solution for z(a b + (1 a) q) due to the statement. Since a < 1 it is easy to see that also the second part of the inequality holds. Hence, we have proven that z is a concave function. (b) z is in general nonlinear. In order to convince yourself, consider the function z(b), where b = (b1 , b2 ) is two dimensional vector dened as: z(b) = max x2 subje...

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:

Caltech - CS - 171
36Chapter 2.Solution of Linear Algebraic EquationsColeman, T.F., and Van Loan, C. 1988, Handbook for Matrix Computations (Philadelphia: S.I.A.M.). Forsythe, G.E., and Moler, C.B. 1967, Computer Solution of Linear Algebraic Systems (Englewood Cl
Caltech - CS - 177
Discrete Differential Geometry: An Applied IntroductionSIGGRAPH 2006Chapter 3: Curvature Measures for Discrete SurfacesJohn M. Sullivan sullivan@math.tu-berlin.de Institut fr Mathematik, TU Berlin MA 32 u Str. des 17. Juni 136, 10623 BerlinThe
Caltech - CS - 101
CALIFORNIA INSTITUTE OF TECHNOLOGYSelected Topics in Computer Science and Economics CS/EC/101bK. Mani Chandy, John Ledyard Winter 2005 1. (a) Tree for this gameHomework Set #3 Issued: 19 Jan 05 Due: BEFORE CLASS 25 Jan 05rIABCDIII
Caltech - CS - 171
From: Peter Schroeder &lt;ps@cs.caltech.edu&gt;Date: Fri, November 19, 2004 10:10 amTo: &quot;Weiwei Yang&quot; &lt;weiweiy@cs.caltech.edu&gt;Weiwei Yang wrote:&gt;Maybe I had it wrong, but I think it is much much more efficient to just hand &gt;code the inverse f
Caltech - CS - 176
The datasets are in /cs/research/multires/data/cs176/. Please use them from there directly instead of downloading your own copy.
Caltech - CS - 176
Texture SynthesisCS 176 Winter 20091Texture SynthesisGiven a texture, create moreCS 176 Winter 20092All examples from Wei &amp; LevoyTexture SynthesisDon't expect too muchCS 176 Winter 20093Texture SynthesisAnd amazing successesCS 1
Caltech - CS - 176
CS176 Introduction to Computer Graphics ResearchPeter Schrderwith Liliya KharevychCS 176 Winter 20091CS176Basic informationyou may need a CS accountsysadmin.cs.caltech.educlass web pagewww.cs.caltech.edu/courses/cs176 subscribe yourself t
Caltech - CS - 176
Konrad-Zuse-Zentrum fr Informationstechnik Berlin Heilbronner Str. 10, D-10711 Berlin-WilmersdorfDetlev StallingHans-Christian HegeFast and Resolution Independent Line Integral ConvolutionPreprint SC-94-37 (June 1995)Fast and Resolution Ind
Caltech - CS - 176
Non-PhotoRealistic RenderingPeter Schrderand lots of help from NPR group Utah and Adam FinkelsteinCS 176 Winter 20091NPRPhotorealism versus illustrationdepictionCS 176 Winter 20092NPRIllustration principleswhat are the principles?CS
Caltech - CS - 176
Texture Synthesis: Surfaces and RD TexturesCS 176 Winter 20091SurfacesHow to carry to surface?+ =Images from Wei &amp; Levoysurface given as meshsynthesis into textures synthesis onto vertices (fine enough)CS 176 Winter 20092Direct Synthes
Caltech - CS - 176
Homework 4: Discrete RodsYour program should: Read or create a rod model a list of point in order. Assume straight initial configuration. Even if the input is not straight assume that the i = 0. Compute initial edge lengths li from the input. Bar
Caltech - CS - 176
Implicit Surfaces Real function f (x,y,z) Classifies points in space Image synthesis (sometimes)f=0 f&lt;0 f&gt;0Implicit Surfaces(thx to John Hart for some slides) inside f &gt; 0 outside f &lt; 0 on the surface f = 0 CAGD: inside f &lt; 0, outside f
Caltech - CS - 176
CS176, Project 5Part IFor this project you are asked to implement a cloth simulator based on Baraff and Witkin's paper. However, we are going to be using a different expression for the energy than the one mentioned in the paper. In order to make y
Caltech - CS - 176
Interactive Visualization Of 3D-Vector Fields Using Illuminated Stream LinesMalte Z ckler, Detlev Stalling, Hans-Christian Hege o Konrad-Zuse-Zentrum f r Informationstechnik Berlin (ZIB)1 uAbstractA new technique for interactive vector eld visual
Caltech - CS - 176
E = Ee + Et = eE(| |e|)2 e1 + | e 1 | e1 (At At )2 At tTEdge term: Ee = (| |e|)2 eEe 1 e e e = 2(| |e|) e = 2( ) xi | |e| e | |e| e2 Ee 2 2 e e = I (I ) xi xi | e |e| |e| |e| 2 2 e e 2 Ee ) = I + (I xi xj | e |e| |e| |e|Are
Caltech - BI - 170
The Structural Biology ContinuumNext two lectures: Light microscopyMany slides taken from Scott Fraser, Murphy's &quot;Fundamentals of light microscopy,&quot; Alberts' &quot;Molecular Biology of the Cell&quot;, Cox's Optical Imaging Techniques in Cell BiologyTypes
Minnesota - CSCI - 8725
Infectious Disease Database (IDDB): An Aid For Understanding and Detecting Infectious DiseaseLisa Herron-Olson2, Nicholas Bollweg1, Vivek Kapur2 and John Carlis11Department of Computer Science, University of Minnesota, Minneapolis, MN2Biomedic
Caltech - P - 450
doi:10.1016/j.jmb.2008.06.060J. Mol. Biol. (2008) 383, 10691080Available online at www.sciencedirect.comEvolutionary History of a Specialized P450 Propane MonooxygenaseRudi Fasan 1 , Yergalem T. Meharenna 2 , Christopher D. Snow 1 , Thomas L.
Minnesota - NOMOT - 002
Adaptability of a language to globalisation-the influence of written-spoken differencesHiroki Nomoto University of Minnesota nomot002@umn.edu Tomoki Tsuji University of Tsukuba michizousan@hotmail.comIntroductionConfronted by rapid globalisation
Minnesota - KIMX - 0183
Available online at www.sciencedirect.comRDevelopmental Biology 261 (2003) 443 455www.elsevier.com/locate/ydbioZebrafish chaperone protein GP96 is required for otolith formation during ear developmentSaulius Sumanas,a,* Jon D. Larson,a and Mi
Minnesota - CHEM - 4101
Chem 4101 Fall 2008Lecture 18 Oct 13Spectroscopic Analysis1- Raman Spectrometry Introduction 2- Theory of Raman Scattering 3- Instrumentation-Chapter 18Chem 4101 Fall 2008Lecture 18 Oct 13Energy diagram for Raman and Rayleigh Scatt
Minnesota - LIB - 8152
Reflectionv and do not changeEugene Hecht, Optics, Addison-Wesley, Reading, MA, 1998.Law of Specular ReflectionVelocity is constant =&gt; AC = BDBD sin1 = ADAC sin3 = ADADsin 3 = ADsin 13 = 1Angle of Incidence = Angle of ReflectionIngl
Caltech - M - 060103
M060103-00-KAdvanced LIGO UK Project management meeting number 31 Telecon, Jul 20th 2006Stuart Aston, Caroline Cantley, Justin Greenhalgh, Ian Wilmut1 ParticipantsJustin Greenhalgh (chair) Stuart Aston (SMA) Caroline Cantley (CAC) Tim Hayler (T
Caltech - T - 050275
LIGO-T050275-00-RQ-Factor Analysis of Mono-Crystalline Silicon Flex Joints for Advanced LIGOCarl Justin Kamp, Sean Mattingly* Mentor: Riccardo DeSalvo Chalmers University of Technology, Gteborg, Sweden. carl.kamp@chalmers.se *California Institute
Caltech - T - 060198
T060198-00-ZCompilation of LSC 2006 Instrument Science achievements and 2007 plansActivities during 2006, plans for 2007Concatenation of all Instrument Science LSC/Lab reports and MOU plans 14 August 2006 D. Shoemaker, compiler T060198-00-ZAdv
Caltech - T - 080098
LASER INTERFEROMETER GRAVITATIONAL WAVE OBSERVATORYLIGO Laboratory / LIGO Scientific CollaborationLIGOT08009801KAdvanced LIGO UKApril 2008UK Glass masses FDR overview documentKA Strain, R. Jones Distribution of this document: Inform aligo_
Caltech - M - 060103
M06010300KAdvanced LIGO UK Project management meeting number 31 Telecon, Jul 20th 2006Stuart Aston, Caroline Cantley, Justin Greenhalgh, Ian Wilmut1 ParticipantsJustin Greenhalgh (chair) Stuart Aston (SMA) Caroline Cantley (CAC) Tim Hayler (TMH
Caltech - T - 050275
Q-Factor Analysis of Mono-Crystalline Silicon Flex Joints for Advanced LIGOCarl Justin Kamp, Sean Mattingly* Mentor: Riccardo DeSalvo Chalmers University of Technology, Gteborg, Sweden. carl.kamp@chalmers.se *California Institute of Technology, Pas
Caltech - T - 060198
T060198-00-Z Compilation of LSC 2006 Instrument Science achievements and 2007 plansActivities during 2006, plans for 2007Concatenation of all Instrument Science LSC/Lab reports and MOU plans 14 August 2006 D. Shoemaker, compiler T060198-00-ZAdva
Caltech - E - 102
CaliforniaInstituteofTechnology E102EntrepreneurialDevelopment (3,0,6)CreditorP/F CourseSchedule Winter Term 2005Location Thomas 010 Time2:30to4:00 Text:High TechStart Up byJohnNesheim Instructor: Kenneth A.Pickar TA:AmirSadjadpour Office:Thomas101Be
Caltech - E - 105
ME/E105 Product Design Professor Ken Pickar, TA: Jeff Kranski First Term 2006 (3,0,6) Tuesday, Thursday 2:30 to 3:55, New Media Room (Behind Einstein Papers Building on Hill St.) Office: Office hours: E-mail: Phone: Website: Thomas 101 please e-mail
Caltech - BI - 226
Early Canid Domestication: The Farm-Fox ExperimentFoxes bred for tamability in a 40-year experiment exhibit remarkable transformations that suggest an interplay between behavioral genetics and developmentLyudmila N. TrutWLyudmila N. Trut is hea
Caltech - M - 080380
LASER INTERFEROMETER GRAVITATIONAL WAVE OBSERVATORYLIGO Laboratory / LIGO Scientific CollaborationLIGO-M080380-00-MLIGO6 November 2008LIGO Laboratory Diversity Plan (Draft)Fred Raab Distribution of this document: LIGO Science Collaboration
Caltech - M - 080380
LASER INTERFEROMETER GRAVITATIONAL WAVE OBSERVATORYLIGO Laboratory / LIGO Scientific CollaborationLIGO-M080380-00-MLIGO6 November 2008LIGO Laboratory Diversity Plan (Draft)Fred Raab Distribution of this document: LIGO Science Collaboration
Minnesota - ME - 3221
ME 3221 - Spring 2009 Homework Set 2Name: Due February 18, 2009Energy Methods1. A cantilever beam of length l is loaded by a force F applied a distance a from the wall. The beam has a uniform cross section with an area moment of inertia of I. De
Minnesota - ME - 3221
ME 3221 - Spring 2009 Brittle Static FailureName: February 25, 2009Equation for Coulomb-Mohr Theory (4th Quadrant)A B 1 = + n Sut Suc A 0 B 0Equation for Modified Mohr Theory (4th Quadrant)1 n 1 Sut= An= 1 + Suc +Sut A B SucA 0 A
Minnesota - ME - 3221
ME 3221 - Spring 2009 Deformable Body Mechanics: Last Words Stress? At Which Point?February 2, 2009y torque point B: (x, y, z) = (0, r, 0) ax bendtorque point C: (x, y, z) = (0, 0, -r) ax shearpoint A: (x, y, z) = (0, 0, r) ax shear torquel F
Minnesota - ME - 3221
ME 3221 - Spring 2009 Sign Conventions for Internal ForcesAxial forceyTorqueyShear forceyBending momentyyz-planez+Nz +Nxz x+Tz +Txz x+Vy +Vzz x +Mbxz+Mbyz +Mbxzxz-planez yz yz yz yxy-plane+Mbxy+Ny+Vx+T
Minnesota - ME - 3221
ME 3221 - Spring 2009 Discussion Problem Set 2Name: February 3-4, 2009You may use a disk sander that is in the basement of Mechanical Engineering in the &quot;Casting &amp; Welding&quot; lab. Sketches of the sander shaft geometry and assumed loading are provid
Minnesota - ME - 3221
ME 3221 - Spring 2009 Discussion Problem Set 1Name: January 27-28, 20091. Determine the maximum shear stress associated with the stress element illustrated below. Draw a stress element illustrating the complete state of stress at the maximum shea
Minnesota - ME - 3221
ME 3221 - Spring 2009 Homework Set #1Name: Due February 11, 20091. The loads applied to sprockets attached to a chain idler shaft are shown below. The shaft is supported by self-aligning bearings at &quot;B&quot; and &quot;D&quot;. The shaft has a constant diameter
Minnesota - ME - 3221
ME 3221 - Spring 2009 Homework Set 4Name: Due March 4, 2009Static Failure Theories1. Juvinall &amp; Marshek Problem 6.19 (3rd Edition: Prob. 6.13), Parts (b) and (c). (The maximum normal stress theory should never be used in practice.) 2. Determine
Minnesota - ME - 3221
ME 3221 - Spring 2009 Homework Set 3Name: Due February 25, 2009Column Buckling1. Juvinall &amp; Marshek Problem 5.25. (Note: This is Problem 5.27 in J&amp;M 3rd Edition.) 2. A pedal-operated garbage can utilizes a linkage to raise the lid. The lid is at
Minnesota - ME - 3221
ME 3221 - Fall 2009 Deformable Body Mechanics Review HomeworkName: Due February 4, 20091. Juvinall &amp; Marshek Problem 2.32 (this is Problem 2.19 in the 3rd edition). 2. Juvinall &amp; Marshek Problem 2.36 (this is Problem 2.23 in the 3rd edition). Not
Minnesota - ME - 3221
ME 3221 - Spring 2009 Homework Set 5Name: Due March 11, 2009Infinite Life Fatigue, Fully Reversed Stresses1. Compute the load, F , which could be carried by the shaft described in Juvinall &amp; Marshek Prob. 8.30 (Prob. 8.27 in the 3rd Edition) wit
Minnesota - ME - 3221
Minnesota - ME - 3221
Minnesota - ME - 3221
ME 3221 - Spring 2009 Assumptions Behind the Simple Bending ModelTom Chase January 26, 20091. Isotropic &amp; homogeneous material 2. Small deflections 3. Plane sections remain plane 4. Narrow beam 5. Bending moment is applied on one of the principal p
Minnesota - ME - 3221
Minnesota - ME - 3221
Minnesota - ME - 3221
Minnesota - ME - 3221
Minnesota - ME - 3221
Minnesota - DUNL - 0063
MULTI-MALE MATING BY PAIRED AND UNPAIRED FEMALE PRAIRIE VOLES (MICROTUS OCHROGASTER)by JERRY O. WOLFF1) , STEPHEN G. MECH2) , AIMEE S. DUNLAP3) and KAREN E. HODGES4,5) (Department of Biology, Ellington Hall, The University of Memphis, Memphis, TN 38
Minnesota - DUNL - 0063
Behavioural Processes 58 (2002) 105 110 www.elsevier.com/locate/behavprocMulti-male mating, probability of conception, and litter size in the prairie vole (Microtus ochrogaster)Jerry O. Wolff a,*, Aimee S. Dunlap bb a Department of Biology, The U
Caltech - BEM - 103
IRR Some other Alternative Investment RulesPayback Discounted Payback EVAToday's LectureTIPIf you do not understand something,ask me!Return in the Capital MarketDon's Laundromatz Don is thinking of opening a laundromat. Each new machine
Caltech - BEM - 103
Chapter 6 OptionsRoad Map Part A Introduction to finance. Part B Valuation of assets given discount rates. Fixed income securities. Common stocks. Forward and futures. Options.Part C Determination of discount rates. Part D Introduction to cor
Caltech - SS - 213
Caltech - CS - 141
RecapCommunication Methods Naming Location Garbage CollectionDistributed Computation Laboratory http:/www.cs.caltech.edu/~cs141/Clock Synchronization/Logical Clocks 25 February 20021TodayClock Synchronization Logical ClocksDistributed Com
Caltech - CS - 141
TodayLayered Protocols POSIX Sockets Lab 1 RPCDistributed Computation Laboratory http:/www.cs.caltech.edu/~cs141/Layered Protocols/POSIX Sockets/RPC 10 January 20021Communication in Distributed SystemsAlways based on low-level message passi
Idaho - AGECON - 40402
AgEcon 404 Negotiation Skills Homework # 1 25 points Due March 3 Planning to Negotiate For this exercise you need to think about something you want or need in the next couple of months and that will require negotiation to achieve. Examples include