how to write the code code for this operation right?

1 visualizzazione (ultimi 30 giorni)
Questo/a domanda è stato/a segnalato/a da Walter Roberson
how to write the code of the term on the right?
  3 Commenti
Walter Roberson
Walter Roberson il 12 Nov 2021
Easy way to fix the mistake: post the question text again.

Accedi per commentare.

Risposta accettata

Walter Roberson
Walter Roberson il 10 Ott 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 = 

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by