install.packages("rootSolve")
library("rootSolve")
model <- function(x) {
F1 <- x[1]^4 + x[2]^4 + 2*x[1]^2*x[2]^2 - 5*x[1]*x[2] -15
F2 <- 2*x[1]^4 + 5*x[2]^4 + x[1]^3*x[2] - 6*x[1]*x[2]^3 - 36
c(F1 = F1, F2 = F2)
}
(ss <- multiroot(f = model, start = c(1, 1)))


雷达卡
京公网安备 11010802022788号







