Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are to write a MATLAB function to find the cube root of a complex number. In general, a complex number z is represented as

image text in transcribedimage text in transcribed

You are to write a MATLAB function to find the cube root of a complex number. In general, a complex number z is represented as where z1 and z2 are real numbers and i is the imaginary unit. In MATLAB (or Octave), you can compose z out of x and y from the statement z = complex (21, 22) and recover z1 and z2 from z using z1 = real(z), z2 = imag( z) Given the complex number a = a1 +1a2, we are looking for a root of where is described in (1). You are to use this function to compute the cube root of a using Newton's method for two variables To do that, we represent the complex numbers z and a as vectors with two real components. That is the vectors 2 0 2 represent in (1) and a = a1 + 1a2 Then we write f(z) as a function of the two real numbers z1 and z2 parameterized by the two real numbers a1 and a2. Equation (2) my be written f(z; a)-g1 (21, 22; a) + ig2 (,22; a) = 0 where g1(-) and g2 are real valued functions. For f(z) to be zero, both 91(21, 22 and g2(21,22) must be zero since the real and imaginary parts separate. If we let 91 21, 22; a 92(21, 22; a) You are to write a MATLAB function to find the cube root of a complex number. In general, a complex number z is represented as where z1 and z2 are real numbers and i is the imaginary unit. In MATLAB (or Octave), you can compose z out of x and y from the statement z = complex (21, 22) and recover z1 and z2 from z using z1 = real(z), z2 = imag( z) Given the complex number a = a1 +1a2, we are looking for a root of where is described in (1). You are to use this function to compute the cube root of a using Newton's method for two variables To do that, we represent the complex numbers z and a as vectors with two real components. That is the vectors 2 0 2 represent in (1) and a = a1 + 1a2 Then we write f(z) as a function of the two real numbers z1 and z2 parameterized by the two real numbers a1 and a2. Equation (2) my be written f(z; a)-g1 (21, 22; a) + ig2 (,22; a) = 0 where g1(-) and g2 are real valued functions. For f(z) to be zero, both 91(21, 22 and g2(21,22) must be zero since the real and imaginary parts separate. If we let 91 21, 22; a 92(21, 22; a)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Application Development And Design

Authors: Michael V. Mannino

1st Edition

0072463678, 978-0072463675

More Books

Students also viewed these Databases questions

Question

When should you not use a buffer?

Answered: 1 week ago

Question

=+3. Is pay for performance effective? Why or why not?

Answered: 1 week ago

Question

Find the derivative of y= cos cos (x + 2x)

Answered: 1 week ago

Question

What is the purpose of the Salary Structure Table?

Answered: 1 week ago

Question

What is the scope and use of a Job Family Table?

Answered: 1 week ago