my problem ∏n=0 ^∞ x\ (n!) ^2 but my code did't work just say error: 'n' undefined near line 5 column 10 error: called from

2 visualizzazioni (ultimi 30 giorni)
x= (input("1.tam sayi: "));
n= (input("2.tam sayi: "));
function[S]=yanit6(x,n)
c=0;
for i =0:n
c= c+ (x\(factorial(n)^2))
end
end

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by