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) ?

Risposte (2)

Azzi Abdelmalek
Azzi Abdelmalek il 21 Mag 2013
w=0.5
syms k
result=double(solve(w==2*k/log((1+k)/(1-k)),'k'))

1 Commento

Monica
Monica il 21 Mag 2013
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.

Accedi per commentare.

Azzi Abdelmalek
Azzi Abdelmalek il 21 Mag 2013
Modificato: Azzi Abdelmalek il 21 Mag 2013
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])

Categorie

Scopri di più su Optimization in Centro assistenza e File Exchange

Richiesto:

il 21 Mag 2013

Community Treasure Hunt

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

Start Hunting!

Translated by