Write a pseudocode statement that multiplies the variable subtotal by .15 and assigns the result to the variable totalfee. First you must make the variables real numbers. example.Dim subtotal As Double = 0 The statement asked for in the question will appear as totalfee =
due = downpayment – total 10. Write a pseudocode statement that multiplies the variable subtotal by 0.15 and assigns the result to the variable totalfee. First you must make the variables real numbers. example.Dim subtotal As Double = 0 The statement asked for in the question will appear as totalfee = subtotal *
default value as 0 to uninitialized variables 3. Write assignment statements that perform the following operations with variables a, b and c. set b = a+2 set a = b*4 set b = a/3.14 set a= b-8 4. Write assignment statements that perform the following operations with the variables a, b, and c. a. Adds 2 to a and stores the result in b b. Multiplies b times 4 and stores the result in a c. Divides a by 3.14 and stores the result in b d. Subtracts 8 from b and stores the result in at a. Set result = x + y = 4+8= 12 b.
Adds 2 to A and stores the result in B B=A+2 B. Multiplies B: times 4 and stores the result in A: A=B*4 C. Divides A: by 3.14 and stores the result in B: B = A / 3.14 D. Subtracts 8 from B: and stores the result in A: A=B-8 4. Assume the variables result, w, x, y, and z are all integers, and that w = 5, x = 4, y = 8, and z = 2. What value will be stored in result in each of the following statements? A. Set result = x + y B.
We will use the FV formula, that is: FV = PV(1 + r)t Solving for t, we get: t = ln(FV / PV) / ln(1 + r) FV = $160,000 = $25,000(1.032)t t = ln($160,000 / $25,000) / ln 1.032 t = 58.93 years 14. To answer this question, we can use either the FV or the PV formula. Both will give the same answer since they are the inverse of each other. We will use the FV formula, that is: FV = PV(1 + r)t Solving for r, we get: r = (FV / PV)1 / t – 1 r = ($10,500 / $5)1/113 – 1 r = .0704 or 7.04% 17. To find the PV of a lump sum, we use: PV = FV / (1 + r)t PV = $160,000 / (1.1025)10 PV = $60,302.32 ______________________________________________________________________________ CHAPTER 5 DISCOUNTED CASH FLOW VALUATION Solutions to Questions and Problems 8.
Begin by writing the corresponding linear equations, and then use back-substitution to solve your variables. 10–1301–8001 159–1 = x-13z=15y-8z=9z=-1 = x-13(-1)=15y-8(-1)=9z=-1 = x=2y=1z=-1 x,y,z=(2 , 1 , -1) Determinants and Cramer’s Rule: 2. Find the determinant of the given matrix. 8–2–12 = 8*2 - (-1)(-2) = 16 - 2 = 14 3. Solve the given linear system using Cramer’s rule.
You can us+e the weight on each pully to calculate the magnitude and the direction of the component vectors at 90 and 0 degrees. For part c you need to find the components of triangles a, b, and c as labeled on the front bottom of my lab. You then need to find the sum all the x component and y component vectors. Then from the sum of the components you can use the Pythagorean theorem to find the resultant vector R. Data: part a experimental ax= 875g*m/s^2 ay = 980g*m/s^2 the theoretical values for ax and were
Daniel Jones NT1210 Lab 1.1 Review 1. Convert the decimal value 127 into binary. Explain the process of conversion that you used. 127 | 127 | 63 | 31 | 15 | 7 | 3 | 1 | 128 | - 64 | - 32 | - 16 | - 8 | - 4 | - 2 | - 1 | | = 63 | = 31 | = 15 | = 7 | = 3 | = 1 | = 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | The answer is: 01111111 If the decimal number is less than the greatest power of 2 than you must put a 0 for that number than carry that same decimal number over to the right one decimal place. For example.
c. Find the coordinates of the foci. d. Graph the ellipse. Label the center and foci. Answer: a) Given equation of ellipse. On comparing this equation with standard equation of ellipse with centre (h,k) which is given by x-h2a2+y-k2b2=1 , we have , h = 3 and k = -5.
The combination of antacid and base that is added will add up to .004 mol. 1. Since I am adding the antacid first, and then adding the same .05 M NaOH to get to equivalence, whichever antacid neutralizes the most base (ie- is the strongest) will require the least amount of extra base to reach equivalence. That would be the CVS brand, at .0199L (for simplicity, all volumes will be expressed in L, even though the chart is in mL). The weakest would require the most extra base, and that would be the Rennies, at .0244L.