# Find a variable to make equation = 0

7 visualizaciones (últimos 30 días)
Plamen Dimitrov el 5 de Jul. de 2021
Editada: Matt J el 5 de Jul. de 2021
Sorry if the question is of the most newbie kind, but my education is not in english so even searching for explanation of the most basic of math problems is really hard.
I'm struggling with this equation: I need to find for which value of w, the answer (wsr) will be 0.
This is the code I've written so far but ofc it doesnt give me the answer I need so any pointers how to fix are very much appreciated!
syms w
ky = 175;
kob = 0.5;
Tob = 40;
wsr = sqrt(ky^2*(1+ky*kob+w^2*Tob^2)^2) + (w*ky^2*kob*Tob)^2 / (1+ky+kob)^2+w^2*Tob^2
##### 0 comentariosMostrar -2 comentarios más antiguosOcultar -2 comentarios más antiguos

Iniciar sesión para comentar.

### Respuestas (2)

Amit Bhowmick el 5 de Jul. de 2021
use fzero or fsolve to find the roots.
##### 0 comentariosMostrar -2 comentarios más antiguosOcultar -2 comentarios más antiguos

Iniciar sesión para comentar.

Matt J el 5 de Jul. de 2021
For the data that you have shown, there is no solution. Whenever ky^2*kob*Tob is non-zero, then the only possible location where wsr can be zero is at w=0 because otherwise the numerator will be strictly positive.
##### 2 comentariosMostrar NingunoOcultar Ninguno
Plamen Dimitrov el 5 de Jul. de 2021
Editada: Plamen Dimitrov el 5 de Jul. de 2021
This is what I was given to calculate a certain frequency for a PD regulator. It should be a complex number from which I only need the real value.
Edit: This is the whole thing
Matt J el 5 de Jul. de 2021
Editada: Matt J el 5 de Jul. de 2021
There is no solution for A(w)=0. There is a solution for Re{R(jw)}=0, but you can solve that by hand.

Iniciar sesión para comentar.

### Categorías

Más información sobre Common Operations en Help Center y File Exchange.

### Community Treasure Hunt

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

Start Hunting!

Translated by