Hi there,
You can solve equations like you have. I have taken a portion of your formula and made it into a compatible string to show you how to set it up:
library(Ryacas)
yac("Solve((z+20*0.1831563889e-1*exp(4)) == 0, z)")
#> [1] "{z== -0.3663127778*exp(4)}"
Created on 2021-10-23 by the reprex package (v2.0.0)
As you can see in this example I replace the specific variables with their actual values and pasted the equation as a string. Depending on complexity etc it will then run and see if it can find a solution for your formula.