Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

(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

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

Professional Visual Basic 6 Databases

Authors: Charles Williams

1st Edition

1861002025, 978-1861002020

More Books

Students also viewed these Databases questions