Non-linear equation roots

If I have the equation: w = 2k / ln[(1+k)/(1-k)] ,w ∈ (0,1) knowing that k is a root how can I show that for fixed w , -k is also a root and that k is the only root in (0,1) ?

回答(2 个)

w=0.5
syms k
result=double(solve(w==2*k/log((1+k)/(1-k)),'k'))

1 个评论

Hi Azzi, I tried the method that you told me but it returns only one root : -0.957 which is not in the interval (0,1). Did I miss something?
Thanks a lot.

请先登录,再进行评论。

Azzi Abdelmalek
Azzi Abdelmalek 2013-5-21
编辑:Azzi Abdelmalek 2013-5-21
You can use fzero with starting interval
w=0.5;
f=@(k) 2*k/log((1+k)/(1-k))-w
x=fzero(f,[eps 1])

类别

帮助中心File Exchange 中查找有关 Optimization 的更多信息

提问:

2013-5-21

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by