subject
Engineering, 10.11.2020 22:10 briana21092005

The Taylor series expansion for a^x is: a^x = sum n = 0 to infinity [(ln(a))^n]*x^n/n! Write a MATLAB program that determines a^x using the Taylor series expansion. The program asks the user to type a value for x. Use a loop for adding the terms of the Taylor series. If Cn is the nth term in the series, then the sum Sn of the n terms is Sn = S(n-1) + Cn. In each pass calculate the estimated error E given by E = abs((Sn-S(n-1))/(S(n-1))). Stop adding terms when E < .000001. The program displays the value of a^x. Use the program to calculate: (a) 2^(3.5) (b) 6.3^(1.7) Compare the values with those obtained by using a calculator.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 08:10
Which of the following is an easy way to remember the modified “x” tire rotation? a. nondrive wheels straight, cross the drive wheels b. drive wheels straight, cross the nondrive wheels c. drive wheels crossed, nondrive wheels straight d. drive wheels crossed, nondrive wheels crossed
Answers: 1
question
Engineering, 04.07.2019 18:20
Derive the correction factor formula for conical nozzle i=-(1+ cosa) and calculate the nozzle angle correction factor for a nozzle whose divergence hal-fangle is 13 (hint: assume that all the mass flow originates at the apex of the cone.
Answers: 3
question
Engineering, 04.07.2019 19:10
An engine, weighing 3000 n, is supported on a pedestal mount. it has been observed that the engine induces vibration into the surrounding area through its pedestal at the maximum operating speed. determine the stiffness of the dynamic vibration absorber spring in (n/m) that will reduce the vibration when mounted on the pedestal. the magnitude of the exciting force is 250 n, and the amplitude of motion of the auxiliary mass is to be limited to 2 mm note: in this question type-in right numbers, no decimals, no fractions, no unit. approximate to right number if needed
Answers: 3
question
Engineering, 04.07.2019 19:10
Agas is compressed from vi 0.3 m, p 1 bar to of v2 0.1 m3, p2--3 bar. pressure and volume are related linearly during the process. for the gas, find the work, in kj.
Answers: 2
You know the right answer?
The Taylor series expansion for a^x is: a^x = sum n = 0 to infinity [(ln(a))^n]*x^n/n! Write a MATLA...
Questions
question
Mathematics, 04.11.2021 21:40
question
Mathematics, 04.11.2021 21:40
Questions on the website: 13722361