I want to solve this implicit derivative X^2+y^2=100 using MATLAB ? I want complete solution can any one please help me in this . I am very thankful

3 件のコメント

Walter Roberson
Walter Roberson 2016 年 12 月 23 日
Where is the derivative? What is the function? For example is it
x.^2 + diff(y(x),x,x) == 100
?
Muhammad Daniyal
Muhammad Daniyal 2016 年 12 月 23 日
Its not working btw
John D'Errico
John D'Errico 2016 年 12 月 23 日
編集済み: John D'Errico 2016 年 12 月 23 日
What implicit derivative? That looks like no more than the equation of a circle. Do you just want to compute dy/dX? What is not working? By the way, answers is not here to do your homework (as this clearly is), so that you want a complete solution is something we should not be giving you anyway.
So, when you say it is not working, what have you tried?

サインインしてコメントする。

回答 (2 件)

Walter Roberson
Walter Roberson 2016 年 12 月 23 日

0 投票

dsolve('x^2+D2y=100')

1 件のコメント

Karan Gill
Karan Gill 2016 年 12 月 23 日
Please don't use string input to "dsolve". See my answer below.

サインインしてコメントする。

Karan Gill
Karan Gill 2016 年 12 月 23 日
編集済み: Karan Gill 2017 年 10 月 17 日

0 投票

syms y(x)
D2y = diff(y,x,2);
eqn = x^2 + D2y == 100;
sol = dsolve(eqn)
sol =
C2 + (x*(- x^3 + 600*x + C1))/12
Karan

4 件のコメント

Walter Roberson
Walter Roberson 2016 年 12 月 23 日
The syntax for initial conditions for derivatives is messy if you do not use the string syntax and you are trying to avoid temporary variables. I could not get it to work properly last night -- as in I could get it to not complain about the syntax, but the condition did not work. ... though my tests seem to be working now...
Karan Gill
Karan Gill 2016 年 12 月 23 日
It certainly is more verbose than string input, agreed.
Walter Roberson
Walter Roberson 2016 年 12 月 26 日
I just encountered a case that works for the string version but fails for the expression version due to a toolbox bug. :(
(Karan, if you are interested, see case 02340431, just filed.)
Karan Gill
Karan Gill 2017 年 1 月 10 日
Thanks for reporting the bug, as always. We are looking into it.

サインインしてコメントする。

製品

質問済み:

2016 年 12 月 23 日

編集済み:

2017 年 10 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by