Massachusetts Institute of Technology

Similar documents
Massachusetts Institute of Technology

Massachusetts Institute of Technology

Massachusetts Institute of Technology. Final Exam Solutions

Massachusetts Institute of Technology. Final Exam Solutions. Solution to Problem 1: Information and Jeopardy (9%)

Massachusetts Institute of Technology. Final Exam Solutions. Solution to Problem 1: Knowin the Nomenclature (9%)

Massachusetts Institute of Technology

ΔU = Q W. Tue Dec 1. Assign 13/14 Friday Final: Fri Dec 11 2:30PM WALTER 145. Thermodynamics 1st Law. 2 nd Law. Heat Engines and Refrigerators

12 The Laws of Thermodynamics

Thermodynamic Systems, States, and Processes

(prev) (top) (next) (Throughout, we will assume the processes involve an ideal gas with constant n.)

Chapter 11 Heat Engines and The Second Law of Thermodynamics

Gechstudentszone.wordpress.com. Chapter 6. Vittal.K

Chapter 12. The Laws of Thermodynamics. First Law of Thermodynamics

Chapter 12 Thermodynamics

Lecture 1: Shannon s Theorem

Physics 101: Lecture 28 Thermodynamics II

Chapter 12. The Laws of Thermodynamics

Class 22 - Second Law of Thermodynamics and Entropy

Physics 101: Lecture 28 Thermodynamics II

Chapter 4 - Second Law of Thermodynamics

Solving with Absolute Value

Physics 121, April 29, The Second Law of Thermodynamics.

Information in Biology

8.044 Lecture Notes Chapter 5: Thermodynamcs, Part 2

Stat Mech: Problems II

1 Ex. 1 Verify that the function H(p 1,..., p n ) = k p k log 2 p k satisfies all 8 axioms on H.

Information in Biology

Lecture Notes Set 4c: Heat engines and the Carnot cycle

Physics Nov Heat and Work

UNIT I INFORMATION THEORY. I k log 2

SECOND LAW OF THERMODYNAMICS

Heat Engines and the Second Law of Thermodynamics

Lecture 2 Entropy and Second Law

Irreversible Processes

Solving Equations by Adding and Subtracting

Irreversible Processes

Minimum Bias Events at ATLAS

Second Law of Thermodynamics

How to please the rulers of NPL-213 the geese

Heat What is heat? Work = 2. PdV 1

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science ALGORITHMS FOR INFERENCE Fall 2014

Chapter 20 The Second Law of Thermodynamics

Physics 202 Homework 5

Lecture Outline Chapter 18. Physics, 4 th Edition James S. Walker. Copyright 2010 Pearson Education, Inc.

Lecture 10: Heat Engines and Reversible Processes

Spring_#7. Thermodynamics. Youngsuk Nam.

Physics 9 Friday, April 1, 2016

The Second Law of Thermodynamics

Basic Thermodynamics. Prof. S. K. Som. Department of Mechanical Engineering. Indian Institute of Technology, Kharagpur.

Handout 12: Thermodynamics. Zeroth law of thermodynamics

Lecture 11: Information theory THURSDAY, FEBRUARY 21, 2019

Physics 9 Friday, November 2, 2018

1.1 The Boolean Bit. Note some important things about information, some of which are illustrated in this example:

Cover Page: Entropy Summary

Physics 101: Lecture 28 Thermodynamics II

Lecture 26. Second law of thermodynamics. Heat engines and refrigerators.

Worksheet for Exploration 21.1: Engine Efficiency W Q H U

October 18, 2011 Carnot cycle - 1

Survey of Thermodynamic Processes and First and Second Laws

Handout 12: Thermodynamics. Zeroth law of thermodynamics

Massachusetts Institute of Technology Physics Department

Basic Thermodynamics Prof. S. K. Som Department of Mechanical Engineering Indian Institute of Technology, Kharagpur

Engineering Thermodynamics. Chapter 5. The Second Law of Thermodynamics

Phys 22: Homework 10 Solutions W A = 5W B Q IN QIN B QOUT A = 2Q OUT 2 QOUT B QIN B A = 3Q IN = QIN B QOUT. e A = W A e B W B A Q IN.

Lecture Notes 2014March 13 on Thermodynamics A. First Law: based upon conservation of energy

(Refer Slide Time: 00:00:43 min) Welcome back in the last few lectures we discussed compression refrigeration systems.

Unified Thermodynamics Quiz 1

Chapter 16 Thermodynamics

w = -nrt hot ln(v 2 /V 1 ) nrt cold ln(v 1 /V 2 )[sincev/v 4 3 = V 1 /V 2 ]

Availability and Irreversibility

Free expansion (Joule); Constant U Forced expansion (Joule-Kelvin); Constant H. Joule-Kelvin coefficient - heating or cooling on JK expansion?

Thermodynamics Problem Set. The amount of heat necessary to raise a body one degree of temperature (K or o C) is called:

MASSACHUSETTS INSTITUTE OF TECHNOLOGY SPRING 2007

Lecture 15. Available Work and Free Energy. Lecture 15, p 1

Bits. Chapter 1. Information can be learned through observation, experiment, or measurement.

DAY 28. Summary of Primary Topics Covered. The 2 nd Law of Thermodynamics

Looking at a two binary digit sum shows what we need to extend addition to multiple binary digits.

Thurs Dec 3. Assign 13/14 Friday Final: Fri Dec 11 2:30PM Walter 145. Thermodynamics 1st Law 2 nd Law Heat Engines and Refrigerators

Chapter 19. Heat Engines

Physics 111. Thursday, Dec. 9, 3-5pm and 7-9pm. Announcements. Thursday, December 9, 2004

Chap. 3 The Second Law. Spontaneous change

Chapter 16 The Second Law of Thermodynamics

Massachusetts Institute of Technology. Problem Set 6 Solutions

THERMODYNAMICS CONCEPTUAL PROBLEMS

Lecture 9. Heat engines. Pre-reading: 20.2

6.02 Fall 2012 Lecture #1

Chapter 20 Second Law of Thermodynamics. Copyright 2009 Pearson Education, Inc.

T-5. Engines and Efficiency

Existing Resources: Supplemental/reference for students with thermodynamics background and interests:

Today. Work, Energy, Power loose ends Temperature Second Law of Thermodynamics

Physics Nov Cooling by Expansion

Not so black. Black Hole Thermodynamics. Nobel Prize 2017: Rainer Weiss, Kip Thorne, and Barry Barish.

Lecture 2.7 Entropy and the Second law of Thermodynamics During last several lectures we have been talking about different thermodynamic processes.


Adiabatic Expansion (DQ = 0)

Entropy and the second law of thermodynamics

11/29/2017 IRREVERSIBLE PROCESSES. UNIT 2 Thermodynamics: Laws of thermodynamics, ideal gases, and kinetic theory

Entropy and the Second Law of Thermodynamics

dt T du T = C V = Nk ln = Nk ln 1 + V ]

Chapter 2: Source coding

Transcription:

Name (1%): Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Department of Mechanical Engineering 6.050J/2.110J Information and Entropy Spring 2006 Issued: May 23, 2006, 9:00 AM Final Exam Due: May 23, 2006, 12:00 AM Note: Please write your name at the top of each page in the space provided. The last page may be removed and used as a reference table for the calculation of logarithms. Problem 1: Who s Who (14%) For each statement, fill in a name from the box that most closely matches. There are no repeated answers. Avogadro adiabatic Boltzmann Boole Carnot intensive Hamming Huffman entropy Joule continuous Kraft Lempel Maxwell Morse Reed Schrödinger Shannon Solomon Welsh Ziv Boltzmann s Constant Jaynes ASCII Bayes GIF discrete Kelvin a. can have units of Joules/Kelvin. b. is a fixed length code. c. The measure of how much two bit strings of equal length differ is named after. d. While an MIT student in the 1940s, invented a famous inequality for his master s thesis. e. was one of three engineers whose name is used for a lossless compression technique for the popular GIF image format. f. The part of the heat-engine cycle without change in entropy is. g. The constant is approximately 1.38 10 23 Joules per Kelvin. h. The military engineer showed that all reversible heat engines have the same efficiency. i. The channel capacity theorem proved by states a possibility, not how to achieve it. j. The algebra of binary numbers is named after the mathematician, who had been a childhood prodigy in Latin, publishing at the age of 12. k. conceived a Demon to show the statistical nature of the Second Law of Thermodynamics. l. promoted the Principle of Maximum Entropy as an unbiased way of assigning probabilities. m. A thermodynamic quantity that is the same for two systems in contact is. n. The energy values of an electron wavefunction in a square well are, not. 1

Final Exam; Name: 2 Problem 2: Under Control (5%) Your company has just purchased a large number of C NOT (controlled-not) logic gates which are really just XOR (exclusive or) gates with an extra output. They have two inputs A and B and two outputs C and D. One output, C, is merely a copy of A, and the other output is B if A = 0 or NOT B if A = 1. In other words, the output D is B possibly run through a NOT gate depending on the input A. Your boss wants you to design all your circuits using only C NOT gates, so the company can save the cost of maintaining different components in its inventory. You wonder about the properties of this gate. You start off by modeling the gate in terms of its transition probabilities, and noting some basic properties. AB CD You know that a gate is reversible if its input can be inferred exactly from its output. Since you know nothing about how the gate might be used, you assume the four possible input combinations are equally probable. 00 01 00 01 a. In the diagram at the right, show the transition probabilities. b. What is the input information in bits? c. What is the output information in bits? d. What is the loss in bits? e. What is the noise in bits? f. What is the mutual information in bits? g. Is this gate reversible (yes or no)? Problem 3: Out of Control (5%) 10 11 10 11 You have concluded that the C NOT gate from Problem 2 will not satisfy your needs, and look around for another. The incoming inspector tells you that some of the gates don t work right, and calls them NOT C NOT gates. They behave like C NOT gates except that they have a defective power supply which keeps the C output from being 1 when D = 1 even though the C NOT logic might call for them both to be 1. This inspector thinks these gates are worthless but asks you want you think. You repeat your analysis for this gate, again assuming the four possible input combinations are equally probable. a. In the diagram at the right, show the transition probabilities. b. What is the input information in bits? c. What is the output information in bits? d. What is the loss in bits? e. What is the noise in bits? f. What is the mutual information in bits? g. Is this gate reversible (yes or no)? AB 00 01 10 11 CD 00 01 10 11

Final Exam; Name: 3 Problem 4: Green Eggs and Hamming (15%) The new MIT campus hotspot, Buzz, has a new breakfast menu with three items: Green Eggs, Pancakes or the Greencake Combo (Green Eggs and Pancakes together). Since this is MIT, customers are required to place their orders in binary strings. a. How long a binary string (in bits) is needed to encode one order? bits: b. Give a suitable code using this number of bits. Green Eggs: Pancakes: Greencake Combo: c. The chef has noticed that several orders have been received incorrectly, because of the high ambient noise level. She wants you to design a new code for the three orders that will allow all orders to be understood even if one of the bits is wrong. From your experience with information and entropy, you realize that what she wants is a code that will allow single-error correction. What is the Hamming distance required between any pair of codewords to achieve this? Minimum Hamming Distance: d. Give a suitable code with this Hamming distance using five bits per order. Green Eggs: Pancakes: Greencake Combo: e. The chef also has to transmit all the orders, in the order they are received, to the stock room. She has a noise-free channel for this purpose, but it is very expensive and she wants to encode the orders in the least number of bits. You recommend a Huffman code because they were invented at MIT. Do you expect the average Huffman code length to be less than, equal to, or more than your answer to part (a)? average bit length is less/equal/more: f. Experience has shown that students order Green Eggs 30% of the time, Pancakes 50% of the time, and the Greencake combo 20% of the time. Give a Huffman code that takes advantage of these probabilities. Green Eggs: Pancakes: Greencake Combo: g. What is the average code length of this code in bits? average length:

Final Exam; Name: 4 Problem 5: The Traveling SailMan (20%) Nothing annoys owners of expensive sailboats more than dirty sails. The SailMan robot solves this problem. Every night it swims from boat to boat, climbs aboard, and cleans the sails. This robot is helped by reconnaissance robots that report the location of boats with dirty sails to a central computer, which then plans the night s activities by solving the Traveling SailMan problem. Because of software limitations, reconnaissance robots can only be deployed in groups of 2 (Small), 4 (Medium), or 8 (Large). Visiting a marina one evening, you noticed the SailMan robot and naturally wondered how many reconnaissance robots were deployed there. You expressed your knowledge in terms of probabilities (call them S, M, and L) that there were 2, 4, or 8 reconnaissance robots. You remembered from the SailMan Annual Report that the average number of reconnaissance robots deployed in a marina was 6. a. With this knowledge, what values of S, M, and L are possible? S min S max M min M max L min L max b. You decided to use the Principle of Maximum Entropy to estimate S, M, L, and the resulting uncertainty U about the number deployed. Express the entropy as a function of a single probability (any one of the three, S, M, or L). Entropy = Before you had a chance to evaluate U, you happened to run into the the Fiscal Officer of SailMan, Inc., who said that when he wrote the Annual Report he wanted readers to think the high-priced configuration of 8 reconnaissance robots was selling better than it really was. He reported the average number of reconnaissance robots (6) correctly but then mentioned the largest value of L that was consistent with this average, without actually saying it was correct (linguists would call this an intended inference ). c. What probabilities S, M, and L did he want readers to infer, and what would be their resulting uncertainty in bits about the number of reconnaissance robots deployed in any one marina? S = M = L = Uncertainty = d. Compare this uncertainty to the value of U which you started to find earlier in this problem. Is this uncertainty Less than U? Equal to U? Greater than U?

Final Exam; Name: 5 Problem 6: Variations on a Theme by Carnot (25%) The ideal (and most efficient) version of a magnetic heat engine operates reversibly in a cycle that can be represented as a rectangle in the T S plane. The same physical device can also be operated reversibly as a refrigerator or as a heat pump to accomplish different goals. This problem asks you to quantify the effectiveness of these three systems in terms of the variables in the diagram below. The entropies and temperatures in the plot and the energies given in the description of each problem are all positive. Figure 1: T S Cycle for a reversible heat engine Heat Engine: The purpose of a heat engine is to convert heat to work. In each cycle a heat engine reversibly extracts Q a Joules of heat from a hot reservoir at temperature T h, dumps a portion Q b Joules of that heat into a cooler environment at temperature T c and converts the remaining energy into (Q a Q b ) Joules of useful work. The cost per cycle is the energy Q a taken from the hot reservoir and the benefit per cycle is the work (Q a Q b ) performed. a. Does a heat engine traverse the rectangle in the above figure clockwise or counterclockwise? CW or CCW? b. Give expressions for the cost, benefit and efficiency of the heat engine in terms of the quantities S 1, S 2, T c, and T h in the figure above. Cost = Q a = Benefit = Q a Q b = Efficiency = Benefit Cost = Qa Q b Q a = Continued on next page...

Final Exam; Name: 6 Refrigerator: The purpose of a refrigerator is to cool something below the temperature of its environment. Though the temperature of the object to be cooled will drop over time, the ideal model represents the cooled object as a constant-temperature object at a temperature T c. In each cycle a refrigerator reversibly extracts Q c Joules of heat from a cold object, ejects a larger quantity Q d Joules of heat into a warmer environment at temperature T h, and requires (Q d Q c ) Joules of work to traverse the cycle. The cost per cycle is the (Q d Q c ) Joules of work that must be performed and the benefit per cycle is the Q c Joules of heat taken from the cold object. c. Does a refrigerator traverse the rectangle in the above figure clockwise or counterclockwise? CW or CCW? d. Give expressions for the cost, benefit and coefficient of performance of the refrigerator in terms of the quantities S 1, S 2, T c, and T h in the figure above. Cost = Q d Q c = Benefit = Q c = Coefficient of Performance = Benefit Cost = Qc Q d Q c = Heat Pump: The purpose of a heat pump is to warm something (e.g., your house) efficiently by making use of heat that is available at a lower temperature (e.g., an underground well on your property.) Though the temperature of your house will rise over time, the ideal model represents it as a constant-temperature reservoir at a temperature T h. In each cycle a heat pump reversibly extracts Q e Joules of heat from a cold reservoir at temperature T c, ejects a larger quantity Q f Joules of heat into a warmer environment and requires (Q f Q e ) Joules of work to traverse the cycle. The cost per cycle is the (Q f Q e ) Joules of work that must be performed and the benefit per cycle is the Q f Joules of heat added to the hot reservoir. e. Does a heat pump traverse the rectangle in the figure above clockwise or counterclockwise? CW or CCW? f. Give expressions for the cost, benefit and coefficient of performance of the heat pump in terms of the quantities S 1, S 2, T c, and T h in the figure above. Cost = Q f Q e = Benefit = Q f = Coefficient of Performance = Benefit Cost = Q f Q f Q e =

Final Exam; Name: 7 Problem 7: Beating the Carnot Engine (15%) Some alumni of 6.050 have established CheapEng Inc. where they develop heat engines based on the single dipole-magnetic field thermodynamic cycle that we have had in the course. They have hired another MIT graduate, Ben, who hasn t taken the course but thinks he knows enough to be able to improve the system. The system can be described as illustrated in figure 1 and has the following parameters: Point a b c d H (A/m) 200 300 150 100 T (K) 200 300 300 200 Table 1: The Parameters of the system S S 2 d c S 1 a b T 1 T 2 T Figure 1: Heat Engine Cycle where T and H, represent the temperature and magnetic field, respectively. a. Find the efficiency of the Carnot engine and show that the following expressions give the energy and entropy of each point j in the equilibrium. Throughout this problem consider the Boltzmann s constant k B = 1 (J/K) and the magnetic dipole moment m = 1 (J m/a). E j = H j tanh H j T j S j = ln(2 cosh H j T j ) H j T j tanh H j T j η =

Final Exam; Name: 8 Point a b e H (A/m) 200 300 300 T (K) 200 300 200 Table 2: The Parameters of the new system. S S a a b S e e T a T b T Figure 2: Ben s proposed cycle for achieving a higher efficiency. Ben realizes that the system gives us positive work during the adiabatic process a b and net positive heat during its isothermal interaction with the reservoir 1, but then in the rest of the process does some unfavorable things like receiving energy from the reservoir 2 in b c and receiving work in reducing H during c d. He thinks that in order to increase the efficiency η = w/q received, he can get around these steps by performing the following irreversible process: he starts the cycle in a and follows the same leg a b. But, while the system is at temperature T 2 after the leg a b, he promptly puts the system again in contact with the first reservoir and lets the system come to equilibrium e. Then, in an isothermal process, he reduces the magnetic field H while system is still in contact with the first reservoir until the system reaches the initial point a. Figure 2 shows Ben s new cycle. Interestingly enough, Ben realizes that this completes the cycle and he does not need to perform any other process. b. Based on the basic rules you have learned, do you think Ben s cycle will give a higher efficiency or not? Explain the reasons you have for your answer. Continued on next page...

Final Exam; Name: 9 c. Find the energy and entropy of the equilibrium points a, b and e. You can use the approximate values presented in the last page. E a =? S a =? E b =? S b =? E e =? S e =? d. Find the work and heat exchanged throughout the cycle. w ab = E b E a =? q be = E e E b =? q be = (S a S e )T a =? w be = E a E e q be =? e. Based on the results of the previous parts, try to justify your answer to part (b). Be as precise as possible in interpreting the above numbers.

Logarithm and Entropy Table This page is provided so that you may rip it off the exam to use as a separate reference table. In Table 3, the entropy S = p log 2 (1/p) + (1 p) log 2 (1/(1 p)). p 1/8 1/5 1/4 3/10 1/3 3/8 2/5 1/2 3/5 5/8 2/3 7/10 3/4 4/5 7/8 log 2 (1/p) 3.00 2.32 2.00 1.74 1.58 1.42 1.32 1.00 0.74 0.68 0.58 0.51 0.42 0.32 0.18 S 0.54 0.72 0.81 0.88 0.92 0.95 0.97 1.00 0.97 0.95 0.92 0.88 0.81 0.72 0.54 Table 3: Table of logarithms in base 2 and entropy in bits tanh(1) 0.75 tanh(1.5) 0.9 ln(2 cosh(1)) 1.15 ln(2 cosh(1.5)) 1.55 10