> 数学 >
如何用Matlab求sin(bx)exp(ax)-c=0的解?
已知:a,b,c都是常数,求:sin(bx)exp(ax)-c=0的解.即求x.
举例最好!
人气:281 ℃ 时间:2020-06-29 07:56:55
解答
sin(bx)exp(ax)-c
不妨设b=2,a=3,c=2
则有:
exp(2*x)*sin(3*x)-2=0
在matlab输入:
x = fzero(@(x)exp(2*x)*sin(3*x)-2,0)
得解为:
x=0.3887
推荐
猜你喜欢
© 2025 79432.Com All Rights Reserved.
电脑版|手机版