Data science hw problem that i cant solve

1 day ago 6
ARTICLE AD BOX

Create array Array1 that contains the following elements: [1.1,1.2,1.3,1.4,…,30.0][1.1,1.2,1.3,1.4,…,30.0]. i.e., an array starting from 1.1 and jumps of size 0.1.

Generate Array2 from Array1 that follows

The 1st element in Array2 is the 1st element in Array1.

Starting from the 2nd element in Array 2, we have

the 2nd element in Array2 is the 2nd element in Array1 minus the 1st element in Array 1

the 3rd element in Array2 is the 3rd element in Array1 minus the 2nd element in Array1

the 4th element in Array2 is the 4th element in Array1 minus the 3rd element in Array1

...

Compute the sum of square roots of all the even elements in Array1 (2nd element, 4th element, 6th element,...).
Read Entire Article