# 数値的な根の探索（find_root）

初期値から数値的に根を求めます。

## 書き方

### find_root(equation, x = a)

**equation**

方程式、または根で0になる式。方程式または式を受け取ります。

**x = a**

変数と開始値。値が設定された変数を受け取ります。

## 例題

- $\displaystyle \cos(x) = x \Rightarrow x = 0.7390851332151607$

  `find_root(cos(x) = x, x = 1)`

  ソルバーでは、`find_root(cos(x) = x, x = 1)` の答えは `[x -> 0.7390851332151607]` です。

  [ソルバーで開く](https://ja.hilberon.com/?q=find_root%28cos%28x%29%20%3D%20x%2C%20x%20%3D%201%29)

## 例題で使っている関数

- [cos](https://ja.hilberon.com/library/cos)

  角度（ラジアン）の余弦。

## 関連する関数

- [find_instance](https://ja.hilberon.com/library/find_instance)

  条件を満たす点。存在しない場合は空のリスト。
- [least_squares](https://ja.hilberon.com/library/least_squares)

  A x = b の最小二乗解。
- [linear_solve](https://ja.hilberon.com/library/linear_solve)

  行列と右辺で与えられた線形方程式系 A x = b を解きます。
- [eliminate](https://ja.hilberon.com/library/eliminate)

  連立方程式から変数を消去し、残りの変数だけの方程式を返します。
- [numeric_solve](https://ja.hilberon.com/library/numeric_solve)

  方程式を数値的に解きます。
- [solve_identity](https://ja.hilberon.com/library/solve_identity)

  変数のすべての値に対して方程式を真にするパラメータの値を求めます。

---
Source: https://ja.hilberon.com/library/find_root
