Write a function named summation to calculate the result of the following series. Your function must take an odd number
Posted: Wed Apr 27, 2022 3:10 pm
Matlab
Write a function named summation to calculate the result of the following series. Your function must take an odd number N as the input argument. If you do not solve the question without implementing and calling the summation function, you will get a zero grade even if your printed result is correct. 13 1 5 9 + 3 7 11 N – 2 + N 15 Example run outputs: >> summation (21) ans 37 pdf
NİVERSİTESİ Example run outputs: >> summation (21) ans = 0.4653 >> summation (27) ans = 0.4782 e 0:19:31 -com-Res par
Write a function named summation to calculate the result of the following series. Your function must take an odd number N as the input argument. If you do not solve the question without implementing and calling the summation function, you will get a zero grade even if your printed result is correct. 13 1 5 9 + 3 7 11 N – 2 + N 15 Example run outputs: >> summation (21) ans 37 pdf
NİVERSİTESİ Example run outputs: >> summation (21) ans = 0.4653 >> summation (27) ans = 0.4782 e 0:19:31 -com-Res par