Question: urgent (2 marks) c) Consider K an array that have 100 elements and each element have a value of 1.5 multiple with the value of
urgent

(2 marks) c) Consider K an array that have 100 elements and each element have a value of 1.5 multiple with the value of its previous element with the first element of K = 0.04. If Z in part 1(b) is the real part and K is the imaginary part of array M, M = Z +iK, a set of complex number. i. Write a java code that initialize each elements of M. Treat each element of Mas an object of complex number. (6 marks) ii. Create a method that compute multiplication of two different complex number and calculate the multiplication of M [25] with M [45]. Print the results of the multiplication in scientific notation with two decimal points. (4 marks) (2 marks) c) Consider K an array that have 100 elements and each element have a value of 1.5 multiple with the value of its previous element with the first element of K = 0.04. If Z in part 1(b) is the real part and K is the imaginary part of array M, M = Z +iK, a set of complex number. i. Write a java code that initialize each elements of M. Treat each element of Mas an object of complex number. (6 marks) ii. Create a method that compute multiplication of two different complex number and calculate the multiplication of M [25] with M [45]. Print the results of the multiplication in scientific notation with two decimal points. (4 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
