Forgot password?
 Register account
View 2074|Reply 1

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

[Copy link]

411

Threads

1619

Posts

110K

Credits

Credits
11813

Show all posts

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

411

Threads

1619

Posts

110K

Credits

Credits
11813

Show all posts

 Author| 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空格”,就出来了。

Mobile version|Discuz Math Forum

2025-6-5 01:42 GMT+8

Powered by Discuz!

× Quick Reply To Top Edit