64 570
Assignments Done
99,2%
Successfully Done
In September 2018

Answer to Question #63957 in MatLAB | Mathematica | MathCAD | Maple for Jack

Question #63957
Create a function file called seqSum.m for this problem.
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
Expert's answer

Not answered

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions