GenerateSimilar - Maple Help

RandomTools

 GenerateSimilar
 create a random expression similar to the one given

 Calling Sequence GenerateSimilar( expr )

Parameters

 expr - integer, float, polynomial, or general expression

Description

 • The GenerateSimilar command produces a new expression that is similar to the given expression expr. The structure and variables in the original expression are preserved, but new constants and coefficients replace the initial ones. The random floating-point numbers and integers in the new expression are the same magnitude as in the original.
 • Trig functions are not always preserved: sin and cos can switch, sec and csc can switch, and tan and cot can switch. The inverse trig functions are paired and can switch in the same way.
 • Inputting a polynomial that can be factored and has integer roots returns a polynomial of the same order that can be factored and has integer roots.
 • If a polynomial is input without integer roots then a polynomial up to the same degree as the input polynomial with random coefficients up to the same order of magnitude as the largest integer in the input expression is returned.
 • Numerators and denominators of input rational expressions are replaced in the same way as polynomials with the additional feature that if the numerator and denominator have a common root then the returned rational expression also has a shared root in its numerator and denominator.
 • If a singular square matrix is input then a singular square matrix is output. Inputting upper triangular, lower triangular, diagonal, symmetric, hermitian, or antisymmetric matrices returns the same type. Otherwise the elements of the output matrix are generated individually from each element of the input matrix.
 • Rational and integer exponents of functions or expressions (other than exponential functions) are preserved.
 • If an integral is passed into the function then the resultant integral will be solvable using the same integration technique (u substitution, partial fractions, trig substitution, integration by parts).
 • If an equation is passed into GenerateSimilar then a similar equation is output: radical equations produce radical equations, polynomial equations produce polynomial equations, logarithmic equations produce logarithmic equations, and exponential equations produce exponential equations.
 • Sums over values of binomial or poisson probability distributions produce sums over values of binomial or poisson probability distributions respectively.
 • Expectation value of a function over a binomial or poisson probability distribution returns an expectation value of a similar function over a binomial or poisson probability distribution respectively.
 • Integrals over values of exponential or gaussian probability distributions return integrals over values of exponential or gaussian probability distributions respectively.
 • Expectation value of a function over an exponential or gaussian probability distribution returns an expectation value of a similar function over an exponential or gaussian probability distribution respectively.
 • Parametrizations of circles, ellipses and cycloids return parametrizations of circles, ellipses and cycloids.
 • Differential equations should not be input into GenerateSimilar; for differential equations use GenerateSimilarODE.

Examples

 > $\mathrm{with}\left(\mathrm{RandomTools}\right):$
 > $\mathrm{GenerateSimilar}\left(x\right)$
 ${4}{}{x}{+}{2}$ (1)

The cube on the sin function is preserved.

 > $\mathrm{GenerateSimilar}\left({\mathrm{sin}\left(x\right)}^{3}+3{ⅇ}^{{x}^{2}}\right)$
 ${-}{5}{}{{\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{%cos}}{}\left({x}{-}{7}\right)\right]\right)}^{{3}}{-}{5}{}{\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{%exp}}{}\left({-}{4}{}{{x}}^{{2}}{+}{3}{}{x}\right)\right]\right)$ (2)

Inputting a factorable polynomial returns a factorable polynomial..

 > $\mathrm{factor}\left({r}^{2}+r-6\right)$
 $\left({r}{+}{3}\right){}\left({r}{-}{2}\right)$ (3)
 > $\mathrm{poly1}≔\mathrm{GenerateSimilar}\left({r}^{2}+r-6\right)$
 ${\mathrm{poly1}}{≔}{{r}}^{{2}}{-}{6}{}{r}{-}{16}$ (4)
 > $\mathrm{factor}\left(\mathrm{poly1}\right)$
 $\left({r}{+}{2}\right){}\left({r}{-}{8}\right)$ (5)

A polynomial without integer roots returns a polynomial with random coefficients

 > $\mathrm{solve}\left({r}^{2}-2r+2=0\right)$
 ${1}{+}{I}{,}{1}{-}{I}$ (6)
 > $\mathrm{GenerateSimilar}\left({r}^{2}-2r+2\right)$
 ${{r}}^{{2}}{+}{r}{+}{2}$ (7)

Factorable numerators and denominators remain factorable and if a factor is shared between the numerator and denominator then the resultant rational function will share a factor between numerator and denominator.

 > $\mathrm{factor}\left(\frac{{y}^{2}-1}{y-3}\right)$
 $\frac{\left({y}{-}{1}\right){}\left({y}{+}{1}\right)}{{y}{-}{3}}$ (8)
 > $\mathrm{rational1}≔\mathrm{GenerateSimilar}\left(\frac{{y}^{2}-1}{y-3}\right)$
 ${\mathrm{rational1}}{≔}\frac{{-}{{y}}^{{2}}{+}{4}{}{y}{-}{3}}{{-}{y}{-}{4}}$ (9)
 > $\mathrm{factor}\left(\mathrm{rational1}\right)$
 $\frac{\left({y}{-}{1}\right){}\left({y}{-}{3}\right)}{{y}{+}{4}}$ (10)
 > $\mathrm{factor}\left(\frac{{y}^{2}-1}{y+1}\right)$
 ${y}{-}{1}$ (11)
 > $\mathrm{rational2}≔\mathrm{GenerateSimilar}\left(\frac{{y}^{2}-1}{y+1}\right)$
 ${\mathrm{rational2}}{≔}\frac{{-}{{y}}^{{2}}{+}{11}{}{y}{-}{24}}{{-}{y}{+}{3}}$ (12)
 > $\mathrm{factor}\left(\mathrm{rational2}\right)$
 ${y}{-}{8}$ (13)

Singular matrices return singular matrices.

 > $\mathrm{with}\left(\mathrm{LinearAlgebra}\right):$
 > $\mathrm{Determinant}\left(\mathrm{Matrix}\left(3,3,\left[2,4,6,2,0,2,6,8,14\right]\right)\right)$
 ${0}$ (14)
 > $\mathrm{matrix1}≔\mathrm{GenerateSimilar}\left(\mathrm{Matrix}\left(3,3,\left[2,4,6,2,0,2,6,8,14\right]\right)\right)$
 ${\mathrm{matrix1}}{≔}\left[\begin{array}{ccc}{0}& {3}& {-3}\\ {-2}& {0}& {6}\\ {-1}& {6}& {-3}\end{array}\right]$ (15)
 > $\mathrm{Determinant}\left(\mathrm{matrix1}\right)$
 ${0}$ (16)

Diagonal matrices return diagonal matrices.

 > $\mathrm{matrix2}≔\mathrm{Matrix}\left(3,3,\left[1,0,0,0,-2,0,0,0,7\right]\right)$
 ${\mathrm{matrix2}}{≔}\left[\begin{array}{ccc}{1}& {0}& {0}\\ {0}& {-2}& {0}\\ {0}& {0}& {7}\end{array}\right]$ (17)
 > $\mathrm{GenerateSimilar}\left(\mathrm{matrix2}\right)$
 $\left[\begin{array}{ccc}{4}& {0}& {0}\\ {0}& {-1}& {0}\\ {0}& {0}& {5}\end{array}\right]$ (18)

Upper triangular matrices return upper triangular matrices.

 > $\mathrm{matrix3}≔\mathrm{Matrix}\left(3,3,\left[2,-4,3,0,5,7,0,0,-6\right]\right)$
 ${\mathrm{matrix3}}{≔}\left[\begin{array}{ccc}{2}& {-4}& {3}\\ {0}& {5}& {7}\\ {0}& {0}& {-6}\end{array}\right]$ (19)
 > $\mathrm{GenerateSimilar}\left(\mathrm{matrix3}\right)$
 $\left[\begin{array}{ccc}{9}& {9}& {2}\\ {0}& {7}& {8}\\ {0}& {0}& {-9}\end{array}\right]$ (20)

Lower triangular matrices return lower triangular matrices.

 > $\mathrm{matrix4}≔\mathrm{Matrix}\left(3,3,\left[3,0,0,-1,5,0,7,10,-3\right]\right)$
 ${\mathrm{matrix4}}{≔}\left[\begin{array}{ccc}{3}& {0}& {0}\\ {-1}& {5}& {0}\\ {7}& {10}& {-3}\end{array}\right]$ (21)
 > $\mathrm{GenerateSimilar}\left(\mathrm{matrix4}\right)$
 $\left[\begin{array}{ccc}{10}& {0}& {0}\\ {7}& {7}& {0}\\ {3}& {10}& {-1}\end{array}\right]$ (22)

Symmetric matrices return symmetric matrices.

 > $\mathrm{matrix5}≔\mathrm{Matrix}\left(3,3,\left[1,-9,7,-9,\mathrm{Pi},3,7,3,2\right]\right)$
 ${\mathrm{matrix5}}{≔}\left[\begin{array}{ccc}{1}& {-9}& {7}\\ {-9}& {\mathrm{\pi }}& {3}\\ {7}& {3}& {2}\end{array}\right]$ (23)
 > $\mathrm{GenerateSimilar}\left(\mathrm{matrix5}\right)$
 $\left[\begin{array}{ccc}{5}& {-2}& {2}\\ {-2}& {-}\frac{{5}{}{\mathrm{\pi }}}{{6}}& {1}\\ {2}& {1}& {4}\end{array}\right]$ (24)

Hermitian matrices return hermitian matrices.

 > $\mathrm{matrix6}≔\mathrm{Matrix}\left(3,3,\left[2,-I,7+2I,I,3,8-4I,7-2I,8+4I,1\right]\right)$
 ${\mathrm{matrix6}}{≔}\left[\begin{array}{ccc}{2}& {-I}& {7}{+}{2}{}{I}\\ {I}& {3}& {8}{-}{4}{}{I}\\ {7}{-}{2}{}{I}& {8}{+}{4}{}{I}& {1}\end{array}\right]$ (25)
 > $\mathrm{GenerateSimilar}\left(\mathrm{matrix6}\right)$
 $\left[\begin{array}{ccc}{5}& {3}{}{I}& {8}{-}{3}{}{I}\\ {-}{3}{}{I}& {4}& {6}{-}{3}{}{I}\\ {8}{+}{3}{}{I}& {6}{+}{3}{}{I}& {9}\end{array}\right]$ (26)

Skew-symmetric matrices return skew-symmetric matrices.

 > $\mathrm{matrix7}≔\mathrm{Matrix}\left(3,3,\left[0,1,-4,-1,0,7,4,-7,0\right]\right)$
 ${\mathrm{matrix7}}{≔}\left[\begin{array}{ccc}{0}& {1}& {-4}\\ {-1}& {0}& {7}\\ {4}& {-7}& {0}\end{array}\right]$ (27)
 > $\mathrm{GenerateSimilar}\left(\mathrm{matrix7}\right)$
 $\left[\begin{array}{ccc}{0}& {-3}& {6}\\ {3}& {0}& {-4}\\ {-6}& {4}& {0}\end{array}\right]$ (28)

If the matrix doesn't fall into one of the above categories GenerateSimilar is mapped to every element in the matrix

 > $\mathrm{matrix8}≔\mathrm{Matrix}\left(3,3,\left[1,3,x,\mathrm{sin}\left(x\right),-2,\mathrm{ln}\left({x}^{2}\right),-6,3.1,-\frac{4}{5}\right]\right)$
 ${\mathrm{matrix8}}{≔}\left[\begin{array}{ccc}{1}& {3}& {x}\\ {\mathrm{sin}}{}\left({x}\right)& {-2}& {\mathrm{ln}}{}\left({{x}}^{{2}}\right)\\ {-6}& {3.1}& {-}\frac{{4}}{{5}}\end{array}\right]$ (29)
 > $\mathrm{GenerateSimilar}\left(\mathrm{matrix8}\right)$
 $\left[\begin{array}{ccc}{6}& {1}& {-}{8}{}{x}{+}{7}\\ {-}{7}{}{\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{%cos}}{}\left({9}{}{x}{+}{6}\right)\right]\right)& {-10}& {9}{}{\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{%ln}}{}\left({2}{}{{x}}^{{2}}{+}{4}{}{x}\right)\right]\right)\\ {-9}& {9.0}& {-}\frac{{1}}{{3}}\end{array}\right]$ (30)

Integration technique: u substitution.

 > $\mathrm{GenerateSimilar}\left(\mathrm{%int}\left(\left(2x+2\right){ⅇ}^{{x}^{2}+2x+7},x\right)\right)$
 ${\int }\left({12}{}{x}{-}{4}\right){}{{ⅇ}}^{{6}{}{{x}}^{{2}}{-}{4}{}{x}{-}{9}}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (31)

Integration technique: partial fractions.

 > $\mathrm{GenerateSimilar}\left(\mathrm{%int}\left(\frac{x+7}{{x}^{2}-4},x\right)\right)$
 ${\int }\frac{{-}{x}{+}{5}}{{{x}}^{{2}}{+}{6}{}{x}{-}{7}}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (32)

Integration technique: trig substitution.

 > $\mathrm{GenerateSimilar}\left(\mathrm{%int}\left(\sqrt{{x}^{2}+1},x\right)\right)$
 ${\int }{6}{}\sqrt{{-}{{x}}^{{2}}{+}{6}}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (33)
 > $\mathrm{GenerateSimilar}\left(\mathrm{%int}\left(x\sqrt{{x}^{4}+1},x\right)\right)$
 ${\int }{-}{8}{}\sqrt{{-}{{x}}^{{4}}{+}{5}}{}{x}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (34)
 > $\mathrm{GenerateSimilar}\left(\mathrm{%int}\left(\sqrt{{ⅇ}^{2x}+1},x\right)\right)$
 ${\int }{-}\sqrt{{-}{{ⅇ}}^{{-}{2}{}{x}}{+}{3}}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (35)

Integration technique: integration by parts.

 > $\mathrm{GenerateSimilar}\left(\mathrm{%int}\left(x\mathrm{ln}\left(x\right),x\right)\right)$
 ${\int }\left({2}{}{x}{-}{3}\right){}{\mathrm{ln}}{}\left({-}{x}{+}{3}\right)\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (36)
 > $\mathrm{GenerateSimilar}\left(\mathrm{%int}\left(\left(2{x}^{3}-3{x}^{2}\right)\mathrm{ln}\left(x-2\right),x\right)\right)$
 ${\int }\left({-}{4}{}{{x}}^{{3}}{+}{9}{}{{x}}^{{2}}\right){}{\mathrm{ln}}{}\left({x}{-}{3}\right)\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (37)
 > $\mathrm{GenerateSimilar}\left(\mathrm{%int}\left(x{ⅇ}^{x},x\right)\right)$
 ${\int }{-}{8}{}{x}{}{{ⅇ}}^{{6}{}{x}}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (38)
 > $\mathrm{GenerateSimilar}\left(\mathrm{%int}\left(x\mathrm{cos}\left(x\right),x\right)\right)$
 ${\int }{-}{600}{}{x}{}{\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{%cos}}{}\left({-}{2}{}{x}\right)\right]\right)\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (39)
 > $\mathrm{GenerateSimilar}\left(\mathrm{%int}\left({ⅇ}^{x}\mathrm{cos}\left(x\right),x\right)\right)$
 ${\int }{27}{}{{ⅇ}}^{{2}{}{x}}{}{\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{%cos}}{}\left({7}{}{x}\right)\right]\right)\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (40)
 > $\mathrm{GenerateSimilar}\left(\mathrm{%int}\left(\mathrm{arccos}\left(x\right),x\right)\right)$
 ${\int }{\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{%arccos}}{}\left({-}{6}{}{x}{+}{6}\right)\right]\right)\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (41)

Integration resulting in an erf function will give back integration resulting in an erf function.

 > $\mathrm{simplify}\left(\mathrm{%int}\left({ⅇ}^{-{x}^{2}},x\right)\right)$
 ${\int }{{ⅇ}}^{{-}{{x}}^{{2}}}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (42)
 > $\mathrm{integral1}≔\mathrm{GenerateSimilar}\left(\mathrm{%int}\left({ⅇ}^{-{x}^{2}},x\right)\right)$
 ${\mathrm{integral1}}{≔}{\int }{{ⅇ}}^{{-}{3}{}{{x}}^{{2}}{+}{3}}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (43)
 > $\mathrm{simplify}\left(\mathrm{integral1}\right)$
 ${\int }{{ⅇ}}^{{-}{3}{}\left({x}{-}{1}\right){}\left({x}{+}{1}\right)}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (44)

Integration resulting in an Si function will give back integration resulting in an Si function.

 > $\mathrm{simplify}\left(\mathrm{%int}\left(\frac{\mathrm{sin}\left(x\right)}{x},x\right)\right)$
 ${\int }\frac{{\mathrm{sin}}{}\left({x}\right)}{{x}}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (45)
 > $\mathrm{integral2}≔\mathrm{GenerateSimilar}\left(\mathrm{%int}\left(\frac{\mathrm{sin}\left(x\right)}{x},x\right)\right)$
 ${\mathrm{integral2}}{≔}{\int }\frac{{7}{}{\mathrm{sin}}{}\left({9}{}{x}{-}{7}\right)}{{-}{54}{}{x}{+}{42}}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (46)
 > $\mathrm{simplify}\left(\mathrm{integral2}\right)$
 ${-}\frac{{7}{}\left({\int }\frac{{\mathrm{sin}}{}\left({9}{}{x}{-}{7}\right)}{{9}{}{x}{-}{7}}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}\right)}{{6}}$ (47)

Integration that results in an arctan function will give back integration resulting in an arctan function.

 > $\mathrm{simplify}\left(\mathrm{%int}\left(\frac{1}{{x}^{2}+1},x\right)\right)$
 ${\int }\frac{{1}}{{{x}}^{{2}}{+}{1}}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (48)
 > $\mathrm{integral3}≔\mathrm{GenerateSimilar}\left(\mathrm{%int}\left(\frac{1}{{x}^{2}+1},x\right)\right)$
 ${\mathrm{integral3}}{≔}{\int }{-}\frac{{3}}{{-}{4}{}{{x}}^{{2}}{-}{3}}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (49)
 > $\mathrm{simplify}\left(\mathrm{integral3}\right)$
 ${3}{}\left({\int }\frac{{1}}{{4}{}{{x}}^{{2}}{+}{3}}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}\right)$ (50)

A double integral will produce a double integral;

 > $\mathrm{integral14}≔\mathrm{%int}\left(\mathrm{%int}\left(\mathrm{sin}\left(x\right)\mathrm{cos}\left(y\right),y=0..\mathrm{Pi}\right),x=\frac{\mathrm{Pi}}{2}..\mathrm{Pi}\right)$
 ${\mathrm{integral14}}{≔}{{\int }}_{\frac{{\mathrm{\pi }}}{{2}}}^{{\mathrm{\pi }}}\left({{\int }}_{{0}}^{{\mathrm{\pi }}}{\mathrm{sin}}{}\left({x}\right){}{\mathrm{cos}}{}\left({y}\right)\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{y}\right)\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (51)
 > $\mathrm{GenerateSimilar}\left(\mathrm{integral14}\right)$
 ${{\int }}_{\frac{{3}{}{\mathrm{\pi }}}{{4}}}^{{2}{}{\mathrm{\pi }}}\left({{\int }}_{{-}\frac{{\mathrm{\pi }}}{{30}}}^{\frac{{59}{}{\mathrm{\pi }}}{{60}}}{-}{432}{}{\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{%cos}}{}\left({-}{10}{}{x}\right)\right]\right){}{\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{%cos}}{}\left({-}{9}{}{y}\right)\right]\right)\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{y}\right)\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (52)

A polynomial equation will produce a polynomial equation. If the input equation has integer roots the output equation will have integer roots.

 > $\mathrm{equation1}≔{x}^{2}+x-9=2x-3$
 ${\mathrm{equation1}}{≔}{{x}}^{{2}}{+}{x}{-}{9}{=}{2}{}{x}{-}{3}$ (53)
 > $\mathrm{solve}\left(\mathrm{equation1}\right)$
 ${3}{,}{-2}$ (54)
 > $\mathrm{newEquation1}≔\mathrm{GenerateSimilar}\left(\mathrm{equation1}\right)$
 ${\mathrm{newEquation1}}{≔}{{x}}^{{2}}{+}{4}{}{x}{-}{38}{=}{x}{+}{2}$ (55)
 > $\mathrm{solve}\left(\mathrm{newEquation1}\right)$
 ${5}{,}{-8}$ (56)

Radical equations with rational solutions will produce radical equations with rational solutions or no solutions.

 > $\mathrm{equation2}≔\sqrt{3{x}^{2}+10x}-5=0$
 ${\mathrm{equation2}}{≔}\sqrt{{3}{}{{x}}^{{2}}{+}{10}{}{x}}{-}{5}{=}{0}$ (57)
 > $\mathrm{solve}\left(\mathrm{equation2}\right)$
 $\frac{{5}}{{3}}{,}{-5}$ (58)
 > $\mathrm{newEquation2}≔\mathrm{GenerateSimilar}\left(\mathrm{equation2}\right)$
 ${\mathrm{newEquation2}}{≔}{10}{=}\sqrt{{{x}}^{{2}}{-}{7}{}{x}{+}{110}}$ (59)
 > $\mathrm{solve}\left(\mathrm{newEquation2}\right)$
 ${5}{,}{2}$ (60)
 > $\mathrm{equation3}≔\frac{\sqrt{2{x}^{2}-x+3}}{\sqrt{{x}^{2}-2x+9}}=1$
 ${\mathrm{equation3}}{≔}\frac{\sqrt{{2}{}{{x}}^{{2}}{-}{x}{+}{3}}}{\sqrt{{{x}}^{{2}}{-}{2}{}{x}{+}{9}}}{=}{1}$ (61)
 > $\mathrm{solve}\left(\mathrm{equation3}\right)$
 ${2}{,}{-3}$ (62)
 > $\mathrm{newEquation3}≔\mathrm{GenerateSimilar}\left(\mathrm{equation3}\right)$
 ${\mathrm{newEquation3}}{≔}\frac{\sqrt{{12}{}{x}{-}{30}}}{\sqrt{{-}{{x}}^{{2}}{+}{6}{}{x}{+}{10}}}{=}{1}$ (63)
 > $\mathrm{solve}\left(\mathrm{newEquation3}\right)$
 ${-10}{,}{4}$ (64)
 > $\mathrm{equation4}≔\sqrt{2{x}^{2}-x-3}=\sqrt{{x}^{2}-2x+9}$
 ${\mathrm{equation4}}{≔}\sqrt{{2}{}{{x}}^{{2}}{-}{x}{-}{3}}{=}\sqrt{{{x}}^{{2}}{-}{2}{}{x}{+}{9}}$ (65)
 > $\mathrm{solve}\left(\mathrm{equation4}\right)$
 ${3}{,}{-4}$ (66)
 > $\mathrm{newEquation4}≔\mathrm{GenerateSimilar}\left(\mathrm{equation4}\right)$
 ${\mathrm{newEquation4}}{≔}\sqrt{{-}{3}{}{{x}}^{{2}}{+}{15}{}{x}{+}{5}}{=}\sqrt{{-}{4}{}{{x}}^{{2}}{+}{7}{}{x}{-}{11}}$ (67)
 > $\mathrm{solve}\left(\mathrm{newEquation4}\right)$
 ${-4}$ (68)
 > $\mathrm{equation5}≔2x=\sqrt{x+3}$
 ${\mathrm{equation5}}{≔}{2}{}{x}{=}\sqrt{{x}{+}{3}}$ (69)
 > $\mathrm{solve}\left(\mathrm{equation5}\right)$
 ${1}$ (70)
 > $\mathrm{newEquation5}≔\mathrm{GenerateSimilar}\left(\mathrm{equation5}\right)$
 ${\mathrm{newEquation5}}{≔}{2}{}{x}{=}\sqrt{{14}{}{x}{-}{10}}$ (71)
 > $\mathrm{solve}\left(\mathrm{newEquation5}\right)$
 ${1}{,}\frac{{5}}{{2}}$ (72)
 > $\mathrm{equation6}≔\frac{2x}{\sqrt{x+3}}=1$
 ${\mathrm{equation6}}{≔}\frac{{2}{}{x}}{\sqrt{{x}{+}{3}}}{=}{1}$ (73)
 > $\mathrm{solve}\left(\mathrm{equation6}\right)$
 ${1}$ (74)
 > $\mathrm{newEquation6}≔\mathrm{GenerateSimilar}\left(\mathrm{equation6}\right)$
 ${\mathrm{newEquation6}}{≔}\frac{{2}{}{x}}{\sqrt{{14}{}{{x}}^{{2}}{-}{99}{}{x}{-}{10}}}{=}{1}$ (75)
 > $\mathrm{solve}\left(\mathrm{newEquation6}\right)$
 ${10}$ (76)
 > $\mathrm{equation7}≔\frac{1}{2x}=\frac{1}{\sqrt{x+3}}$
 ${\mathrm{equation7}}{≔}\frac{{1}}{{2}{}{x}}{=}\frac{{1}}{\sqrt{{x}{+}{3}}}$ (77)
 > $\mathrm{solve}\left(\mathrm{equation7}\right)$
 ${1}$ (78)
 > $\mathrm{newEquation7}≔\mathrm{GenerateSimilar}\left(\mathrm{equation7}\right)$
 ${\mathrm{newEquation7}}{≔}\frac{{1}}{{7}{}{x}}{=}\frac{{1}}{\sqrt{{57}{}{{x}}^{{2}}{-}{2}{}{x}{-}{10}}}$ (79)
 > $\mathrm{solve}\left(\mathrm{newEquation7}\right)$
 $\frac{{5}}{{4}}$ (80)
 > $\mathrm{equation8}≔1+\sqrt{1-x}=\sqrt{2x+4}$
 ${\mathrm{equation8}}{≔}{1}{+}\sqrt{{1}{-}{x}}{=}\sqrt{{2}{}{x}{+}{4}}$ (81)
 > $\mathrm{solve}\left(\mathrm{equation8}\right)$
 ${0}$ (82)
 > $\mathrm{newEquation8}≔\mathrm{GenerateSimilar}\left(\mathrm{equation8}\right)$
 ${\mathrm{newEquation8}}{≔}\sqrt{{-}{1}{+}{8}{}{x}}{=}{1}{+}\sqrt{{4}{}{x}{-}{1}}$ (83)
 > $\mathrm{solve}\left(\mathrm{newEquation8}\right)$
 $\frac{{5}}{{4}}{,}\frac{{1}}{{4}}$ (84)

Trig equations in forms that can be solved without a calculator produce trig equations that can be solved without a calculator.

 > $\mathrm{equation9}≔{\mathrm{cos}\left(x\right)}^{2}+\mathrm{cos}\left(x\right)=0$
 ${\mathrm{equation9}}{≔}{{\mathrm{cos}}{}\left({x}\right)}^{{2}}{+}{\mathrm{cos}}{}\left({x}\right){=}{0}$ (85)
 > $\mathrm{solve}\left(\mathrm{equation9}\right)$
 ${\mathrm{\pi }}{,}\frac{{\mathrm{\pi }}}{{2}}$ (86)
 > $\mathrm{newEquation9}≔\mathrm{GenerateSimilar}\left(\mathrm{equation9}\right)$
 ${\mathrm{newEquation9}}{≔}{3}{-}{{\mathrm{cos}}{}\left({7}{}{x}{+}{4}\right)}^{{2}}{-}\frac{{\mathrm{cos}}{}\left({7}{}{x}{+}{4}\right){}\sqrt{{3}}}{{2}}{=}{3}$ (87)
 > $\mathrm{solve}\left(\mathrm{newEquation9}\right)$
 ${-}\frac{{4}}{{7}}{+}\frac{{5}{}{\mathrm{\pi }}}{{42}}{,}{-}\frac{{4}}{{7}}{+}\frac{{\mathrm{\pi }}}{{14}}$ (88)
 > $\mathrm{equation10}≔{\mathrm{cos}\left(x\right)}^{2}+\mathrm{cos}\left(x\right)={\mathrm{sin}\left(x\right)}^{2}$
 ${\mathrm{equation10}}{≔}{{\mathrm{cos}}{}\left({x}\right)}^{{2}}{+}{\mathrm{cos}}{}\left({x}\right){=}{{\mathrm{sin}}{}\left({x}\right)}^{{2}}$ (89)
 > $\mathrm{solve}\left(\mathrm{equation10}\right)$
 ${\mathrm{\pi }}{,}\frac{{\mathrm{\pi }}}{{3}}$ (90)
 > $\mathrm{newEquation10}≔\mathrm{GenerateSimilar}\left(\mathrm{equation10}\right)$
 ${\mathrm{newEquation10}}{≔}{5}{}{{\mathrm{cos}}{}\left({6}{}{x}{-}{2}\right)}^{{2}}{-}{3}{=}{-}{{\mathrm{sin}}{}\left({6}{}{x}{-}{2}\right)}^{{2}}$ (91)
 > $\mathrm{solve}\left(\mathrm{newEquation10}\right)$
 $\frac{{1}}{{3}}{+}\frac{{\mathrm{\pi }}}{{24}}{,}\frac{{1}}{{3}}{+}\frac{{\mathrm{\pi }}}{{8}}$ (92)
 > $\mathrm{equation11}≔\mathrm{cos}\left(x\right)+\mathrm{sin}\left(x\right)=0$
 ${\mathrm{equation11}}{≔}{\mathrm{cos}}{}\left({x}\right){+}{\mathrm{sin}}{}\left({x}\right){=}{0}$ (93)
 > $\mathrm{solve}\left(\mathrm{equation11}\right)$
 ${-}\frac{{\mathrm{\pi }}}{{4}}$ (94)
 > $\mathrm{newEquation11}≔\mathrm{GenerateSimilar}\left(\mathrm{equation11}\right)$
 ${\mathrm{newEquation11}}{≔}{\mathrm{cos}}{}\left({x}{+}{6}\right){=}{\mathrm{sin}}{}\left({x}{+}{6}\right)$ (95)
 > $\mathrm{solve}\left(\mathrm{newEquation11}\right)$
 ${-}{6}{+}\frac{{\mathrm{\pi }}}{{4}}$ (96)

Logarithmic equations that are easily solvable without a calculator return logarithmic equations that can be easily solved without a calculator.

 > $\mathrm{equation12}≔\mathrm{ln}\left(x-1\right)+\mathrm{ln}\left(2x-1\right)=2\mathrm{ln}\left(x+1\right)$
 ${\mathrm{equation12}}{≔}{\mathrm{ln}}{}\left({x}{-}{1}\right){+}{\mathrm{ln}}{}\left({2}{}{x}{-}{1}\right){=}{2}{}{\mathrm{ln}}{}\left({x}{+}{1}\right)$ (97)
 > $\mathrm{solve}\left(\mathrm{equation12}\right)$
 ${5}$ (98)
 > $\mathrm{newEquation12}≔\mathrm{GenerateSimilar}\left(\mathrm{equation12}\right)$
 ${\mathrm{newEquation12}}{≔}{\mathrm{ln}}{}\left({2}{}{{x}}^{{2}}{+}{7}{}{x}{+}{16}\right){=}{2}{}{\mathrm{ln}}{}\left({x}{+}{4}\right)$ (99)
 > $\mathrm{solve}\left(\mathrm{newEquation12}\right)$
 ${0}{,}{1}$ (100)
 > $\mathrm{equation13}≔{\mathrm{%log}}_{3}\left(x-1\right)+{\mathrm{%log}}_{3}\left(2x-1\right)=2{\mathrm{%log}}_{3}\left(x+1\right)$
 ${\mathrm{equation13}}{≔}{\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{{\mathrm{%log}}}_{{3}}\right]\right){}\left({x}{-}{1}\right){+}{\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{{\mathrm{%log}}}_{{3}}\right]\right){}\left({2}{}{x}{-}{1}\right){=}{2}{}{\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{{\mathrm{%log}}}_{{3}}\right]\right){}\left({x}{+}{1}\right)$ (101)
 > $\mathrm{solve}\left(\mathrm{InertForm}:-\mathrm{Value}\left(\mathrm{equation13}\right)\right)$
 ${5}$ (102)
 > $\mathrm{newEquation}≔\mathrm{GenerateSimilar}\left(\mathrm{equation13}\right)$
 ${\mathrm{newEquation}}{≔}{\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{{\mathrm{%log}}}_{{4}}\right]\right){}\left({-}{13}{}{x}{+}{4}\right){=}{2}{}{\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{{\mathrm{%log}}}_{{4}}\right]\right){}\left({x}{-}{2}\right)$ (103)
 > $\mathrm{solve}\left(\mathrm{newEquation13}\right)$
 ${0}$ (104)

Exponential equations that can be easily solved without a calculator return exponential equations that can be easily solved without a calculator.

 > $\mathrm{equation14}≔{ⅇ}^{{\mathrm{cos}\left(x\right)}^{2}}={ⅇ}^{-\mathrm{cos}\left(x\right)}{ⅇ}^{{\mathrm{sin}\left(x\right)}^{2}}$
 ${\mathrm{equation14}}{≔}{{ⅇ}}^{{{\mathrm{cos}}{}\left({x}\right)}^{{2}}}{=}{{ⅇ}}^{{-}{\mathrm{cos}}{}\left({x}\right)}{}{{ⅇ}}^{{{\mathrm{sin}}{}\left({x}\right)}^{{2}}}$ (105)
 > $\mathrm{solve}\left(\mathrm{equation14}\right)$
 ${\mathrm{\pi }}{,}\frac{{\mathrm{\pi }}}{{3}}{,}{-}\frac{{\mathrm{\pi }}}{{3}}$ (106)
 > $\mathrm{newEquation14}≔\mathrm{GenerateSimilar}\left(\mathrm{equation14}\right)$
 ${\mathrm{newEquation14}}{≔}{{ⅇ}}^{{-}{2}{}{{\mathrm{cos}}{}\left({2}{}{x}{+}{3}\right)}^{{2}}{-}{2}{}{{\mathrm{sin}}{}\left({2}{}{x}{+}{3}\right)}^{{2}}{-}{4}{}{\mathrm{cos}}{}\left({2}{}{x}{+}{3}\right){-}{1}}{=}{{ⅇ}}^{{2}{}{\mathrm{cos}}{}\left({2}{}{x}{+}{3}\right){+}{2}}{}{{ⅇ}}^{{2}{}{{\mathrm{cos}}{}\left({2}{}{x}{+}{3}\right)}^{{2}}{-}{3}{}{\mathrm{cos}}{}\left({2}{}{x}{+}{3}\right){-}{4}}$ (107)
 > $\mathrm{solve}\left(\mathrm{newEquation14}\right)$
 ${-}\frac{{3}}{{2}}{+}\frac{{\mathrm{\pi }}}{{2}}{,}{-}\frac{{3}}{{2}}{+}\frac{{\mathrm{\pi }}}{{3}}$ (108)

Complex polynomial equations with roots that have integer real and imaginary parts produce complex polynomial equations with integer real and imaginary roots.

 > $\mathrm{equation15}≔{z}^{2}+\left(-9+4I\right)z+4-18I=0$
 ${\mathrm{equation15}}{≔}{{z}}^{{2}}{+}\left({-9}{+}{4}{}{I}\right){}{z}{+}{4}{-}{18}{}{I}{=}{0}$ (109)
 > $\mathrm{solve}\left(\mathrm{equation15}\right)$
 ${8}{-}{2}{}{I}{,}{1}{-}{2}{}{I}$ (110)
 > $\mathrm{newEquation15}≔\mathrm{GenerateSimilar}\left(\mathrm{equation15}\right)$
 ${\mathrm{newEquation15}}{≔}{-}{{z}}^{{2}}{+}{9}{}{z}{-}{I}{}{z}{+}{8}{+}{21}{}{I}{=}{0}$ (111)
 > $\mathrm{solve}\left(\mathrm{newEquation15}\right)$
 ${-1}{-}{2}{}{I}{,}{10}{+}{I}$ (112)

Absolute value equations produce absolute value equations.

 > $\mathrm{equation16}≔\left|x-3\right|=\left|5-3x\right|$
 ${\mathrm{equation16}}{≔}\left|{x}{-}{3}\right|{=}\left|{3}{}{x}{-}{5}\right|$ (113)
 > $\mathrm{solve}\left(\mathrm{equation16}\right)$
 ${2}{,}{1}$ (114)
 > $\mathrm{newEquation16}≔\mathrm{GenerateSimilar}\left(\mathrm{equation16}\right)$
 ${\mathrm{newEquation16}}{≔}{3}{}\left|{x}\right|{=}\left|{x}{+}{4}\right|$ (115)
 > $\mathrm{solve}\left(\mathrm{newEquation16}\right)$
 ${-1}{,}{2}$ (116)
 > $\mathrm{equation17}≔\left|{x}^{2}+2x\right|=15$
 ${\mathrm{equation17}}{≔}\left|{{x}}^{{2}}{+}{2}{}{x}\right|{=}{15}$ (117)
 > $\mathrm{solve}\left(\mathrm{equation17}\right)$
 ${-5}{,}{3}$ (118)
 > $\mathrm{newEquation17}≔\mathrm{GenerateSimilar}\left(\mathrm{equation17}\right)$
 ${\mathrm{newEquation17}}{≔}\left|{{x}}^{{2}}{-}{14}{}{x}{+}{33}\right|{=}{12}$ (119)
 > $\mathrm{solve}\left(\mathrm{newEquation17}\right)$
 ${7}{-}{2}{}\sqrt{{7}}{,}{7}{+}{2}{}\sqrt{{7}}{,}{5}{,}{9}$ (120)

Equations of circles return equations of circles.

 > $\mathrm{equation18}≔{\left(x-3\right)}^{2}+{\left(y+4\right)}^{2}=16$
 ${\mathrm{equation18}}{≔}{\left({x}{-}{3}\right)}^{{2}}{+}{\left({y}{+}{4}\right)}^{{2}}{=}{16}$ (121)
 > $\mathrm{plots}:-\mathrm{implicitplot}\left(\mathrm{equation18},x=-20..20,y=-20..20\right)$
 > $\mathrm{newEquation18}≔\mathrm{GenerateSimilar}\left(\mathrm{equation18}\right)$
 ${\mathrm{newEquation18}}{≔}{\left({x}{-}{9}\right)}^{{2}}{+}{\left({y}{+}{10}\right)}^{{2}}{=}{25}$ (122)
 > $\mathrm{plots}:-\mathrm{implicitplot}\left(\mathrm{newEquation18},x=-20..20,y=-20..20\right)$

Equations of ellipses return equations of ellipses.

 > $\mathrm{equation19}≔\frac{{\left(x-2\right)}^{2}}{4}+\frac{{\left(y+3\right)}^{2}}{9}=1$
 ${\mathrm{equation19}}{≔}\frac{{\left({x}{-}{2}\right)}^{{2}}}{{4}}{+}\frac{{\left({y}{+}{3}\right)}^{{2}}}{{9}}{=}{1}$ (123)
 > $\mathrm{plots}:-\mathrm{implicitplot}\left(\mathrm{equation19},x=-20..20,y=-20..20\right)$
 > $\mathrm{newEquation19}≔\mathrm{GenerateSimilar}\left(\mathrm{equation19}\right)$
 ${\mathrm{newEquation19}}{≔}\frac{{\left({x}{-}{3}\right)}^{{2}}}{{100}}{+}\frac{{\left({y}{+}{1}\right)}^{{2}}}{{49}}{=}{1}$ (124)
 > $\mathrm{plots}:-\mathrm{implicitplot}\left(\mathrm{newEquation19},x=-20..20,y=-20..20\right)$

Equations of hyperbolas return equations of hyperbolas.

 > $\mathrm{equation20}≔\frac{{\left(x-2\right)}^{2}}{4}-\frac{{\left(y+5\right)}^{2}}{16}=1$
 ${\mathrm{equation20}}{≔}\frac{{\left({x}{-}{2}\right)}^{{2}}}{{4}}{-}\frac{{\left({y}{+}{5}\right)}^{{2}}}{{16}}{=}{1}$ (125)
 > $\mathrm{plots}:-\mathrm{implicitplot}\left(\mathrm{equation20},x=-20..20,y=-20..20\right)$
 > $\mathrm{newEquation20}≔\mathrm{GenerateSimilar}\left(\mathrm{equation20}\right)$
 ${\mathrm{newEquation20}}{≔}\frac{{\left({x}{-}{10}\right)}^{{2}}}{{100}}{-}\frac{{\left({y}{+}{8}\right)}^{{2}}}{{81}}{=}{1}$ (126)
 > $\mathrm{plots}:-\mathrm{implicitplot}\left(\mathrm{newEquation20},x=-20..20,y=-20..20\right)$

Probability of measuring less than a certain amount of successes from a binomial distribution.

 > $\mathrm{GenerateSimilar}\left(\mathrm{%sum}\left(\frac{8!{\left(\frac{1}{4}\right)}^{x}{\left(\frac{3}{4}\right)}^{8-x}}{\left(8-x\right)!x!},x=0..4\right)\right)$
 ${\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{%sum}}{}\left(\frac{{5040}{}{\left(\frac{{3}}{{10}}\right)}^{{x}}{}{\left(\frac{{7}}{{10}}\right)}^{{7}{-}{x}}}{{\mathrm{factorial}}{}\left({7}{-}{x}\right){}{\mathrm{factorial}}{}\left({x}\right)}{,}{x}{=}{0}{..}{7}\right)\right]\right)$ (127)

Probability of measuring more than a certain amount of successes from a binomial distribution.

 > $\mathrm{GenerateSimilar}\left(\mathrm{%sum}\left(\frac{8!{\left(\frac{1}{4}\right)}^{x}{\left(\frac{3}{4}\right)}^{8-x}}{\left(8-x\right)!x!},x=4..8\right)\right)$
 ${\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{%sum}}{}\left(\frac{{24}{}{\left(\frac{{6}}{{7}}\right)}^{{x}}{}{\left(\frac{{1}}{{7}}\right)}^{{4}{-}{x}}}{{\mathrm{factorial}}{}\left({4}{-}{x}\right){}{\mathrm{factorial}}{}\left({x}\right)}{,}{x}{=}{2}{..}{4}\right)\right]\right)$ (128)

Expectation value of a binomial distribution.

 > $\mathrm{GenerateSimilar}\left(\mathrm{%sum}\left(\frac{x\cdot 8!{\left(\frac{1}{4}\right)}^{x}{\left(\frac{3}{4}\right)}^{8-x}}{\left(8-x\right)!x!},x=0..8\right)\right)$
 ${\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{%sum}}{}\left(\frac{{120}{}{\left(\frac{{2}}{{5}}\right)}^{{x}}{}{\left(\frac{{3}}{{5}}\right)}^{{-}{x}{+}{5}}{}{x}}{{\mathrm{factorial}}{}\left({-}{x}{+}{5}\right){}{\mathrm{factorial}}{}\left({x}\right)}{,}{x}{=}{0}{..}{5}\right)\right]\right)$ (129)

Probability of measuring an event of a poisson distribution within a certain amount of time.

 > $\mathrm{GenerateSimilar}\left(\mathrm{%sum}\left(\frac{{ⅇ}^{-5}{5}^{x}}{x!},x=0..10\right)\right)$
 ${\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{%sum}}{}\left(\frac{{\mathrm{exp}}{}\left({-}{4}\right){}{{4}}^{{x}}}{{\mathrm{factorial}}{}\left({x}\right)}{,}{x}{=}{0}{..}{58}\right)\right]\right)$ (130)

Probability of not measuring an event of a poisson distribution within a certain amount of time.

 > $\mathrm{GenerateSimilar}\left(\mathrm{%sum}\left(\frac{{ⅇ}^{-5}{5}^{x}}{x!},x=10..\mathrm{∞}\right)\right)$
 ${\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{%sum}}{}\left(\frac{{\mathrm{exp}}{}\left({-}{4}\right){}{{4}}^{{x}}}{{\mathrm{factorial}}{}\left({x}\right)}{,}{x}{=}{69}{..}{\mathrm{∞}}\right)\right]\right)$ (131)

Expectation value of a poisson distribution.

 > $\mathrm{GenerateSimilar}\left(\mathrm{%sum}\left(\frac{x{ⅇ}^{-5}{5}^{x}}{x!},x=0..\mathrm{∞}\right)\right)$
 ${\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{%sum}}{}\left(\frac{{\mathrm{exp}}{}\left({-}{6}\right){}{{6}}^{{x}}{}{x}}{{\mathrm{factorial}}{}\left({x}\right)}{,}{x}{=}{0}{..}{\mathrm{∞}}\right)\right]\right)$ (132)

Probability of measuring the time between poisson events to be less than a certain value.

 > $\mathrm{GenerateSimilar}\left(\mathrm{%int}\left(5{ⅇ}^{-5x},x=0..10\right)\right)$
 ${{\int }}_{{0}}^{{37}}{4}{}{{ⅇ}}^{{-}{4}{}{x}}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (133)

Probability of measuring the time between poisson events to be more than a certain value.

 > $\mathrm{GenerateSimilar}\left(\mathrm{%int}\left(5{ⅇ}^{-5x},x=10..\mathrm{∞}\right)\right)$
 ${{\int }}_{{52}}^{{\mathrm{\infty }}}{8}{}{{ⅇ}}^{{-}{8}{}{x}}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (134)

Expectation value of an exponential distribution.

 > $\mathrm{GenerateSimilar}\left(\mathrm{%int}\left(x\cdot 5{ⅇ}^{-5x},x=0..\mathrm{∞}\right)\right)$
 ${{\int }}_{{0}}^{{\mathrm{\infty }}}{6}{}{{ⅇ}}^{{-}{6}{}{x}}{}{x}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (135)

Probability of measuring less than a certain value for a gaussian distribution.

 > $\mathrm{GenerateSimilar}\left(\mathrm{%int}\left(\frac{1{ⅇ}^{-\frac{{\left(x-4\right)}^{2}}{8}}}{\mathrm{%sqrt}\left(2\mathrm{Pi}\right)\cdot 2},x=-\mathrm{∞}..0\right)\right)$
 ${{\int }}_{{-}{\mathrm{\infty }}}^{{0}}\frac{{{ⅇ}}^{{-}\frac{{\left({x}{-}{2}\right)}^{{2}}}{{98}}}}{{7}{}{\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{%sqrt}}{}\left({2}{}{\mathrm{π}}\right)\right]\right)}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (136)

Probability of measuring more than a certain value for a gaussian distribution.

 > $\mathrm{GenerateSimilar}\left(\mathrm{%int}\left(\frac{1{ⅇ}^{-\frac{{\left(x-4\right)}^{2}}{8}}}{\mathrm{%sqrt}\left(2\mathrm{Pi}\right)\cdot 2},x=0..\mathrm{∞}\right)\right)$
 ${{\int }}_{{0}}^{{\mathrm{\infty }}}\frac{{{ⅇ}}^{{-}\frac{{\left({x}{-}{6}\right)}^{{2}}}{{200}}}}{{10}{}{\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{%sqrt}}{}\left({2}{}{\mathrm{π}}\right)\right]\right)}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (137)

Expectation value of a gaussian distribution.

 > $\mathrm{GenerateSimilar}\left(\mathrm{%int}\left(\frac{x{ⅇ}^{-\frac{{\left(x-4\right)}^{2}}{8}}}{\mathrm{%sqrt}\left(2\mathrm{Pi}\right)\cdot 2},x=-\mathrm{∞}..\mathrm{∞}\right)\right)$
 ${{\int }}_{{-}{\mathrm{\infty }}}^{{\mathrm{\infty }}}\frac{{{ⅇ}}^{{-}\frac{{\left({x}{-}{6}\right)}^{{2}}}{{32}}}{}{x}}{{4}{}{\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{%sqrt}}{}\left({2}{}{\mathrm{π}}\right)\right]\right)}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (138)

Parametrization of a circle returns a parametrization of a circle.

 > $\mathrm{plot}\left(\left[2\mathrm{cos}\left(t\right)-4,2\mathrm{sin}\left(t\right)+1,t=0..2\mathrm{Pi}\right]\right)$
 > $\mathrm{newCircle}≔\mathrm{GenerateSimilar}\left(⟨2\mathrm{cos}\left(t\right)-4,2\mathrm{sin}\left(t\right)+1⟩\right)$
 ${\mathrm{newCircle}}{≔}\left[\begin{array}{c}{\mathrm{cos}}{}\left({9}{}{t}\right){-}{8}\\ {-}{\mathrm{sin}}{}\left({9}{}{t}\right){+}{7}\end{array}\right]$ (139)
 > $\mathrm{plot}\left(\left[{\mathrm{newCircle}}_{1},{\mathrm{newCircle}}_{2},t=0..2\mathrm{Pi}\right]\right)$

Parametrization of an ellipse returns a parametrization of an ellipse.

 > $\mathrm{plot}\left(\left[2\mathrm{cos}\left(t\right)-4,3\mathrm{sin}\left(t\right)+1,t=0..2\mathrm{Pi}\right]\right)$
 > $\mathrm{newEllipse}≔\mathrm{GenerateSimilar}\left(⟨2\mathrm{cos}\left(t\right)-4,3\mathrm{sin}\left(t\right)+1⟩\right)$
 ${\mathrm{newEllipse}}{≔}\left[\begin{array}{c}{7}{}{\mathrm{cos}}{}\left({5}{}{t}\right){-}{6}\\ {4}{}{\mathrm{sin}}{}\left({5}{}{t}\right){+}{8}\end{array}\right]$ (140)
 > $\mathrm{plot}\left(\left[{\mathrm{newEllipse}}_{1},{\mathrm{newEllipse}}_{2},t=0..2\mathrm{Pi}\right]\right)$

Parametrization of a cycloid returns a parametrization of a cycloid.

 > $\mathrm{plot}\left(\left[10t-5\mathrm{sin}\left(t\right),5-5\mathrm{cos}\left(t\right),t=0..4\mathrm{Pi}\right]\right)$
 > $\mathrm{newCycloid}≔\mathrm{GenerateSimilar}\left(⟨5t-5\mathrm{sin}\left(t\right),5-5\mathrm{cos}\left(t\right)⟩\right)$
 ${\mathrm{newCycloid}}{≔}\left[\begin{array}{c}{-}{27}{}{t}{+}{3}{}{\mathrm{sin}}{}\left({9}{}{t}\right)\\ {3}{-}{3}{}{\mathrm{cos}}{}\left({9}{}{t}\right)\end{array}\right]$ (141)
 > $\mathrm{plot}\left(\left[{\mathrm{newCycloid}}_{1},{\mathrm{newCycloid}}_{2},t=0..\mathrm{Pi}\right]\right)$

Compatibility

 • The RandomTools[GenerateSimilar] command was introduced in Maple 2020.