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

Other questions on the subject: Engineering

image
Engineering, 03.07.2019 15:10, margaret1758
If you were designing a bumper for a car, would you prefer it to exhibit elastic or plastic deformation? why? consider the functions of a bumper in both a minor "fender-bender" and a major collision.
Answers: 1
image
Engineering, 04.07.2019 18:20, safiyabrowne7594
Ahe-xe mixture containing a 0.75 mole fraction of helium is used for cooling electronics in an avionics application. at a temperature of 300 k and atmospheric pressure, calculate the mass fraction of helium and the mass density, molar concentration and molecular weight of the mixture. if the cooling capacity is 10 l, what is the mass of the coolant?
Answers: 3
image
Engineering, 04.07.2019 19:10, Mimidj9279
The sum of the normal stresses does not change as the stress state rotates through an angle. a)-trune b)- false
Answers: 2
image
Engineering, 04.07.2019 19:10, pedropaulofpedrosapp
Tom is having a problem with his washing machine. he notices that the machine vibrates violently at a frequency of 1500 rpm due to an unknown rotating unbalance. the machine is mounted on 4 springs each having a stiffness of 10 kn/m. tom wishes to add an undamped vibration absorber attached by a spring under the machine the machine working frequency ranges between 800 rpm to 2000 rpm and its total mass while loaded is assumed to be 80 kg a) what should be the mass of the absorber added to the machine so that the natural frequency falls outside the working range? b) after a first trial of an absorber using a mass of 35 kg, the amplitude of the oscillation was found to be 10 cm. what is the value of the rotating unbalance? c) using me-3.5 kg. m, find the optimal absorber (by minimizing its mass). what would be the amplitude of the oscillation of the absorber?
Answers: 3
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 in other subjects:

Konu
Mathematics, 23.12.2020 08:00
Konu
English, 23.12.2020 08:00
Konu
Social Studies, 23.12.2020 08:00
Konu
Biology, 23.12.2020 08:00