problem with calculation limit

13 visualizzazioni (ultimi 30 giorni)
saeed taheri
saeed taheri il 25 Mar 2015
Modificato: Roger Stafford il 25 Mar 2015
Hi, I have recently used matlab to calculate the limit of the following function when E goes to minus infinity:
-E*(log(1/(exp(3*E) + 1))/(exp(3*E) + 1) - log(1/(exp(3*E + 3*a) + 1))/(exp(3*E + 3*a) + 1))
But Matlab returns:
limit(-E*(log(1/(exp(3*E) + 1))/(exp(3*E) + 1) - log(1/(exp(3*E + 3*a) + 1))/(exp(3*E + 3*a) + 1)), E == -Inf)
Does anybody knows what is going on? Am I doing something wrong?

Risposte (1)

Roger Stafford
Roger Stafford il 25 Mar 2015
Modificato: Roger Stafford il 25 Mar 2015
I would think the limit is zero by L'Hospital's rule, but it is possible that matlab's 'limit' function either doesn't know how to determine that or else it objects to the presence of the unknown variable 'a'. Try giving 'a' a specific value and see how it performs.

Categorie

Scopri di più su Programming in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by