Forgot password
 Register account
View 2080|Reply 1

请教求积分时整数怎么表示?

[Copy link]

414

Threads

1641

Posts

15

Reputation

Show all posts

abababa posted 2015-12-17 14:48 |Read mode
例如
Integrate[Sin[2 k Pi x], {x, 0, 1}]
当$k$是整数时结果是0,这个$k$是整数要怎么在代码里表示?

414

Threads

1641

Posts

15

Reputation

Show all posts

original poster abababa posted 2017-1-15 09:43
回复 1# abababa

这个我现在会了 像下面这样,用assumptions来限制
Integrate[Sin[2k Pi x],{x,0,1},Assumptions->k \[Element] Integers]
最后那个\[Element],打的时候是按一下esc键,然后打“el空格”,就出来了。

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-20 05:59 GMT+8

Powered by Discuz!

Processed in 0.010946 seconds, 22 queries