# How to solve this equation?

**URL:** <https://community.wolfram.com/t/how-to-solve-this-equation/15224>\
**Category:** Questions\
**Tags:** equation-solving\
**Created:** [January 9, 2020, 3:42pm UTC](https://community.wolfram.com/t/how-to-solve-this-equation/15224 "2020-01-09T15:42:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikkw8391](https://avatars.discourse-cdn.com/v4/letter/n/5daacb/32.png) [@nikkw8391](https://community.wolfram.com/u/nikkw8391)\
**Post date:** [January 9, 2020, 3:42pm UTC](https://community.wolfram.com/t/how-to-solve-this-equation/15224/1 "2020-01-09T15:42:40Z")

</div>

Hey, I got that little equation:  
\sqrt{(\frac{447,15\cdot 10^{-9} \cdot 0,87}{0,21 \cdot \sqrt{(0,87)^2 +(0,21)^2}})^2 \cdot (0,02)^2 +( \frac{447,15\cdot 10^{-9}}{\sqrt{(0,87)^2+(0,21)^2}}-\frac{447,15\cdot 10^{-9} \cdot \sqrt{(0,87)^2+(0,21)^2}}{(0,21)^2})^2\cdot(0,01)^2}  
I tried several ways to solve this (means it should spit out a simple number) Suggestions?

---

<div class="post-metadata">

**Author:** ![rohitnamjoshi](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@rohitnamjoshi](https://community.wolfram.com/u/rohitnamjoshi)\
**Post date:** [January 9, 2020, 4:18pm UTC](https://community.wolfram.com/t/how-to-solve-this-equation/15224/2 "2020-01-09T16:18:21Z")

</div>

Hi Ness,

\sqrt{(\frac{447,15\cdot 10^{-9} \cdot 0,87}{0,21 \cdot \sqrt{(0,87)^2 +(0,21)^2}})^2 \cdot (0,02)^2 +( \frac{447,15\cdot 10^{-9}}{\sqrt{(0,87)^2+(0,21)^2}}-\frac{447,15\cdot 10^{-9} \cdot \sqrt{(0,87)^2+(0,21)^2}}{(0,21)^2})^2\cdot(0,01)^2}

does not look like an equation. Please post the code that you used to try and evaluate that expression.

---

<div class="post-metadata">

**Author:** ![gianlucagorni](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@gianlucagorni](https://community.wolfram.com/u/gianlucagorni)\
**Post date:** [January 9, 2020, 5:15pm UTC](https://community.wolfram.com/t/how-to-solve-this-equation/15224/3 "2020-01-09T17:15:53Z")

</div>

Replace decimal commas with decimal points, single backslashes with double backslashes, and `\cdot` with just a space:

```
ToExpression["\\sqrt{(\\frac{447.15 10^{-9} 0.87}{0.21 \
\\sqrt{(0.87)^2+(0.21)^2}})^2 (0.02)^2+( \\frac{447.15 \
10^{-9}}{\\sqrt{(0.87)^2+(0.21)^2}}-\\frac{447.15 10^{-9} \
\\sqrt{(0.87)^2+(0.21)^2}}{(0.21)^2})^2 (0.01)^2}", TeXForm, Hold]
ReleaseHold[%]

```

Check carefully the hold expression. You may need to insert extra braces {} in the input to get the correct interpretation.

---

<div class="post-metadata">

**Author:** ![nikkw8391](https://avatars.discourse-cdn.com/v4/letter/n/5daacb/32.png) [@nikkw8391](https://community.wolfram.com/u/nikkw8391)\
**Post date:** [January 9, 2020, 6:10pm UTC](https://community.wolfram.com/t/how-to-solve-this-equation/15224/4 "2020-01-09T18:10:21Z")

</div>

let’s say g = … now solvable?

---

<div class="post-metadata">

**Author:** ![nikkw8391](https://avatars.discourse-cdn.com/v4/letter/n/5daacb/32.png) [@nikkw8391](https://community.wolfram.com/u/nikkw8391)\
**Post date:** [January 9, 2020, 6:16pm UTC](https://community.wolfram.com/t/how-to-solve-this-equation/15224/5 "2020-01-09T18:16:04Z")

</div>

I mean I managed to transform my “equation” to Wolfram-code and set: solve g= Sqrt[({447, (15 0)/10^9, 87}/{0, 21 Sqrt[{0, 87}^2 + {0, 21}^2]})^2 {0, 2}^2 + ({447, 15/10^9}/Sqrt[{0, 87}^2 + {0, 21}^2] - {447, (15 Sqrt[{0, 87}^2 + {0, 21}^2])/10^9}/{0, 21}^2)^2 {0, 1}^2]. Now it’s just computing and computing

---

<div class="post-metadata">

**Author:** ![rohitnamjoshi](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@rohitnamjoshi](https://community.wolfram.com/u/rohitnamjoshi)\
**Post date:** [January 9, 2020, 7:21pm UTC](https://community.wolfram.com/t/how-to-solve-this-equation/15224/6 "2020-01-09T19:21:26Z")

</div>

As Gianluca pointed out, that is not valid Wolfram code, decimal commas need to be replaced with decimal points etc. Check his answer, it gives the following

\sqrt{0.01^2 \left(\frac{1}{447.151^9 \sqrt{0.87^2+0.21^2}}-\frac{\sqrt{0.87^2+0.21^2}}{447.151^9 0.21^2}\right)^2+0.02^2 \left(\frac{0.87}{447.151^9 \left(0.21 \sqrt{0.87^2+0.21^2}\right)}\right)^2}

and corresponding WL code

```
Sqrt[(0.87/(447.151^9*(0.21*Sqrt[0.87^2 + 0.21^2])))^2*0.02^2 + 
   (1/(447.151^9*Sqrt[0.87^2 + 0.21^2]) - Sqrt[0.87^2 + 0.21^2]/(447.151^9*0.21^2))^2*0.01^2]

```

If that looks right then evaluate it. The result is

```
2.9798*10^-25

```
