MATLAB Answers

Integration fo function A(c) from -inf to +inf

조회 수: 3(최근 30일)
ANUSAI R
ANUSAI R 31 Oct 2019
댓글: ANUSAI R 31 Oct 2019
A(c)= sqrt(m/(2*pi*k*T1))*exp(-m/(2*k*T1)*(c-c_bar1)^2)
where, m , k, T1, c_bar1 are known.

  댓글 수: 1

KALYAN ACHARJYA
KALYAN ACHARJYA 31 Oct 2019
What you have tried so far? here reference link

로그인 to comment.

채택된 답변

Alex Mcaulley
Alex Mcaulley 31 Oct 2019
편집: Alex Mcaulley 31 Oct 2019
A = @(c) sqrt(m/(2*pi*k*T1))*exp(-m/(2*k*T1)*(c-c_bar1)^2)
q = integral(A,-inf,inf)

  댓글 수: 3

Cyrus Tirband
Cyrus Tirband 31 Oct 2019
Will not work if you don't use point-wise exponentiation for the last part:
A = @(c) sqrt(m/(2*pi*k*T1))*exp(-m/(2*k*T1)*(c-c_bar1).^2)
Alex Mcaulley
Alex Mcaulley 31 Oct 2019
True @Cyrus ;)
ANUSAI R
ANUSAI R 31 Oct 2019
Thank you.

로그인 to comment.

추가 답변(0개)

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by