Complex numbers

Complex numbers are catered for in the Haskell 98 and Haskell 2010 Language Reports. The former specifies library Complex exposing module Complex and the latter (which introduced hierarchical modules names) specifies module Data.Complex. Both modules define: The RealFloat a context also implies that the type a is an instance of typeclasses Eq, Floating, Fractional, Num, […]

Symmetry

YouTube’s algorithm also presented me with videos about equations that could be solved by noticing the symmetry in their form. Example 1 Here, we notice that if then and: The odd powers of will cancel out on the expansion of the term on the left, and the even powers will appear twice, to give: We […]