Engineering
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.

answer
Answers: 1

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, hadellolo8839
Acompressor receives the shaft work to decrease the pressure of the fluid. a)- true b)- false
Answers: 3
image
Engineering, 04.07.2019 18:10, settasav9641
Abrake has a normal braking torque of 2.8 kip in and heat-dissipating cast-iron surfaces whose mass is 40 lbm. suppose a load is brought to rest in 8.0 s from an initial angular speed of 1600 rev/min using the normal braking torque; estimate the temperature rise of the heat dissipating surfaces.
Answers: 3
image
Engineering, 04.07.2019 18:10, siri5645
At 12 noon, the count in a bacteria culture was 400; at 4: 00 pm the count was 1200 let p(t) denote the bacteria cou population growth law. find: (a) an expression for the bacteria count at any time t (b) the bacteria count at 10 am. (c) the time required for the bacteria count to reach 1800.
Answers: 1
image
Engineering, 04.07.2019 18:10, wyattlb97
Water at the rate of 1 kg/s is forced through a tube with a 2.5 cm inner diameter. the inlet water temperature is 15°c, and the outlet water temperature is 50°c. the tube wall temperature is 14°c higher than the local water temperature all along the length of the tube. what is the length of the tube?
Answers: 3
Do you know the correct 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, 26.05.2021 16:30
Konu
Social Studies, 26.05.2021 16:30