Engineering
Write a program that asks the user to enter the monthly costs for the following expenses incurred from operating his or her automobile: loan payment, insurance, gas, oil, tires, and maintenance. The program should then display the total monthly cost of these expenses, and the total annual cost of these expenses. Make sure to create a function such as showExpenses which accepts loan, insurance, gas, oil, tires, and maintenance information as arguments and displays the equivalent total expense information
A zero is added to the system of Prelab la at -250 and then moved to -50, -20, -10,-5, and - 2. List the values of zero location in the order of the greatest to the least effect upon the pure second-order transient response. 3. Given the transfer function G(s) = (25b/a)(s + a)/((s + b)(s? + 4s + 25)), let a = 3 and b = 3.01, 3.1, 3.3, 3.5, and 4.0. Which values of b will have minimal effect upon the pure second-order transient response? 4. Given the transfer function G() = (2500b/a)(s + a)/((s + b)(s2 + 40s +2500)), let a = 30 and b = 30.01, 30.1, 31, 35, and 40. Which values of b will have minimal effect upon the pure second-order transient response?