Path: news.mathworks.com!newsfeed-00.mathworks.com!kanaga.switch.ch!switch.ch!newsfeed.CARNet.hr!aioe.org!.POSTED!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: question on how to integrate an equation
Date: Wed, 18 May 2011 14:20:27 -0700
Organization: Aioe.org NNTP Server
Lines: 31
Message-ID: <ir1d6o$s6c$2@speranza.aioe.org>
References: <ir1anc$mht$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: TUXTYYqX1yG7hs3zxUg7ng.user.speranza.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
X-Notice: Filtered by postfilter v. 0.8.2
Xref: news.mathworks.com comp.soft-sys.matlab:727554

On 5/18/2011 1:38 PM, Peter Schreiber wrote:
> Hello,
> I was wondering if someone has any ideas how to integrate the following equation
>  in matlab. The differential equation that I derived that describes a reflector is as follows:
>
> (x- C - sqrt( (x-C)^2 + y^2 ) * dx + y * dy = 0
>
> where C is a constant. The goal would be to have an implicit
> equation that only contains C, x, and y. All quantities are real.
>
> I would be grateful for any comments.
>
> thanks,
>
> Peter


------------------------------
EDU>> eq = '(x- C - sqrt( (x-C)^2 + y^2 )) * Dx + y=0';
sol=dsolve(eq,'y')
EDU>> sol(1)
-----------------------------
  
  
- (exp(C7)*y^2)/4 + C + 1/exp(C7)
  
C7 is constant of integration.


--Nasser