how to write the code code for this operation right?

14 views (last 30 days)
how to write the code of the term on the right?
  3 Comments
Walter Roberson
Walter Roberson on 12 Nov 2021
Easy way to fix the mistake: post the question text again.

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 10 Oct 2021
syms alpha h n u(x,t)
Pi = sym(pi);
part1 = u(x-n*h,t) + u(x+n*h,t)
part1 = 
part2 = (-1)^n * gamma(alpha+1) / gamma(n+1) / gamma(alpha-n+1)
part2 = 
part3 = symsum(part1 * part2, n, 0, inf)
part3 = 
right_side = 1/(2*cos(Pi*alpha/2)) / h^alpha * part3
right_side = 

More Answers (0)

Categories

Find more on Downloads in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!