# Using NLsolve to get solution to symbolic system of equations

**URL:** <https://discourse.julialang.org/t/using-nlsolve-to-get-solution-to-symbolic-system-of-equations/78982>\
**Category:** New to Julia\
**Created:** [April 4, 2022, 4:26am UTC](https://discourse.julialang.org/t/using-nlsolve-to-get-solution-to-symbolic-system-of-equations/78982 "2022-04-04T04:26:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zack\_Wolf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zack_wolf/32/35174_2.png) [@Zack\_Wolf](https://discourse.julialang.org/u/Zack_Wolf)\
**Post date:** [April 4, 2022, 4:26am UTC](https://discourse.julialang.org/t/using-nlsolve-to-get-solution-to-symbolic-system-of-equations/78982/1 "2022-04-04T04:26:51Z")

</div>

Hi,

I have two symbolic equations I obtained using the Symbolic package. I want to solve for the two variables “b” and “m”. The equations are both set equal to zero. They are nonlinear, so I’m assuming that using NLsolve package would be the way to go, but I’m not really sure how to work with symbolic equations in NLsolve. If anyone could give me any suggestions/help it would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [April 4, 2022, 4:43am UTC](https://discourse.julialang.org/t/using-nlsolve-to-get-solution-to-symbolic-system-of-equations/78982/2 "2022-04-04T04:43:55Z")

</div>

I don’t think you can use the package NLsolve.jl for this purpose.

---

<div class="post-metadata">

**Author:** ![Zack\_Wolf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zack_wolf/32/35174_2.png) [@Zack\_Wolf](https://discourse.julialang.org/u/Zack_Wolf)\
**Post date:** [April 4, 2022, 4:59am UTC](https://discourse.julialang.org/t/using-nlsolve-to-get-solution-to-symbolic-system-of-equations/78982/3 "2022-04-04T04:59:52Z")

</div>

Do you know if there is another way to solve? Maybe convert the symbolic equations into another form?

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [April 4, 2022, 5:28am UTC](https://discourse.julialang.org/t/using-nlsolve-to-get-solution-to-symbolic-system-of-equations/78982/4 "2022-04-04T05:28:45Z")

</div>

I would try [https://github.com/JuliaPy/SymPy.jl](https://github.com/JuliaPy/SymPy.jl)

[https://docs.juliahub.com/SymPy/KzewI/1.1.4/Tutorial/solvers/#Solving-Equations-Algebraically-1](https://docs.juliahub.com/SymPy/KzewI/1.1.4/Tutorial/solvers/#Solving-Equations-Algebraically-1)
