Re: [R] solving simultaneous Equations in R

2013-12-12 Thread eliza botto
Dear Berend,Got it! Thankyou very much indeed for your kind support and elaborating the issue.I'm Extremely grateful!!! Eliza > Subject: Re: [R] solving simultaneous Equations in R > From: b...@xs4all.nl > Date: Thu, 12 Dec 2013 09:01:02 +0100 > CC: r-help@r-project.o

Re: [R] solving simultaneous Equations in R

2013-12-12 Thread Berend Hasselman
raints. If these constraints are necessary you are not solving a system of equations but trying to find a parameter set that satisfies certain criteria. Together with a criterion (sum of squares of function values for example) you could use an optimizing algorithm (optim, nlmin, constrOptim

Re: [R] solving simultaneous Equations in R

2013-12-11 Thread eliza botto
and is the concept involved for setting "startx". my x[1] should always be smaller than x[2] and they both should be less than 1. how can i demonstrate it to startx command line? thanks for your help. I m grateful. Eliza > Subject: Re: [R] solving simultaneous Equations in R >

Re: [R] solving simultaneous Equations in R

2013-12-11 Thread Berend Hasselman
On 11-12-2013, at 12:16, eliza botto wrote: > Dear users of R, > I'm trying to solve the following 2 equations simultaneously in R for "x" and > "y". I couldn't get through due to my limited knowledge of R. > > 3=1-[(x-1)!(2x-y-1)!/(2x-1)!(x-y-1)!] > > 6={[(x-y-1)!/(x-1)!]-[3(2x-y-1)!/(2x-1)

[R] solving simultaneous Equations in R

2013-12-11 Thread eliza botto
Dear users of R, I'm trying to solve the following 2 equations simultaneously in R for "x" and "y". I couldn't get through due to my limited knowledge of R. 3=1-[(x-1)!(2x-y-1)!/(2x-1)!(x-y-1)!] 6={[(x-y-1)!/(x-1)!]-[3(2x-y-1)!/(2x-1)!]+[2(3x-y-1)!/(3x-1)!]}/{[(x-y-1)!/(x-1)!]-[(2x-y-1)!/(2x-1)