필터 지우기
필터 지우기

Equation differentiation and substitution

조회 수: 4 (최근 30일)
Ahmed Abed
Ahmed Abed 2019년 6월 12일
댓글: Ahmed Abed 2019년 6월 13일
Sorry if the question has been asked before.
I have two equations, such as
lts=22*(ss/mor)^2.2/(w*(29+N^0.4)) .... equation 1
N=(22*(ss/mor)^(-2.2)/(w*lts)-29)^(5/2) ..... equation 2
where ss, mor, w, lts, and N are variables.
the solution is to diffrentiate the first equation with respect to N then subsititue the second equation in the resulting equation from the differentiation process. Please, could you suggest a solution? Thanks in advance.

채택된 답변

Kaustav Bhattacharya
Kaustav Bhattacharya 2019년 6월 13일
You can use 'syms' to symbolize N, w, ss and mor. Define the first equation 'Its'. Nest use the 'diff' function { diff(lts,N) } to partially differentiate.
  댓글 수: 1
Ahmed Abed
Ahmed Abed 2019년 6월 13일
Hi Kaustav, thanks for the answer
{ diff(lts,N) }=-(44*(ss/mor)^(11/5))/(5*N^(3/5)*w*(N^(2/5) + 29)^2)
this part can be easly solved as you suggested. But how to subsititute equation 2
{N=(22*(ss/mor)^(-2.2)/(w*lts)-29)^(5/2)} in the resulting equation of the diffrentiation process and simplify the result?

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

제품


릴리스

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by