18 Pages

final2008f-solution

Course: INFORMATIC Inf, Spring 2009
School: Politecnico di Milano
Rating:
 
 
 
 
 

Word Count: 3574

Document Preview

Learning Machine (10-701) Fall 2008 Final Exam Professor: Eric Xing Date: December 8, 2008 . There are 9 questions in this exam (18 pages including this cover sheet) . Questions are not equally difficult. . This exam is open to book and notes. Computers, PDAs, Cell phones are not allowed. . You have three hours. . Good luck! 1 1 Assorted Questions [20 points] 1. (True or False, 2 pts) PCA and Spectral...

Register Now

Unformatted Document Excerpt

Coursehero >> Other International >> Politecnico di Milano >> INFORMATIC Inf

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.
Learning Machine (10-701) Fall 2008 Final Exam Professor: Eric Xing Date: December 8, 2008 . There are 9 questions in this exam (18 pages including this cover sheet) . Questions are not equally difficult. . This exam is open to book and notes. Computers, PDAs, Cell phones are not allowed. . You have three hours. . Good luck! 1 1 Assorted Questions [20 points] 1. (True or False, 2 pts) PCA and Spectral Clustering (such as Andrew Ng's) perform eigendecomposition on two different matrices. However, the size of these two matrices are the same. Solutions: F 2. (True or False, 2 pts) The dimensionality of the feature map generated by polynomial kernel (e.g., K(x, y) = (1 + x y)d )is polynomial wrt the power d of the polynomial kernel. Solutions: T 3. (True or False, 2 pts) Since classification is a special case of regression, logistic regression is a special case of linear regression. Solutions: F 4. (True or False, 2 pts) For any two variables x and y having joint distribution p(x, y), we always have H[x, y] H[x] + H[y] where H is entropy function. Solutions: F 5. (True or False, 2 pts) The Markov Blanket of a node x in a graph with vertex set X is the smallest set Z such that x X/{Z x}|Z Solutions: T 6. (True or False, 2 pts) For some directed graphs, moralization decreases the number of edges present in the graph. Solutions: F 7. (True or False, 2 pts) The L2 penalty in a ridge regression is equivalent to a Laplace prior on the weights. Solutions: F 8. (True or False, 2 pts) There is at least one set of 4 points in 3 that can be shattered by 2 the hypothesis set of all 2D planes in 3 . Solutions: T 9. (True or False, 2 pts) The log-likelihood of the data will always increase through successive iterations of the expectation maximation algorithm. Solutions: F 10. (True or False, 2 pts) One disadvantage of Q-learning is that it can only be used when the learner has prior knowledge of how its actions affect its environment. Solutions: F 3 2 Support Vector Machine(SVM) [10 pts] 1. Properties of Kernel 1.1. (2 pts) Prove that the kernel K(x1 , x2 ) is symmetric, where xi and xj are the feature vectors for ith and j th examples. hints: Your proof will not be longer than 2 or 3 lines. Solutions: Let (x1 ) and (x2 ) be the feature maps for xi and xj , respectively. Then, we have K(x1 , x2 ) = (x1 ) (x2 ) = (x2 ) (x1 ) = K(x2 , x1 ) 1.2. (4 pts) Given n training examples (xi , xj )(i, j = 1, ..., n), the kernel matrix A is an n n square matrix, where A(i, j) = K(xi , xj ). Prove that the kernel matrix A is semi-positive definite. hints: (1) Remember that an n n matrix A is semi-positive definite iff. for any n dimensional vector f , we have f Af 0. (2) For simplicity, you can prove this statement just for the following particular kernel function: K(xi , xj ) = (1 + xi xj )2 . Solutions: Let (xi ) be the feature map for the ith example and define the matrix B = [(x1 ), ..., (xn )]. It is easy to verify that A = B B. Then, we have f Af = (Bf ) Bf = Bf 2 0 2. Soft-Margin Linear SVM. Given the following dataset in 1-d space (Figure 1), which consists of 4 positive data points {0, 1, 2, 3} and 3 negative data points {-3, -2, -1}. Suppose that we want to learn a soft-margin linear SVM for this data set. Remember that the softmargin linear SVM can be formalized as the following constrained quadratic optimization problem. In this formulation, C is the regularization parameter, which balances the size of margin (i.e., smaller wt w) vs. the violation of the margin (i.e., smaller m i ). i=1 m argmin{w,b} 1 t w w+C 2 i i=1 Subject to :yi (wt xi + b) 1 - i i 0 i Figure 1: Dataset 4 2.1 (2 pts) if C = 0, which means that we only care the size of the margin, how many support vectors do we have? Solutions: 7 2.2 (2 pts) if C , which means that we only care the violation of the margin, how many support vectors do we have? Solutions: 2 5 3 Principle Component Analysis (PCA) [10 pts] 1.1 (3 pts) Basic PCA Given 3 data points in 2-d space, (1, 1), (2, 2) and (3, 3), (a) (1 pt) what is the first principle component? Solutions: pc = (1/ 2, 1/ 2) = (0.707, 0.707) , (the negation is also correct) (b) (1 pt) If we want to project the original data points into 1-d space by principle component you choose, what is the variance of the projected data? Solutions: 4/3 = 1.33 (c) (1 pt) For the projected data in (b), now if we represent them in the original 2-d space, what is the reconstruction error? Solutions: 0 1.2 (7 pts) PCA and SVD Given 6 data points in 5-d space, (1, 1, 1, 0, 0), (-3, -3, -3, 0, 0), (2, 2, 2, 0, 0), (0, 0, 0, -1, -1), (0, 0, 0, 2, 2), (0, 0, 0, -1, -1). We can represent these data points by a 6 5 matrix X, where each row corresponds to a data point: 1 1 1 0 0 -3 -3 -3 0 0 2 2 2 0 0 X= 0 0 -1 -1 0 0 0 0 2 2 0 0 0 -1 -1 (a) (1 pt) What is the sample mean of the data set? Solutions: [0, 0, 0, 0, 0] (b) (3 pts) What is SVD of the data matrix X you choose? hints: The SVD for this matrix must take the following form, where a, b, c, d, 1 , 2 are the parameters you need to decide. a 0 -3a 0 2a 0 1 0 c c c 0 0 X= 0 2 0 0 0 d d 0 b 0 -2b 0 b 6 Solutions: a = 1/ 14 = 0.267, b = 1/ = 0.408, 1 = 1/(a c) = 42 = 6.48, = 1/(b d) = 12 = 3.46, 2 c = 1/ 3 = 0.577,d = 1/ 2 = 0.707. 6 (c) (1 pt) What is first principle component for the original data points? Solutions: pc=[c, c, c, 0, 0] = [0.577, 0.577, 0.577, 0, 0] (Intuition: First, we want to notice that the first three data points are co-linear, and so do the last three data points. And also the first three data points are orthogonal to the rest three data points. Then, we want notice that the norm of the first three are much bigger than the last three, therefor, the first pc has the same direction as the first three data points) (d) (1 pt) If we want to project the original data points into 1-d space by principle component you choose, what is the variance of the projected data? 2 Solutions: var=1 /6 = 7 (Intuition: we just the keep the first three data points, and set the rest three data points as [0, 0, 0, 0, 0] (since they are orthogonal to pc), and then compute the variance among them) (e) (1 pt) For the projected data in (d), now if we represent them in the original 5-d space, what is the reconstruction error? 2 Solutions: var=2 /6 = 21 (Intuition, since the first three data points are orthogonal with the rest three, here the rerr is the just the sum of the norm of the last three data points (2+8+2=12), and then divided by the total number (6) of data points, if we use average definition 2 if you give an answer var=2 = 12, that is also correct. In this case, the reconstruction error is just the sum (not average) among all the data points, which is the definition used in Carlos' lecture notes. But in Bishop's book, he uses the average definition. 1 7 4 Linear Regression [12 Points] 1=0.5333 0=0.6000 3 3 2.5 2.5 1=0.5000 0=0.0000 2 2 y 1.5 y 0 0.5 1 1.5 2 2.5 3 1.5 1 1 0.5 0.5 0 0 0 0.5 1 1.5 2 2.5 3 A) 3 x 1=0.5000 0=0.8333 B) 3 x 1=0.3944 0=0.3521 2.5 2.5 2 2 y 1.5 y 0 0.5 1 1.5 2 2.5 3 1.5 1 1 0.5 0.5 0 0 0 0.5 1 1.5 2 2.5 3 C) x D) x Figure 2: Plots of linear regression results with various regularization Background: In this problem we are working on linear regression with regularization on points in a 2-D space. Figure 2 plots linear regression results on the basis of three data points, (0,1), (1,1) and (2,2), with different regularization penalties. As we all know, solving a linear regression problem is about to solve a minimization problem. That is to compute n arg min 0 ,1 i=1 (yi - 1 xi - 0 )2 + R(0 , 1 ) where R represents a regularization penalty which could be L-1 or L-2. In this problem, n = 3, (x1 , y1 ) = (0, 1), (x2 , y2 ) = (1, 1), and (x3 , y3 ) = (2, 2). R(0 , 1 ) could either be (|1 | + |0 |) or 2 2 (1 + 0 ). However, in stead of computing the derivatives to get a minimum value, we could adopt a geometric method. In this way, rather than letting the square error term and the regularization penalty term vary simultaneously as a function of 0 and 1 , we can fix one and only let the other vary at a time. Having a upper-bound, r, on the penalty, we can replace R(0 , 1 ) by r, and solve a minimization 8 1 0.8 0.6 0.4 0.2 10 1.2 5 2. 6 3 1.4 1.2 1 2 4. 1 0.3 2 0.3 0.2 0. 0.8 0.6 0.4 0.2 10 0.5 0. 5 1 2 2. 3 4 4 0.2 0.2 1.4 5 0.5 4. 2.6 2 .5 2 1 1 3 1 0 -0.2 -0.4 -0.6 -0.8 -1 -1 35 3 1.4 1 0.5 1.4 1.2 2.6 3 4 2.2 2. 5 0.5 4 2.2 0 -0.2 -0.4 10 0.5 4 5 10 2. 5 1 4.2 1.4 10 3 10 5 -0.6 -0.8 4 5 2. 10 3 4.2 4 -0.5 (a) 0 0.5 1 -1 -1 35 10 -0.5 0 (b) 0 0.5 1 0 Figure 3: Contour plots of the decomposition for the linear regression problem with (a) L-2 regularization or (b) L-1 regularization where the ellipsis correspond to the square error term, and circles/squares correspond to the regularization penalty term. problem on the square error term for any non-negative value of r. Finally, we get the minimum value by enumerating over all possible value of r. That is, n 0 ,1 n min i=1 (yi - 1 xi - 0 ) + R(0 , 1 ) = min min r0 0 ,1 2 i=1 (yi - 1 xi - 0 )2 | R(0 , 1 ) r +r . The value of (0 , 1 ) corresponding to the minimum value of the object function can be got at the same time. In Figure 3, we plot the square error term, n (yi - 1 xi - 0 )2 , by ellipse contours. The circle i=1 contours in Fig 3(a) plots a L-2 penalty with = 5, whereas the square contours in Fig 3(b) plots a L-1 penalty with = 5. To further explain how it works, the solution to n 0 ,1 min i=1 (yi - 1 xi - 0 )2 | R(0 , 1 ) r is the height of the smallest ellipse contour that is tangent with (or contained in) the contour that depict R(0 , 1 ) = r. The desired (0 , 1 ) are the coordinates of the tangent point. Question: 1. Please assign each plot in Figure 2 to one (and only one) of the following regularization methods. You can get some help from Figure 3. Please answer A, B, C or D. (a) (2 pts) No regularization (or regularization parameter equals to 0). 3 i=1 (yi - 1 xi - 0 )2 9 Solution: C (b) (3 pts) L-2 regularization with being 5. 3 2 2 (yi - 1 xi - 0 )2 + (1 + 0 ) where = 5 i=1 Solution: D (c) (3 pts) L-1 regularization with being 5. 3 i=1 (yi - 1 xi - 0 )2 + (|1 | + |0 |) where = 5 Solution: B (d) (2 pts) L-2 regularization with being 1. 3 2 2 (yi - 1 xi - 0 )2 + (1 + 0 ) where = 1 i=1 Solution: A 2. (2 pts) If we have much more features (that is more xi 's) and we want to perform feature selection while solving the LR problem, which kind of regularization method do we want to use? (Hint: L-1 or L-2? What about ?) Solution: We will choose L-1, and we will use bigger when we want fewer effective features. 10 5 Sampling [8 Points] Figure 4: A Bayesian Network studying for sampling 1. (2 pts) Suppose we want to compute P (B1|E1) using the naive sampling method. We draw 1,000,000 sample records in total. How many useful samples do we expect to see? (Hint: B1 means Burglary is true.) Solution: Records with E = 1 are useful samples. So, 1000000 0.002 = 2000. 2. (1 pts) Suppose we want to compute P (B1|J1) using the Gibbs sampling algorithm. How many different states of (B,E,A,J,M) will we observe during the process? Solution: There are four variables (B,E,A,M), each of which has two states, so we can observe 24 = 16 different states. 3. (3 pts) Suppose we want to compute P (B1|J1) using the Gibbs sampling algorithm, and we start with state (B1,E0,A0,J1,M0). We choose variable E in the first step. What are the possible states after the first step, and what are their probability of occurrence respectively? Solution: The next possible states are (B1,E0,A0,J1,M0) and (B1,E1,A0,J1,M0), because only E may change. P (E1, B1, A0) P (E1, B1, A0) = P (B1, A0) P (E1, B1, A0) + P (E0, B1, A0) P (E1, B1, A0) = P (E1) P (B1) P (A0|E1, B1) = 10-7 P (E1|B1, A0) = So, P (E1|B1, A0) = 0.0017 P (E0, B1, A0) = P (E0) P (B1) P (A0|E0, B1) = 5.988 10-5 P (E0|B1, A0) = 1 - P (E1|B1, A0) = 0.9983 11 With probability 0.9983 it will become (B1,E0,A0,J1,M0), and with probability 0.0017 it will become (B1,E1,A0,J1,M0). 4. (2 pts) In Markov Chain Monte Carlo (MCMC), is choosing the transition probabilities to satisfy the property of detailed balance a necessary condition for ensuring that a stationary distribution exists? Please answer Yes or No. Solution: No. It is a sufficient condition. 12 6 Expectation Maximization [10 Points] Imagine a machine learning class where the probability that a student gets an "A" grade is P (A) = 1/2, a "B" grade P (B) = , a "C" grade P (C) = 2, and a "D" grade P (D) = 1/2 - 3. We are told that c students get a "C" and d students get a "D". We don't know how many students got exactly an "A" or exactly a "B". But we do know that h students got either an a or b. Therefore, a and b are unknown values where a + b = h. Our goal is to use expectation maximization to obtain a maximum likelihood estimate of . 1. (4 pts) Expectation step: Which formulas compute the expected values of a and b given ? Circle your answers. 1/2 1/2 + h 1/2 a= h 1/2 + h a= 1/2 + 1/2 a= h 1 + 2 a= Solution: Marked with **** b= 1/2 + h h 1/2 + b= b= 1/2 h 1/2 + b= h 1 + 2 2. (4 pts) Maximization step: Given the expected values of a and b which formula computes the maximum likelihood estimate of ? Circle your answer. Hint: Compute the MLE of assuming unobserved variables are replaced by their expectation. = = = = Solution: Marked with **** h-a+c 6(h - a + c + d) h-a+d 6(h - 2a - d) h-a 6(h - 2a + c) 2(h - a) 3(h - a + c + d) 3. (True/False, 2 pts) Iterating between the E-step and M-step will always converge to a local optimum of (which may or may not also be a global optimum)? Explain in 1-2 sentences. Solution: True, the lower bound increases on each iteration. 13 7 VC-Dimension and Learning Theory [10 Points] 1. (True/False, 2 pts) Can the set of all rectangles in the 2D plane (which includes non axisaligned rectangles) shatter a set of 5 points? Explain in 1-2 sentences. Solution: True, can shatter 5 points along a circle. 2. (2 pts) What is the VC-dimension of k-Nearest Neighbour classifier when k = 1? Explain in 1-2 sentences. Solution: Infinity since it can shatter an arbitrary training set. 3. (2 pts) Consider the classifier f (a) = 1 if a > 0 and f (a) = 0 otherwise. What is the VCdimension of f (sin(x)) when is an adjustable parameter? Explain in 1-2 sentences. Solution: Infinity since it can shatter an arbitrary training set. Consider the following formulas that bound the number of training examples necessary for successful learning: m m m 1 (ln(1/) + ln|H|) 1 (ln(1/) + ln|H|) 22 1 (4log2 (2/) + 8V C(H)log2 (13/)) For each of the below questions, pick the formula you would use to estimate the number of examples you would need to learn the concept. You do not need to do any computation or plug in any numbers. Explain your answer. 1. (2 pts) Consider instances with two Boolean variables {X1 , X2 }, and responses Y are given by the XOR function. We try to learn the function f : X Y using a 2-layer neural network. Solution: Eq (3) since the hypothesis space is infinite. 2. (2 pts) Consider instances with two Boolean variables {X1 , X2 }, and responses Y are given by the XOR function. We try to learn the function f : X Y using a depth-two decision tree. This tree has four leaves, all distance two from the top. Solution: Eq(1) because the hyptothesis space is finite and Y H 14 8 Hidden Markov Models with continuous emissions (10 points) In this question, we will study hidden markov models with continuous emissions. We will use the notation used in class, with xi denoting the output at time i, and yi denoting the corresponding hidden state. The HMM has K states {1 . . . K}. The output for state k is obtained by sampling a Gaussian distribution parameterized by mean k and standard deviation k . Thus, we can write the emission probabilitye as p(xi |yi = k, ) = N (xi |k , k ). is the set of parameters of the HMM, which includes the initial probabilities , transition probability matrix A and the means and standard deviations {1 , . . . , K , 1 , . . . , k }. 8.1 Log-likelihood (1 point) Write down the log-likelihood for a sequence of observations of the emissions {x1 , . . . , xn } when the states (also observed) are {y1 , . . . , yn }. Solution: log p(x1 , . . . , xn |y1 , . . . , yn ) = log = i i p(xi |yi ) (1) (2) log(N (xi |yi , yi )) 8.2 Forward and backward updates (2 points) Write the forward and backward update equations for this HMM. Explain in a single line how they are different from the updates we studied in class. Solution: k t = N (xt |k , k ) k t = i i t-1 ai,k i (3) (4) i ak,i t+1 N (xt |i , i ) The equations are similar in form. But in this case, the output probabilities are gaussian rather than multinomial. The outputs are also continuous rather than discrete. 8.3 Supervised parameter learning We are given a sequence of observations X = {x1 , . . . , xn } and the corresponding hidden states Y = {y1 , . . . , yn }. We want to find the parameters for the HMM. 1. Are the update equations for Aij and i different from the ones obtained for the HMM we studied in class? Explain why or why not (2 points). Solution: The update equations for Aij and i are the same. They involve only the state transition counts and so are independent of the form chosen for emission probabilities. 15 2. What are the update equations for the Gaussian parameters k and k ? (Hint: You do not need to derive them. Given the hidden states, the outputs are all independent of each other, and each is sampled from one out of K gaussians.) (2 points) Solution: k = 2 k = = k]xi i I[yi = k] 2 i I[yi = k](xi - k ) i I[yi = k] i I[yi (5) (6) 8.4 Unsupervised parameter learning Now, we are only given a sequence of observations X = {x1 , . . . , xn }. We want to find the parameters for the HMM. (Slide 47 and 48 for the HMM lecture describe the unsupervised learning algorithm for the HMM discussed in class) 8.5 Objective function The unsupervised learning algorithm optimizes the expected complete log-likelihood. Why is that a reasonable choice for the objective function? (1 point) Solution: The expected complete log-likelihood is a lower bound to the complete log-likelihood. It is guaranteed to converge to a local optimum of the complete likelihood. Hence it is a reasonable choice for the objective function. 8.5.1 Expected complete LL What is the expected complete log-likelihood ( lc (; x, y) ) for the HMM with continuous gaussian emissions? Just write the expression, a derivation is not necessary.(1 point) Solution: T T j i yn,t-1 yn,t n t=2 lc (; x, y) = n i yn,1 log i + log ai,j + n t=1 i yn,t log N (xn , t|i , i ) (7) 8.5.2 Gaussian Parameter estimation Suppose you want to find ML estimates k and k for parameters k and k . Will the ML ^ ^ expressions have the same form as those obtained for the means and variances in a mixture of gaussians? Explain in one line. (Hint: Write down the terms in lc (; x, y) that are relevant to the optimization (i.e, contain k and k ) )(1 point) Solution: Yes, the ML expressions will have same form. The relevant term in lc (; x, y) is only the last term, which closely resembles the expected complete log-likelihood for a gaussian mixture 16 model. In this case the p(y = 1|x) term is computed using the forward backward algorithm rather than by simply using Bayes rule (as is done for a mixture of gaussians). 9 Bayesian Networks (10 points) Consider the Bayesian network shown in Figure 5. All the variables are boolean. g f a b c d e Figure 5: Bayesian network for Question 9.2 and 9.3 9.1 Likelihood Write the expression for the joint likelihood of the network in its factored form. (2 points) Solution: p(a, b, c, d, e, f, g) = p(a)p(b|a)p(c|b)p(d|c, f )p(e|d)p(f |g)p(g) 9.2 D-separation 1. Let X = {c}, Y = {b, d}, Z = {a, e, f, g}. Is X Z|Y ? If yes, explain why. If no, show a path from X to Z that is not blocked. (2 points) Solution: No, X Z|Y . The path c d f is not blocked since the v-structure at d is observed. 2. Suppose you are allowed to choose a set W such that W Z. Then define Z = Z/W and Y = Y W . What is the smallest set W such that X Z |Y is true? (2 points) Solution: W = {f } is the smallest subset that satisfies the requirement. Y then is the Markov Blanket of node c. 9.3 Conditional Independence From the graph, we can see that a c, d|b. Prove using the axioms of probability that this implies a c|b. (2 points) Solution: a c, d|b means P (a, c, d|b) = P (a|b)P (c, d|b). We want to prove a c|b using the 17 axioms of probability. P (a, c|b) = d P (a, c, d|b) by the axiom of additivity for disjoint events P (a|b)P (c, d|b) d (8) (9) (10) (11) = = P (a|b) d P (c, d|b) = P (a|b)P (c|b) Hence a c|b. Other proofs are also accepted. 9.4 Structure learning Suppose that we do not know the directionality of the edges a - b and b - c, and we are trying to learn that by observing the conditional probability p(a|b, c). Some of the entries in the table are observed and noted. Fill in the rest of the conditional probability table so that we obtain the directionality that we see in the graph, i.e, a b and b c. (2 points) P(a = 1|b = 0, c = 0) P(a = 1|b = 0, c = 1) P(a = 1|b = 1, c = 0) P(a = 1|b = 1, c = 1) 0.8 0.8 0.4 0.4 Solution: We want a c|b, i.e P (a|b, c) = P (a|b). So we want that P (a|b, c) should be the same for all values of c. 18
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:

Politecnico di Milano - INFORMATIC - Inf
22 February 2007CSE-4412(M) Midterm w/ answersp. 1 of 12CSE-4412(M) MidtermSur / Last Name: Given / First Name: Student ID: Instructor: Parke Godfrey Exam Duration: 75 minutes Term: Winter 2007 Answer the following questions to the best of
Politecnico di Milano - INFORMATIC - Inf
INFS4203/INFS7203 Data Mining (2008) Solution for Assignment 2Document Representation: Step 1 Remove Preposition Document 1: Linux is an open source operating system One of the most famous developers for Linux is RedHat Conceptually open source is
Politecnico di Milano - INFORMATIC - Inf
INFS4203 / INFS7203 Data Mining2008Solution for assignment 3Question 1 Let: A Apple, B Banana, C Carrot, D detergent, E Egg, F FishTransaction 1 2 3 4Items FADB DACEB CABE BADStep 1: Count 1-Item Frequency:Item A B C D E F Freq 4 (>
WVU - MAE EE IEN - mae ee ien
Engineering Mechanics - StaticsChapter 1Problem 1-1 Represent each of the following combinations of units in the correct SI form using an appropriate prefix: (a) m/ms (b) km (c) ks/mg (d) km N Units Used: N = 10-6N kmkm = 109-6Gs = 10 s
WVU - MAE EE IEN - mae ee ien
CHAPTER TWO SOLUTIONS 1. (a) 12 s (b) 750 mJ (c) 1.13 k (d) 3.5 Gbits (e) 6.5 nm (f) 13.56 MHz (g) 39 pA (h) 49 k (i) 11.73 pAEngineering Circuit Analysis, 6th EditionCopyright 2002 McGraw-Hill, Inc. All Rights Reserved.CHAPTER TWO SOLUTIONS2
WVU - MAE EE IEN - mae ee ien
Math 219, Homework 2Due date: 23.11.2005, Wednesday This homework concerns two (fictitious) design problems about the solar car "MES e" of the METU Robotics Society, which won the Formula-G trophy in September 2005. Just for the purposes of this hom
WVU - MAE EE IEN - mae ee ien
Math 219, Homework 3Due date: 9.12.2005, Friday 1. Consider the initial value problem d2 x dx + + x = u4 (t), dt2 dt y(0) = y (0) = 0(a) Solve this initial value problem using the Laplace transform. dx dt with respect to t (You can use the functio
WVU - MAE EE IEN - mae ee ien
Math 219, Homework 4Due date: 30.12.2005, Wednesday Suppose that K > 0, and f (t) is defined as 1 0 if 4n t < 4n + 1 otherwisef (t) =where n runs through the set of integers. (a) Determine the Fourier series for f (t). (b) Consider the differen
WVU - MAE EE IEN - mae ee ien
- CHAPTER 1. -Chapter OneSection 1.1 1.For C "& , the slopes are negative, and hence the solutions decrease. For C "& , the slopes are positive, and hence the solutions increase. The equilibrium solution appears to be Ca>b oe "& , to which all
WVU - MAE EE IEN - mae ee ien
- CHAPTER 2. -Chapter TwoSection 2.1 1a+ba,b Based on the direction field, all solutions seem to converge to a specific increasing function. a- b The integrating factor is .a>b oe /$> , and hence Ca>b oe >$ "* /#> - /$> It follows that all s
WVU - MAE EE IEN - mae ee ien
- CHAPTER 3. -Chapter ThreeSection 3.1 1. Let C oe /<> , so that C w oe < /<> and C ww oe < /<> . Direct substitution into the differential equation yields a<# #< $b/<> oe ! . Canceling the exponential, the characteristic equation is <# #< $ o
WVU - MAE EE IEN - mae ee ien
- CHAPTER 4. -Chapter FourSection 4.1 1. The differential equation is in standard form. Its coefficients, as well as the function 1a>b oe > , are continuous everywhere. Hence solutions are valid on the entire real line. 3. Writing the equation in
WVU - MAE EE IEN - mae ee ien
- CHAPTER 5. -Chapter FiveSection 5.1 1. Apply the ratio test : lim aB $b8" k a B $b 8 kHence the series converges absolutely for kB $k " . The radius of convergence is 3 oe " . The series diverges for B oe # and B oe % , since the n-th ter
WVU - MAE EE IEN - mae ee ien
- CHAPTER 6. -Chapter SixSection 6.1 3.The function 0 a>b is continuous. 4.The function 0 a>b has a jump discontinuity at > oe " . 7. Integration is a linear operation. It follows that (E !-9=2 ,> /=> .> oe" E ,> => " E ,> => ( / / .>
WVU - MAE EE IEN - mae ee ien
- CHAPTER 7. -Chapter SevenSection 7.1 1. Introduce the variables B" oe ? and B# oe ? w . It follows that B"w oe B# and B#w oe ? ww oe #? !& ? w . In terms of the new variables, we obtain the system of two first order ODEs B"w oe B# B#w oe #B"
WVU - MAE EE IEN - mae ee ien
- CHAPTER 8. -Chapter EightSection 8.1 2. The Euler formula for this problem is C8" oe C8 2^& >8 $C8 , C8" oe C8 &82# $2 C8 ,in which >8 oe >! 82 Since >! oe ! , we can also writea+b. Euler method with 2 oe !& >8 C8 8oe# !" "&*)! 8oe% !
WVU - MAE EE IEN - mae ee ien
- CHAPTER 9. -Chapter NineSection 9.1 2a+b Setting x oe 0 /<> results in the algebraic equations OE &< $For a nonzero solution, we must have ./>aA < Ib oe <# ' < ) oe ! . The roots of the characteristic equation are <" oe # and <# oe % . For
WVU - MAE EE IEN - mae ee ien
- CHAPTER 10. -Chapter TenSection 10.1 1. The general solution of the ODE is CaBb oe -" -9= B -# =38 B Imposing the first boundary condition, it is necessary that -" oe ! . Therefore CaBb oe -# =38 B . Taking its derivative, C w aBb oe -# -9= B
WVU - MAE EE IEN - mae ee ien
- CHAPTER 11. -Chapter ElevenSection 11.1 1. Since the right hand sides of the ODE and the boundary conditions are all zero, the boundary value problem is homogeneous. 3. The right hand side of the ODE is nonzero. Therefore the boundary value prob
WVU - MAE EE IEN - mae ee ien
CHAPTER 3 ENGINEERING CIRCUIT ANALYSIS 1. 3. 5. 7. 9. 11. Circuit diagram not shown. (a) 4 nodes; (b) 5 branches; (c) yes, path; no, loop. (a) 4; (b) 5; (c) yes,no,yes,no,no (a) 3 A; (b) -3 A; (c) 0 ix = 1 A; iy = 5 A.SELECTED ANSWERSIf the DMM a
WVU - MAE EE IEN - mae ee ien
Solution to Problem Set IChapter 2, Problem 4. A certain 15 V dry-cell battery, completely discharged, requires a current of 100 mA for 3 hr to completely recharge. What is the energy storage capacity of the battery, assuming the voltage does not de
WVU - MAE EE IEN - mae ee ien
Solution to Problem Set IIChapter 2, Problem 35. The circuit of Fig. 2.38 is constructed so that vS = 2 sin 5t V, and r = 80 . Calculate vout at t = 0 and t = 314 ms.+ vS+ 1+ 103v 1k v out rv FIGURE 2.38Chapter 2, Solution 35. vout =
WVU - MAE EE IEN - mae ee ien
Solution to Problem Set IIIChapter 3, Problem 35. Find the power absorbed by each circuit element of Fig. 3.68 if the control for the dependent source is (a) 0.8ix ; (b) 0.8iy . In each case, demonstrate that the absorbed power quantities sum to zer
WVU - MAE EE IEN - mae ee ien
Solution to Problem Set IVChapter 4, Problem 2. (a) Find vA, vB, and vC if vA + vB + vC = 27, 2vB + 16 = vA - 3vC, and 4vC + 2vA + 6 = 0. (b) Evaluate the determinant:B B B10 1 2 3 1 2 3 4 2 3 4 1 3 4 1 2Chapter 4, Solution 2. (a) 1 -1 2 1 2
WVU - MAE EE IEN - mae ee ien
Solution to Problem Set IXChapter 10, Problem 2. (a) If -10 cos t + 4 sin t = A cos( t + ) , where A > 0 and - 180 o < 180 o , find A and . (b) If 200 cos(5t + 130 o ) = F cos 5t + G sin 5t , find F and G. (c) Find three values of t, 0 t 1 s
WVU - MAE EE IEN - mae ee ien
Solution to Problem Set VChapter 4, Problem 36. Determine each mesh current in the circuit of Fig. 4.65.12 0.1vx 5 + 6V+ 11 vx +12 2V 3 +1.5 VFIGURE 4.65Chapter 4, Solution 36. We define a clockwise mesh current i3 in the upper righ
WVU - MAE EE IEN - mae ee ien
Solution to Problem Set VIChapter 5, Problem 20. With the assistance of the method of source transformations, (a) convert the circuit of Fig. 5.65a to a single independent voltage source in series with an appropriately sized resistor; and (b) conver
WVU - MAE EE IEN - mae ee ien
Solution to Problem Set VIIChapter 5, Problem 47. (a) Find the Thvenin equivalent of the network shown in Fig. 5.89. (b) What power would be delivered to a load of 100 at a and b?40 100 a +120 V200 i11.5i1bFIGURE 5.89Chapter 5, Solu
WVU - MAE EE IEN - mae ee ien
Solution to Problem Set VIIIChapter 7, Problem 3. Calculate the current flowing through a 1 mF capacitor in response to a voltage v across its terminals if v equals: (a) 30te t V; (b) 4e 5t sin 100t V.1Chapter 7, Solution 3.i=C dv dt(a) (b)
WVU - MAE EE IEN - mae ee ien
Solution to Problem Set XChapter 10, Problem 41. Find Zin at terminals a and b in Fig. 10.58 if equals (a) 800 rad/s; (b) 1600 rad/s.2 F a 300 bFIGURE 10.5816000.6 HChapter 10, Solution 41. (a) = 800 : 2F - j 625, 0.6H j 480 300(- j 6
WVU - MAE EE IEN - mae ee ien
Solution to Problem Set XIChapter 11, Problem 12.1Calculate the average power generated by each source and the average power delivered to each impedance in the circuit of Fig. 11.30.10 A5 508 20j10 AFIGURE 11.30Chapter 11, Solution
WVU - MAE EE IEN - mae ee ien
1. A tank is filled with seawater to a depth of 12 ft. If the specific gravity of seawater is 1.03 and the atmospheric pressure at this location is 14.8 psi, the absolute pressure (psi) at the bottom of the tank is most nearly A. 5.4 B. 20.2 C. 26.8
WVU - MAE EE IEN - mae ee ien
1. A tank is filled with seawater to a depth of 12 ft. If the specific gravity of seawater is 1.03 and the atmospheric pressure at this location is 14.8 psi, the absolute pressure (psi) at the bottom of the tank is most nearly A. 5.4 B. 20.2 C. 26.8
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien
WVU - MAE EE IEN - mae ee ien