The Taylor series expansion for sin(x) is (-1) sin(x) x- (2n 0 3! 57 where r...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The Taylor series expansion for sin(x) is (-1)" sin(x) x- (2n 0 3! 57 where r is in radians. Write a MATLAB program that determines sin(x) using the Taylor series expansion. The program asks the user to type a value for an angle in degrees. Then the program uses a loop for adding the terms of the Taylor series. If a, is the nth term in the series, then the sum s, of the n terms is s, s+a In each pass calculate the estimated eror E given by S-S Stop adding terms when Es0.000001. The program displays E = the value of sin(x).Use the program for calculating: (a) sin(45°) Compare the values with those obtained by using a calculator. (b) sin(195) The Taylor series expansion for sin(x) is (-1)" sin(x) x- (2n 0 3! 57 where r is in radians. Write a MATLAB program that determines sin(x) using the Taylor series expansion. The program asks the user to type a value for an angle in degrees. Then the program uses a loop for adding the terms of the Taylor series. If a, is the nth term in the series, then the sum s, of the n terms is s, s+a In each pass calculate the estimated eror E given by S-S Stop adding terms when Es0.000001. The program displays E = the value of sin(x).Use the program for calculating: (a) sin(45°) Compare the values with those obtained by using a calculator. (b) sin(195)
Expert Answer:
Answer rating: 100% (QA)
The matlab code for the problem is given below x inputEnte... View the full answer
Related Book For
Principles of Communications Systems, Modulation and Noise
ISBN: 978-8126556793
7th edition
Authors: Rodger E. Ziemer, William H. Tranter
Posted Date:
Students also viewed these electrical engineering questions
-
The Taylor series expansion for cos(x) is: where x is in radians. Write a MATLAB program that determines cos (x) using the Taylor series expansion. The program asks the user to type a value for an...
-
In the w plane, integrate the Taylor series expansion (see Example 4, Sec. 59) Along a contour interior to the circle of convergence from w = 1 to w = z to obtain the representation n-D
-
Write a MATLAB program tointegrate /2 cos(cos.x) dr
-
0 out of 3 points On 30 June 2019, Asahi Ltd has entered into an agreement to lease a beer-making machine to Hite Ltd. The lease agreement details are as follows: . lease term is 5 years estimated...
-
Webmasters.com has developed a powerful new server that would be used for corporations' Internet activities. It would cost $10 million to purchase the equipment necessary to manufacture the server,...
-
Rudenko & Associates, Inc., completed the following transactions during July 2016, its first month of operations: Jul 1 Sold $85,000 of common stock to Artem Rudenko to start the business. 3...
-
The Anchor Glass Container Corporation and its parent company, Consumers Packaging, Inc. (CPI), entered into a series of agreements with Encore Glass, Inc., to supply glass containers of a specific...
-
Recently, Phil Harris, the production control manager at Brunswick, read an article on time- phased requirements planning. He was curious about how this technique might work in scheduling Brunswicks...
-
2.1 Design and determine data storage requirements from NoSQL data store according to selected vendor technology and business requirements
-
The time-series graphs below show typical simulation output. For each graph identify the type of model (terminating or nonterminating) and the nature of the simulation output (transient,...
-
Write a copy of your Administrative Assistant position description? Take some time and read through it carefully. How accurately does it describe what you do? Does it comply with the Americans with...
-
Consider a 6% T-note with 1.5 years to maturity. Spot rates (expressed as semiannual yields to maturity) are: 6 months = 5%, 1 year = 6% and 1.5 years = 7%. If the note is selling for $992, compute...
-
Non-event risks Question 12 options: Have minimal impact Have two main types: variability risk and ambiguity risk Are typically risks that do not trigger events that may in turn cause future risks...
-
If the Fed decreases interest rates, this should cause a capital outflow and the value of the USD to Group of answer choices appreciate depreciate remain unchanged none of the above
-
Compute the distance between the points. (-10, -22) and (-18,-28) The distance between the given points is (Type an exact answer, using radicals as needed.)
-
An investor has a position of $1,000,000 in shares of an investment bank called Black Plainly (BP). BP's yearly volatility is 20% and yearly expected returns is 10%. What is our investor's Value at...
-
Suppose the demand equation is given by P=12-2Q and the supply equation is given by P=2+3Q. If the quota quantity is set to Q=1, what is the price at which this unit will be sold?
-
If your school has a subscription to the FASB Codification, go to aaahq.org/ ascLogin.cfm to log in and prepare responses to the following. (a) What is the stock dividend? (b) What is a stock split?...
-
Two jointly Gaussian random variables, X and Y, have means of 1 and 2, and variances of 3 and 2, respectively. Their correlation coefficient is P xy = 0.2. A new random variable is defined as Z = 3X...
-
Write a MATLAB program that will produce plots like those shown in Figure 5.10. The Butter worth channel filter poles and 3-dB frequency should be inputs as well as the roll-off factor,...
-
Given a junction diode with reverse saturation current Is = 15 A. (a) At room temperature (290 K), find V such that I > 20I s , thus allowing (A.16) to be approximated by (A.17). Find the rms noise...
-
Use the Internet to access Home Depot's most recent annual report. a. What evidence did you find that Home Depot continues to rely on present worth analysis in its corporate decision making? b. Does...
-
Use an Internet search engine to identify three companies or agencies that use present worth analysis to make business decisions as evidenced in their annual reports.
-
Use the Internet to access ConocoPhillips's most recent annual report. a. What evidence do you find that ConocoPhillips continues to rely on present worth analysis in its corporate decision making?...
Study smarter with the SolutionInn App