Logo

Math Editor

Welcome to the Playground

Let's take a test drive


The main goal of Math Editor is to make writing math reports as easy as possible. Let's investigate this claim together!

Math

We use MathLive web component because it makes writing LaTeX effortless with its virtual keyboard.

This is a centered block of the famous quadratic formula:

x=2ab±b24ac

You can also inline it: f(x)={10x<1x>1 is called a gate function.

MathLive supports over 800 TeX commands. you can view the full list Here.

Graph

We use GeoGebra to graph functions of or variables.


–6–6–6–4–4–4–2–2–2222444666–4–4–4–2–2–2222444000

f(x)=xsinx

Graph

f(x,y)=9x2y2

Sketch

We use Excalidraw to sketch hand-drawn like diagrams.


100sin(200t)V5KΩ6H10µF

RLC circuit


+-+-BBVIRBIBEVCCRCICVCBVBE

BJT

Code

Here's some C# code


static class MatrixExtensions
{
  // Extension methods
  // read matrix from console
  public static void ReadMatrix(this double[,] matrix)
  {
    int rows = matrix.GetLength(0);
    int cols = matrix.GetLength(1);
    // read matrix size from console if not provided
    if (rows == 0 || cols == 0)
    {
      WriteLine("Enter number of rows");
      int.TryParse(ReadLine(), out rows);
      WriteLine("Enter number of columns");
      int.TryParse(ReadLine(), out cols);
    }

    for (int i = 0; i < rows; i++)
    {
      for (int j = 0; j < cols; j++)
      {
        WriteLine("Enter element [{0}][{1}]", i + 1, j + 1);
        double.TryParse(ReadLine(), out matrix[i, j]);
      }
    }
  }

  // print matrix to console
  public static void PrintMatrix(this double[,] matrix)
  {
    for (int i = 0; i < matrix.GetLength(0); i++)
    {
      for (int j = 0; j < matrix.GetLength(1); j++)
      {
        Write("{0,4}", matrix[i, j]);
      }
      WriteLine();
    }
  }
}

Sticky Note

Lorem ipsum?

In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document or a typeface without relying on meaningful content. Lorem ipsum may be used as a placeholder before final copy is available.

Lorem ipsum dolor sit amet suscipit qui nisl vel lorem velit sea dolor nisl clita sadipscing justo justo erat sadipscing magna sit takimata ea sit duis feugait clita sit accusam et vel augue et elitr velit eirmod nonumy sit eos dolor voluptua enim kasd nonumy stet lorem enim ea ipsum erat zzril sadipscing dolores sed sed amet nonummy molestie dignissim sit takimata ullamcorper facilisis justo takimata dolore delenit nulla takimata euismod erat labore sanctus duis ipsum justo sit nostrud labore accumsan elitr dolor ipsum et cum hendrerit amet eirmod sit dolor sanctus ut aliquyam voluptua laoreet molestie sed sadipscing dolore dolor diam dolor ut elitr lorem aliquyam ut accusam vero nisl est rebum sit amet lorem no sea sit labore amet ea consetetur quis vulputate eirmod vero lorem aliquyam accusam dolor sed dolor amet magna blandit nonumy accumsan diam voluptua velit et accumsan magna stet illum sed eos labore eos ut rebum sed elitr magna stet aliquyam ut et ipsum vel vero sed aliquam et euismod labore justo justo sit ea justo erat no autem justo voluptua erat labore ipsum dolor dolor ipsum takimata justo et tempor kasd