MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / tanOfInverseTrig

Function tanOfInverseTrig

src/compute-engine/boxed-expression/solve.ts:1922–1935  ·  view source on GitHub ↗

* `tan(f(arg))` as an algebraic expression in `arg`, for a real-principal-branch * inverse-trig function `f`; `null` for anything else. Used to clear two * *different* inverse-trig functions from an equation `g(x) = h(x)` by applying * `tan` to both sides (ROADMAP B9).

(op: string, arg: Expression)

Source from the content-addressed store, hash-verified

1920 trace,
1921 stats
1922 );
1923}
1924
1925/**
1926 * Core solver for √f = e - sign·√g (after isolating one sqrt)
1927 */
1928function solveTwoSqrtEquationCore(
1929 ce: ComputeEngine,
1930 fExpr: Expression,
1931 gExpr: Expression,
1932 eExpr: Expression,
1933 gSign: number,
1934 variable: string,
1935 trace?: RuleSteps,
1936 stats?: RootStats
1937): Expression[] | null {
1938 // We have: √f = e - gSign·√g

Callers 1

solveInverseTrigEquationFunction · 0.85

Calls 2

sqrt1mSqFunction · 0.85
divMethod · 0.65

Tested by

no test coverage detected