Dear All,
 
please provide some insights for the following:
 
we have:
 
D1 <-c(0.2,0.6,0.8)
D2 <-c(114,190,304)
IC501 <-0.62             
IC502 <-137.8
ECON <-5.95
ALPHA <-0.00005
M1 <-0.84 
M2 <-0.96
 
and the equation:
 
1 = 
D1/(IC501*((E/(ECON-E))^(1/M1)))+D2/(IC502*((E/(ECON-E))^(1/M2)))+(ALPHA*D1*D2)/(IC501*IC502*((E/(ECON-E))^(0.5/M1+0.5/M2)))
 
In this equation the value for parameter "E" is what I am trying to calculate 
(all other parameters are known) for each pairs of D1 and D2 (ie: input D1[1] 
and D2[1] and the rest of the parameters first then substitute D1[2] and D2[2], 
then substitute D1[3] and D2[3]). It seems as if the equation can not be 
re-arranged so that "E" could be directly calculated, so looking to see if you 
could help me perhaps with a thought on how this could be solved with R,
 
thanks as always,
 
Andras  
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to