how to write the code code for this operation right?

1 Ansicht (letzte 30 Tage)
Fulbert Nguepi
Fulbert Nguepi am 10 Okt. 2021
Kommentiert: Walter Roberson am 12 Nov. 2021
how to write the code of the term on the right?
  3 Kommentare
Fulbert Nguepi
Fulbert Nguepi am 11 Nov. 2021
Sorry it was a mistake
Walter Roberson
Walter Roberson am 12 Nov. 2021
Easy way to fix the mistake: post the question text again.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 10 Okt. 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 = 

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by