Write a function seqSum(a, N) that returns the sum of the sequence of a, a/2, a/3, ..., a/N where a and N are integers. The function should return the value of a + a/2 + a/3 + ... + a/N. You are not allowed to use “for” or “while” loop for this problem.
Hint: create array(s) and then perform the summation.
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments