How to solve two complex equations by one another?

조회 수: 2 (최근 30일)
Julia de Lange
Julia de Lange 2018년 7월 26일
댓글: Julia de Lange 2018년 7월 27일
I'm trying to solve two complex equations by one another, to determine a scaling factor "m". Basically I want to define a relationship between the two equations, in terms of one single number. This is what I have so far, however it keeps returning Empty sym. Can anyone advise? Thank you!
sym x
m = (88140000/x^(39/50) + 42590)/(12700000000000000/x^(103/25) + 575700)
solve(m,x)
end
  댓글 수: 3
Julia de Lange
Julia de Lange 2018년 7월 26일
What is your question?
Ben Frankel
Ben Frankel 2018년 7월 26일
I don't see any equations. What exactly are you expecting MATLAB to do from that sequence of commands?

댓글을 달려면 로그인하십시오.

채택된 답변

Ajey Pandey
Ajey Pandey 2018년 7월 26일
I think you're calling m incorrectly. To set an equation, you need an == AND an =. The former defines the equation, the latter gives your equation a variable name.
Try this:
x = sym('x')
eqn = m == (88140000/x^(39/50) + 42590)/(12700000000000000/x^(103/25) + 575700)
result = solve(eqn,x)
I'm not sure if this will return the answer you want, but it'll return a symbolic expression.
  댓글 수: 1
Julia de Lange
Julia de Lange 2018년 7월 27일
Thank you for your response! I'm looking for a numerical value for m, but don't think its possible.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by