Better yet:
#+begin_src calc :wrap "src calc :var var-s2=1"
fsolve([8.66e10 = r * v, -7.51e6 = 0.5*v^2 - 6.67e-11*6e24/r],[r,v])
#+end_src
El 2016-06-26 15:53, Miguel Ruiz escribió:
Hi,
I have this block which is intended to get the two numerical solutions
of the equations system:
#+begin_s
Not optimal solution:
#+begin_src calc :results code
fsolve([8.66e10 = r * v, -7.51e6 = 0.5*v^2 - 6.67e-11*6e24/r],[r,v])
#+end_src
yields
#+RESULTS:
#+BEGIN_SRC calc
[r = 866. / (4621.24711316 - 2517.12631405 s2), v =
4621.24711316 - 2517.12631405 s2]
#+END_SRC
Manually add :var cla
Hi,
I have this block which is intended to get the two numerical solutions
of the equations system:
#+begin_src calc
fsolve([8.66e10 = r * v, -7.51e6 = 0.5*v^2 - 6.67e-11*6e24/r],[r,v])
#+end_src
This way I get the generic form of a multiple solution, and citing the
manual "It will invent va