Exp Function

์ง€์ˆ˜๋งŒํผ ๊ฑฐ๋“ญ ์ œ๊ณฑ๋œ ์ž์—ฐ ๋กœ๊ทธ์˜ ๋ฐ‘์ˆ˜(e = 2.718282)๋ฅผ ๊ตฌํ•ฉ๋‹ˆ๋‹ค.

๊ตฌ๋ฌธ:


Exp (Number)

๋ฐ˜ํ™˜ ๊ฐ’:

Double

๋งค๊ฐœ ๋ณ€์ˆ˜:

Number: ์ž์—ฐ ๋กœ๊ทธ์˜ ๋ฐ‘์ˆ˜์ธ "e"๋ฅผ ๊ฑฐ๋“ญ ์ œ๊ณฑํ•  ์ง€์ˆ˜๋ฅผ ์ง€์ •ํ•˜๋Š” ์ž„์˜์˜ ์ˆซ์ž ์‹์ž…๋‹ˆ๋‹ค. ์ง€์ˆ˜๋Š” 88.02969๋ณด๋‹ค ์ž‘๊ฑฐ๋‚˜ ๊ฐ™์€ ๋‹จ์ •๋ฐ€๋„ ์ˆซ์ž ๋ฐ 709.782712893๋ณด๋‹ค ์ž‘๊ฑฐ๋‚˜ ๊ฐ™์€ ๋ฐฐ์ •๋ฐ€๋„ ์ˆซ์ž์—ฌ์•ผ ํ•˜๋ฉฐ, ์ด๋Ÿฌํ•œ ๊ฐ’์„ ์ดˆ๊ณผํ•  ๊ฒฝ์šฐ LibreOffice Basic์€ ์˜ค๋ฒ„ํ”Œ๋กœ์šฐ ์˜ค๋ฅ˜๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.

Error codes:

5 ์ž˜๋ชป๋œ ํ”„๋กœ์‹œ์ € ํ˜ธ์ถœ์ž…๋‹ˆ๋‹ค.

์˜ˆ:


Sub ExampleLogExp
Dim dValue As Double
    Const b1=12.345e12
Const b2=1.345e34
    dValue=Exp( Log(b1)+Log(b2) )
    MsgBox "" & dValue & chr(13) & (b1*b2) ,0,"Multiplication by logarithm"
End Sub

Please support us!