Re: [R] solving integral equations with undefined parameters using multiroot

2021-05-06 Thread Abbs Spurdle
lm (cl$y ~ cl$x)$coef (Intercept)cl$x 0.1817509 -1.000 On Fri, May 7, 2021 at 1:56 PM Abbs Spurdle wrote: > > #using vF1 function > #from my previous posts > u <- seq (0, 0.25,, 200) > cl <- contourLines (u, u, outer (u, u, vF1),, 0)[[1]] > plot (cl$x, cl$y, type="l") > > > On Thu

Re: [R] solving integral equations with undefined parameters using multiroot

2021-05-06 Thread Abbs Spurdle
#using vF1 function #from my previous posts u <- seq (0, 0.25,, 200) cl <- contourLines (u, u, outer (u, u, vF1),, 0)[[1]] plot (cl$x, cl$y, type="l") On Thu, May 6, 2021 at 10:18 PM Ursula Trigos-Raczkowski wrote: > > Thanks for your reply. Unfortunately the code doesn't work even when I change

Re: [R] solving integral equations with undefined parameters using multiroot

2021-05-06 Thread Ursula Trigos-Raczkowski
Thanks for your reply. Unfortunately the code doesn't work even when I change the parameters to ensure I have "different" equations. Using mathematica I do see that my two equations form planes, intersecting in a line of infinite solutions but it is not very accurate, I was hoping R would be more a

Re: [R] solving integral equations with undefined parameters using multiroot

2021-05-06 Thread Abbs Spurdle
Just realized five minutes after posting that I misinterpreted your question, slightly. However, after comparing the solution sets for *both* equations, I can't see any obvious difference between the two. If there is any difference, presumably that difference is extremely small. On Thu, May 6, 20

Re: [R] solving integral equations with undefined parameters using multiroot

2021-05-06 Thread Abbs Spurdle
Hi Ursula, If I'm not mistaken, there's an infinite number of solutions, which form a straight (or near straight) line. Refer to the following code, and attached plot. begin code--- library (barsurf) vF1 <- function (u, v) { n <- length (u) k <- numeric (n) for (i in seq_len (n) )

[R] solving integral equations with undefined parameters using multiroot

2021-05-05 Thread Ursula Trigos-Raczkowski
Hello, I am trying to solve a system of integral equations using multiroot. I have tried asking on stack exchange and reddit without any luck. Multiroot uses the library(RootSolve). I have two integral equations involving constants S[1] and S[2] (which are free.) I would like to find what *positiv