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.
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:
Berkeley - ENGIN - 45
E45 Problem Set #610.9 A magnesiumlead alloy of mass 7.5 kg consists of a solid phase that has a composition just slightly below the solubility limit at 300C (570F). (a) What mass of lead is in the alloy? (b) If the alloy is heated to 400C (750F), how mu
Berkeley - ENGIN - 45
E45 PROBLEM SOLUTIONS PS#912.1(a)Compute the electrical conductivity of a 7.0-mm (0.28-in.) diameter cylindrical siliconspecimen 57 mm (2.25 in.) long in which a current of 0.25 A passes in an axial direction. A voltage of 24 V is measured across two
Berkeley - ENGIN - 45
E45 Problem Set #8 PROBLEM SOLUTIONS4.2 (a) Compute the repeat unit molecular weight of polypropylene. (b) Compute the number-average molecular weight for a polypropylene for which the degree of polymerization is 15,000. Solution (a) The repeat unit mole
Berkeley - ENGIN - 7
function [new_tree] = add2tree(old_tree, new_element) % % adds new element to old tree and returns new tree % % base case is if old_tree isempty if isempty(old_tree) new_tree.val = new_element; new_tree.left = []; new_tree.right = []; else % initialize ne
Berkeley - ENGIN - 7
function [tree] = array2bintree(array) % % takes an array of scalars an returns the array in binary tree form % initialize binary treee tree = []; % loop through array for i = 1:length(array) % add this element of array to tree tree = add2tree(tree, array
Berkeley - ENGIN - 7
function [out] = bintreeSearch(tree, element) % % out is 1 if element value is contained in tree, 0 otherwise % % base case is if root is equal to value if isempty(tree) %obviously element is not in tree out = 0; elseif tree.val = element % then obviously
Berkeley - ENGIN - 7
function cost = calccost(newplan, ttl_min) if newplan=1 cost = ttl_min*.25 elseif newplan = 2 cost = ttl_min*.15+60 else ttl_hrs=ttl_min/60; else_hrs=ttl_hrs-3; else_min=else_hrs*60; f3_hrs=ttl_hrs-else_hrs; f3_min=f3_hrs*60; cost = f3_min*.3+else_min*.22
Berkeley - ENGIN - 7
function [dz] = centdet(fh,a,b,n) x=linspace(a,b,n); for i =1:length(x) y(i)=fh(x(i); e end for j = 1:length(x) if j=1 dz(j)=(y(2)-y(1)./(x(2)-x(1); elseif j=n dz(j) = (y(n)-y(n-1)./(x(n)-x(n-1); else dz(j)=(y(j+1)-y(j-1)./(x(j+1)-x(j-1) end end
Berkeley - ENGIN - 7
function [dz] = central_diff(fh,a,b,h) x=[a b]; dz = (fh(x+h)-fh(x-h)/(2*h); end
Berkeley - ENGIN - 7
function fee = comCost(in1,phonerecord) plan = phonerecord(in1).plan; if plan = 1 j=0; for i=1:length(phonerecord(in1).call); m=phonerecord(in1).call(i).duration; j=j+m; end fee=0.25*j; elseif plan=2 j=0; for i=2:length(phonerecord(in1).call); m=phonereco
Berkeley - ENGIN - 7
function fee = comCost(in1,phonerecord) plan = phonerecord(in1).plan; if plan = 1 j=0; for i=1:length(phonerecord(in1).call); m=phonerecord(in1).call(i).duration; j=j+m; end fee=0.25*j; elseif plan=2 j=0; for i=1:length(phonerecord(in1).call); m=phonereco
Berkeley - ENGIN - 7
disp('may take a few seconds.'); tmp=zeros(1001,1); tmp(1:3)=1/5; filter1=toeplitz(tmp); tmp=zeros(1001,1); tmp(1:45)=1/89; filter2=toeplitz(tmp); filter3=eye(1001)-filter2; disp('done');
Berkeley - ENGIN - 7
function [out] = creative4(self, enemy, tank, mine, req) switch req case 'info' out.team = 'Creative4'; out.student(1).first = 'Eddie'; out.student(1).last = 'Lo'; out.student(1).SID = '19483002'; out.student(1).lab = 18; case 'move' % set up parameters f
Berkeley - ENGIN - 7
function W=filter1(V) a=5; n=length(V); m=n-a; b=floor(a/2); W=0*V; for i=1:a W(b:b+m-1)=W(b:b+m-1)+1/a*V(i:m-1+i); end
Berkeley - ENGIN - 7
function [out] = gsiBot(self, enemy, tank, mine, req) % % test robot for students during E7 robot tournament % % the code contains the main switch case statement of the robot determining % whether or not it will give the student information or a move. the
Berkeley - ENGIN - 7
function A, cond(= illcond(n,c) A=rand(n-1,n); A(n,:)=0; A(n,:)=rand(1,n)*A; r=rand(1,n); A(n,:)=A(n,:)+c*r; cond(A) end
Berkeley - ENGIN - 7
function A = illcond(n,c) A=rand(n-1,n); A(n,:)=0; A(n,:)=rand(1,n)*A; r=rand(1,n); A(n,:)=A(n,:)+c*r; cond(A) end
Berkeley - ENGIN - 7
function [b] = indexmax2(A) b = [1]; for ii = 2:length(A) if A(ii) >= A(ii-1) & A(ii)>= A(b) ; b = ii; end end b
Berkeley - ENGIN - 7
function [b] = indexmax1(A) b = [1]; for ii = 2:length(A); if A(ii) >= A(ii-1) & A(ii)>= A(b); b = ii; end end
Berkeley - ENGIN - 7
function [ ] = indexmax2(A) [v,ind]=max(A); [v1,ind1]=max(max(A); (ind(ind1)
Berkeley - ENGIN - 7
function [ ] = indexmax3(A) C = [ ]; [v,ind]=max(A); [v1,ind1]=max(max(A); C(1)=(ind(ind1); for i = 1:length(A) if A(i)=max(A) C(2)=i; end end C(1),
Berkeley - ENGIN - 7
function [ ] = indexmax3(A) C = [ ]; [v,ind]=max(A); [v1,ind1]=max(max(A); maxval=max(A); for i =1:length(A) if A(i)=maxval C=[C,i]; end end C
Berkeley - ENGIN - 7
function [x0,y0,iout,jout] = intersections(x1,y1,x2,y2,robust) %INTERSECTIONS Intersections of curves. % Computes the (x,y) locations where two curves intersect. The curves % can be broken with NaNs or have vertical segments. % % Example: % [X0,Y0] = inte
Berkeley - ENGIN - 7
function yy = lagrange(x, y, xx) n = size(x,2); L = ones(n,size(xx,2); if (size(x,2)~=size(y,2) fprintf('\nERROR!\nX and Y must have the same number of elements\n'); yy = NaN; else for i = 1:n for j = 1:n if (i~=j) % calculation of Langrange basis polynom
Berkeley - ENGIN - 7
function [mat, A, B] = mat_mult(A,B) S1=size(A); S2=size(B); if S1(2)=S2(1) mat=A*B elseif S1(1)=S2(1) mat=A'*B else disp '-9999' end
Berkeley - ENGIN - 7
function [mat, A, B] = mat_mult(A,B) S1=size(A); S2=size(B); if S1(2)=S2(1) mat=A*B; elseif S1(1)=S2(1) mat=A'*B; else disp '-9999' end
Berkeley - ENGIN - 7
function [X,Y]=myButterfly(t) X=sin(t).*(exp(cos(t)-2*cos(4*t)-(sin(t/12).^5) Y=cos(t).*(exp(ncos(t)-2*cos(4*t)-(sin(t/12).^5)
Berkeley - ENGIN - 7
for j = 1:6 k=ttl_min(j,phonerecord) plan1=k*.25 plan2=k*.15+60 %to calculate plan3, we need: ttl_hrs=k/60; else_hrs=ttl_hrs-3; else_min=else_hrs*60; f3_hrs=ttl_hrs-else_hrs; f3_min=f3_hrs*60; plan3=f3_min*.3+else_min*.22 if plan1<plan2<plan3 | plan 1<pla
Berkeley - ENGIN - 7
for j = 1:6 k=ttl_min(j,phonerecord); plan1=k*.25; plan2=k*.15+60; %to calculate plan3, we need: ttl_hrs=k/60; else_hrs=ttl_hrs-3; else_min=else_hrs*60; f3_hrs=ttl_hrs-else_hrs; f3_min=f3_hrs*60; plan3=f3_min*.3+else_min*.22; if plan1<plan2&plan3 & plan1<
Berkeley - ENGIN - 7
function [ ] = portfolio(p, V, r) w= (p*inv(V)*r)/(r'*inv(V)*r) w_0=1-sum(w) std_dev = p^2/(r'*inv(V)*r) end
Berkeley - ENGIN - 7
i = 1; x=ones(1,10) ctr = 0; while ctr <=8 x(i) = 0; i = 1+i; ctr = ctr + 1 end
Berkeley - ENGIN - 7
x = 1:50; ind=1; y = [ ]; z = [ ]; while length(y)<=10 ctr = 0; for k = 1:x(ind) if rem(x(ind),k)=0 ctr = ctr+1; end end if ctr = 2 y = [y, x(ind)]; else z = [z, x(ind)]; end ind = ind + 1; end y z
Berkeley - ENGIN - 7
function [] = stressTest (bot1, bot2, map, iters) % Runs global global global global global iters# of rounds and reports results TIME; WALLTIME; AVOIDTIME; DETERMINETIME; CHASETIME;records = zeros(1, iters); gameTime = []; % Run rounds for roundOn = 1:it
Berkeley - ENGIN - 7
function[fine]=ticket(MPH) MPH = round(MPH); if MPH >= 55 & MPH <=59 fine = 0; elseif MPH >= 60 & MPH <=69 fine = 20 + (MPH - 60)*1; elseif MPH >= 70 & MPH <=79 fine = 30 + (MPH - 70)*2; elseif MPH >= 80 & MPH <=89 fine = 50 + (MPH - 80)*3; elseif MPH >=
Berkeley - ENGIN - 7
function[fine]=tickets(v) v = round(v); if v >= 55 & v <=59 fine = 0; elseif v >= 60 & v <=69 fine = 20 + (v-60)*1; elseif v >= 70 & v <=79 fine = 30 + (v-70)*2; elseif v >= 80 & v <=89 fine = 50 + (v-80)*3; elseif v >= 90 & v <=99 fine = 80 + (v-90)*4; e
Berkeley - ENGIN - 7
function ttl_min = ttl_min(j,phonerecord) ttl_min=0; for i=1:length(phonerecord(j).call); m=phonerecord(j).call(i).duration; ttl_min=ttl_min+m; end
ASU - BB - 4
CELLULAR RESPIRATIONCellular respiration and fermentation are catabolic, energy-yielding pathways Organic compounds store energy in their arrangement of atoms. With the help of enzymes, a cell systematically degrades complex organic molecules that are ri
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 14: FLEXIBLE-BUDGETSFACTORY OVERHEADQUESTIONS 14-1 a. Yes, the factory manager has done a good job in controlling factory overhead costs if all factory overhead costs are fixed. Even though the actual production is only at the 85 percent level of
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 13 THE FLEXIBLE-BUDGET AND STANDARD COSTING: DIRECT MATERIALS AND DIRECT LABORQUESTIONS 13-1 The firm earned $5 million while the master budget planned for $7.5 million of operating income last year. Thus, the comment that the firm was not effect
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 12: COST ALLOCATION: SERVICE DEPARTMENTS AND JOINT PRODUCT COSTS QUESTIONS12-1 The objectives of cost allocation are to achieve effective cost management through methods which: 1. Motivate managers to exert a high level of effort to achieve the g
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 11: PROCESS COSTINGQUESTIONS 11-1 A company that should use a process costing system typically has homogenousproducts, which pass through a series of similar processes or departments. These firms usually en gage in continuous mass production of a
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 7: COST-VOLUME-PROFIT ANALYSISQUESTIONS7-1 7-2The underlying relationship in cost-volume-profit analysis is that costs, revenues, and profits all change in a predictable way as the volume of activity changes. It is more practical to find the br
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 6: COST ESTIMATIONQUESTIONS 6-1 Cost estimation is the process of developing a well-defined relationship between a cost object and its cost driver for the purpose of predicting the cost. The cost predictions are used in each of the management fun
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 5: ACTIVITY-BASED COSTING AND MANAGEMENTQUESTIONS 5-1 Product costs are likely distorted when a firm uses a volume-based rate if the plant has more than one activity in its operations and not all activities consume overhead in the same proportion
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 4: JOB COSTING QUESTIONS4-1 The purpose of any product costing system is to (1) determine product and service cost, and value inventory, (2) facilitate management planning, cost control, and performance evaluation, and (3) facilitate managerial d
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 3: BASIC COST MANAGEMENT CONCEPTSQUESTIONS 3-1 3-2 Relevant cost information, including differential costs and opportunity costs, is used in management planning and decision making. Direct costs can be physically identified with and/or traced to
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 2: IMPLEMENTING STRATEGY: THE BALANCED SCORECARD AND THE VALUE CHAINQUESTIONS 2-1 The two types of competitive strategy (per Michael Porter, as explained in chapter one) are cost leadership and differentiation. Cost leadership is the competitive
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER :1COST MANAGEMENT AND STRATEGY - AN OVERVIEWQUESTIONS 1-1 Firms Using Cost Management. Here are some examples; there are many possible answers. 1. Wal-Mart: to keep costs low by streamlining restocking and sales 2. COMPAQ: to keep costs low by im
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 14DISCUSSION QUESTIONS1. One purpose of financial statement analysis is to evaluate the performance of a company with an eye toward identifying problem areas. Another purpose of financial statement analysis is to use the past perform ance of a c
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 13DISCUSSION QUESTIONS1. The main purpose of a statement of cash flows is to provide information about the cash receipts and cash payments of an entity during a period of time. The statement of cash flows also explains the changes in the balance
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 12DISCUSSION QUESTIONS1. There are several reasons for a firm to make investments in assets not directly related to the primary operations of its business (that is, investments in assets other than property, plant, equipment, and inventory). Com
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 11DISCUSSION QUESTIONS1. Debt financing is borrowing money and almost always involves the payment of interest on the amount borrowed. Debt holders do not receive any ownership in the company from loaning the money. Equity financing is raising mo
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 10DISCUSSION QUESTIONS1. Present values are less when discount rates are high as compared to when they are low. This is because the interest owed or the discount reported is proportionate to the interest rate. That is, a company cannot borrow as
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 9DISCUSSION QUESTIONS1. The major characteristics of property, plant, and equipment are as follows: a. They are physical objects that can be seen and touched. b. They are used in operations to produce goods or provide services. c. They usually h
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 8DISCUSSION QUESTIONS1. The accounting for payroll-related liabilities is more complicated than for other current liabilities because employers are required to withhold various taxes and other amounts from employees salaries and remit these amou
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 7DISCUSSION QUESTIONS1. A manufacturing firm has three types of inventories: (1) raw materials, (2) work-in-process, and (3) finished goods. Raw materials are goods acquired in an undeveloped state that compose a major part of a finished product
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 6DISCUSSION QUESTIONS1. The three types of business activities are operating activities, investing activities, and financing activities. 2. The purchase of inventory for resale to customers is classified as an operating activity rather than an i
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 5DISCUSSION QUESTIONS1. If a journal entry is for a legitimate expense, there will be an authentic document (e.g., a bill or invoice) from whoever was paid. If it is to cover up a theft of cash, either (1) there will be no source document to sup
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 4DISCUSSION QUESTIONS1. Accountants prepare financial reports on a periodic basis in order to furnish decision makers with timely information. Investors, creditors, management, and others cannot wait until the results of operations are known at
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 3DISCUSSION QUESTIONS1. The basic objective of the accounting cycle is to transform accounting data into financial statements and other accounting reports. These outputs help individuals make better economic decisions. 2. The first three steps i
ITT Tech Flint - ACCOUNTING - 2101
CHAPTER 2DISCUSSION QUESTIONS1. Investors, creditors, and other external users need to know a company's financial status. For example, what assets does the company own? Are the assets still productive? How hard would it be to sell the assets, if needed?