EBK MATLAB: AN INTRODUCTION WITH APPLIC
EBK MATLAB: AN INTRODUCTION WITH APPLIC
5th Edition
ISBN: 8220102007642
Author: GILAT
Publisher: YUZU
bartleby

Videos

Textbook Question
Book Icon
Chapter 6, Problem 23P

The Taylor series expansion for cos(x) is:

cos x = 1 x 2 2 ! + x 4 4 ! x 6 6 ! + ... = n = 0 1 n 2 n ! x 2 n

wherex 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 angle in degrees. Then the program uses a loop for adding the terms of the Taylor series. If anis the nth term in the series, then the sum Snof the n terms is S n = S n 1 + a n . In each pass calculate the estimated error E given by E = S n S n 1 S n 1 . Stop adding terms when E 0.000001 . The program displays the value of cos(x). Use the program for calculating:

  1. Cos(35°)
  2. sin(125°)

Compare the values with those obtained by using a calculator.

Blurred answer
Students have asked these similar questions
Q2 but when you get to part 3, can you please draw it out
please solve manually. I need the drawing and the values too. Thank you!
Two alternators, Y-connected 6.6 kV supply a load of 3000 kW at 0.8 p.f lagging. The synchronous mpedance of first alternator is (0.5+j10) Q/ph and second alternator is (0.4+j12) /ph. First alternator delivers 150 amp at 0.875 lag p.f. The two alterators are shared load equally. Determine the current, p.f., induced e.m.f, load angel, and maximum developed power of each alternator?

Chapter 6 Solutions

EBK MATLAB: AN INTRODUCTION WITH APPLIC

Knowledge Booster
Background pattern image
Electrical Engineering
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, electrical-engineering and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:PEARSON
Text book image
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Electrical Engineering
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Text book image
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:9780078028229
Author:Charles K Alexander, Matthew Sadiku
Publisher:McGraw-Hill Education
Text book image
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:9780134746968
Author:James W. Nilsson, Susan Riedel
Publisher:PEARSON
Text book image
Engineering Electromagnetics
Electrical Engineering
ISBN:9780078028151
Author:Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:Mcgraw-hill Education,
But what is the Fourier Transform? A visual introduction.; Author: 3Blue1Brown;https://www.youtube.com/watch?v=spUNpyF58BY;License: Standard YouTube License, CC-BY