maxima - 在 Maxima 中对非连续函数执行拉普拉斯变换
问题描述
我正在计算以下函数的拉普拉斯变换,但是在 and 上使用 and 等得到一些奇怪limit
的realpart
输出。我期望的是类似于and的东西。(%t5)
(%t6)
a_n = 0
b_n = -1/(n*%pi)
为什么会这样?我是否(%i1)
错误地定义了函数?或者这是千里马的限制?
(%i1) f(t) := mod(t, 1);
(%o1) f(t) := mod(t, 1)
(%i2) plot2d(f(t), [t, -2, 2]);
(%o2) [/tmp/maxout1266174.gnuplot_pipes]
(%i3) load(fourie);
(%o3) /usr/share/maxima/5.43.0/share/calculus/fourie.mac
(%i4) fourier(f(t), t, 1);
1
(%t4) a = -
0 2
/
[
(%t5) a = limit I cos(%pi n t) realpart(floor(t)) dt
n t -> - 1 ]
/
/
[
- limit I cos(%pi n t) realpart(floor(t)) dt
t -> 1 ]
/
/
[
(%t6) b = (- limit I sin(%pi n t) realpart(floor(t)) dt)
n t -> 1 ]
/
/
[ 2 sin(%pi n) 2 cos(%pi n)
+ limit I sin(%pi n t) realpart(floor(t)) dt + ------------ - ------------
t -> - 1 ] 2 2 %pi n
/ %pi n
(%o6) [%t4, %t5, %t6]
(%i7)
解决方案
推荐阅读
- java - 在 prepareStatement 中使用 COALESCE 来“插入”cmd
- c# - 限制类实例化并将其封装在另一个类的属性中
- python - 在 Telethon 中查看已删除消息的文本或发件人
- django - 处理 django url 中的 html 特殊字符
- c# - 是否有读取整个控制台的功能?
- html - ul 元素在反应中没有定位在中心
- facebook - 如何使用 facebook 应用程序和 webhook 从多个 facebook 页面获取潜在客户?
- javascript - 通过使用 setInterval 动态改变值
- r - R ggplot 直方图组显示两组的总和
- mysql - 尝试在 mysql 中加入多个表 - 得到错误 1054,未知列