# Wolfram Function Repository

Instant-use add-on functions for the Wolfram Language

Function Repository Resource:

Submit queries containing text and/or mathematical formulas to the SearchOnMath web service

Contributed by:
Flavio B. Gonzaga (founder of the SearchOnMath Project) - searchonmath.com

ResourceFunction["SearchOnMath"][" returns in a Dataset the search results from searchonmath.com based on the specified query. | |

ResourceFunction["SearchOnMath"][" will also print the search results. |

Formulas must be written in LATEX format and enclosed between the delimiters \( and \), like: Einstein’s formula \(E=mc^2\) revolutionized physics.

Backslashes must be escaped.

Mandatory textual elements can be defined by using quotation marks, like: Einstein's formula \(E=mc^2\) "revolutionized physics".

The function retrieves the top 5 results.

The returned Dataset contains the following fields:

Title | title of the page |

URL | URL of the page |

Source | source (Wikipedia, Stack Exchange Mathematics…) |

Formula | formula in MathML presentation format |

Context | snippet of the page containing the found formula (in HTML format) |

See the Author Notes below for a list of supported sources.

Search for results about the heat equation :

In[1]:= |

Out[1]= |

In[2]:= |

Please find below an illustrative example of the printed results for the query above:

SearchOnMath has the capability to handle complex queries involving multiple formulas. Here is an example of a query composed of multiple formulas, with "magnetic field" being defined as mandatory term:

In[3]:= |

Out[3]= |

Please find below an illustrative example of the printed results for the query above:

- 1.0.0 – 26 June 2023

This work is licensed under a Creative Commons Attribution 4.0 International License