Please i need assistance with the code of attached file equation (3.59 ), Please help.

Answers (1)

n=10;%not given
k=1:2*n;
E=0.1005;
Sk=cos(1/n*asinh(1/E))*cos(pi/2)*(2*k-1)/n;%since cos(pi/2) is zero, this equation is always zero and does not make much sense to me.

2 Comments

Hello Sir,
I have attached the documents for your clearity.
Equation 3.51.
I appreciate your prompt response please.
It is still not clear what you are doing with the Sk values, but the correct equation is:
n=10;%not given
k=1:2*n;
E=0.1005;
Sk=cosh(1/n*asinh(1/E))*cos(pi*(2*k-1)/(2*n));

Sign in to comment.

Tags

Asked:

on 8 Jun 2020

Commented:

on 8 Jun 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!