Borrar filtros
Borrar filtros

Solving Equations by Assuming Values and Iteration

3 visualizaciones (últimos 30 días)
Abdullah
Abdullah el 26 de Dic. de 2011
Hello everyone.
I need a code that can solve two equations:
40*pi*1E3 = sqrt(1/(C1*C2*R3*R4));
40*pi/0.7 = 1/(C1*R3) + 1/(C2*R3);
Now, as you can see that I can not solve this equation unless I make an assumption, now I want MATLAB to assume the all the values of R and C from the standard values list:
I know this will be done using iteration, but unfortunately I can not do that.
Regards

Respuesta aceptada

Walter Roberson
Walter Roberson el 26 de Dic. de 2011
Well, you could assume each of those values, but then what? How would you decide which solution is best? For example are you trying to find the solution with the least difference between the computed values and "standard values" that appear in the table? Or is the solution the one whose values are least under standard values? Or least over?
  2 comentarios
Abdullah
Abdullah el 26 de Dic. de 2011
the solution the one whose values are least under standard values!
yes
Walter Roberson
Walter Roberson el 27 de Dic. de 2011
Please check your equation
40*pi/0.7 = 1/(C1*R3) + 1/(C2*R3);
This is independent of the value of R4 and so is not symmetrical under the operation of simultaneously exchanging C1 with C2 and R3 with R4. If your equations are not symmetrical under interchange of the variables, then you need to do about twice as much work.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by