Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentJComments has a deprecated constructor in /var/www/astarmathsandphysics/plugins/content/jcomments/jcomments.php on line 25 Call Stack: 0.0000 362264 1. {main}() /var/www/astarmathsandphysics/index.php:0 0.0696 1211520 2. Joomla\CMS\Application\SiteApplication->execute() /var/www/astarmathsandphysics/index.php:49 0.0696 1211520 3. Joomla\CMS\Application\SiteApplication->doExecute() /var/www/astarmathsandphysics/libraries/src/Application/CMSApplication.php:267 0.1373 4104784 4. Joomla\CMS\Application\SiteApplication->dispatch() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:233 0.1387 4132104 5. Joomla\CMS\Component\ComponentHelper::renderComponent() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:194 0.1394 4149816 6. Joomla\CMS\Component\ComponentHelper::executeComponent() /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:356 0.1394 4166824 7. require_once('/var/www/astarmathsandphysics/components/com_content/content.php') /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:381 0.1402 4174560 8. ContentController->execute() /var/www/astarmathsandphysics/components/com_content/content.php:42 0.1402 4174560 9. ContentController->display() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:710 0.1863 4414264 10. ContentController->display() /var/www/astarmathsandphysics/components/com_content/controller.php:113 0.1878 4431664 11. Joomla\CMS\Cache\Controller\ViewController->get() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:663 0.1883 4452592 12. ContentViewArticle->display() /var/www/astarmathsandphysics/libraries/src/Cache/Controller/ViewController.php:102 0.1991 4615160 13. Joomla\CMS\Plugin\PluginHelper::importPlugin() /var/www/astarmathsandphysics/components/com_content/views/article/view.html.php:189 0.1991 4615416 14. Joomla\CMS\Plugin\PluginHelper::import() /var/www/astarmathsandphysics/libraries/src/Plugin/PluginHelper.php:182

Latex Code Snippets

All the code snippets below should be placed between
{latex}{/latex}
tags to produce the output shown.
Curl of a Vector
 (\frac{\partial}{\partial x} \mathbf{i}+\frac{\partial}{\partial y} \mathbf{j}+ \frac{\partial}{\partial k} \mathbf{k}) \times (v_1 \mathbf{i} + v_2 \mathbf{j} + v_3 \mathbf{k}) 

\[ (\frac{\partial}{\partial x} \mathbf{i}+ \frac{\partial}{\partial y} \mathbf{j}+ \frac{\partial}{\partial z} \mathbf{k}) \times (v_1 \mathbf{i} + v_2 \mathbf{j} + v_3 \mathbf{k}) \]

 \left| \begin{array}{ccc} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ \frac{\partial }{\partial x} & \frac{\partial }{\partial y} & \frac{\partial }{\partial z} \\ v_1 & v_2 & v_3 \end{array} \right| 

\[ \left| \begin{array}{ccc} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ \frac{\partial }{\partial x} & \frac{\partial }{\partial y} & \frac{\partial }{\partial z} \\ v_1 & v_2 & v_3 \end{array} \right| \]

Cross Product of two Vectors
 \left| \begin{array}{ccc} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ v_1 & v_2 & v_3 \\ w_1 & w_2 & w_3 \end{array} \right| 

\[ \left| \begin{array}{ccc} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ v_1 & v_2 & v_3 \\ w_1 & w_2 & w_3 \end{array} \right| \]

Jacobean Matrix
 \left| \begin{array}{ccc} \frac{\partial f}{\partial x} & \frac{\partial g}{\partial x} & \frac{\partial h}{\partial x} \\ \frac{\partial f}{\partial y} & \frac{\partial g}{\partial y} & \frac{\partial h}{\partial y} \\ \frac{\partial f}{\partial z} & \frac{\partial g}{\partial z} & \frac{\partial h}{\partial z} \end{array} \right| = \frac{\partial {f,g,h)}{\partial(x,y,z)}

\[ \left| \begin{array}{ccc} \frac{\partial f}{\partial x} & \frac{\partial g}{\partial x} & \frac{\partial h}{\partial x} \\ \frac{\partial f}{\partial y} & \frac{\partial g}{\partial y} & \frac{\partial h}{\partial y} \\ \frac{\partial f}{\partial z} & \frac{\partial g}{\partial z} & \frac{\partial h}{\partial z} \end{array} \right| = \frac{\partial (f,g,h)}{\partial (x,y,z)}\]

Aligning With an Equals Sign
 \begin{equation} \begin{aligned} ds^2 &= d \mathbf{r} \cdot d \mathbf{r} \\ &=(\frac{\partial d \mathbf{r}}{\partial \alpha} d \alpha +\frac{\partial d \mathbf{r}}{\partial \beta} d \beta) \cdot (\frac{\partial d \mathbf{r}}{\partial \alpha} d \alpha +\frac{\partial d \mathbf{r}}{\partial \beta} d \beta) \\ &=\frac{\partial \mathbf{r}}{\partial \alpha} \cdot \frac{\partial \mathbf{r}}{\partial \alpha} d \alpha^2 +2 \frac{\partial \mathbf{r}}{\partial \alpha} \cdot \frac{\partial \mathbf{r}}{\partial \beta} d \alpha d \beta +\frac{\partial \mathbf{r}}{\partial \beta} \cdot \frac{\partial \mathbf{r}}{\partial \beta} d \beta^2 \end{aligned} \end{equation}

\[ \begin{equation} \begin{aligned} ds^2 &= d \mathbf{r} \cdot d \mathbf{r} \\ &=(\frac{\partial d \mathbf{r}}{\partial \alpha} d \alpha +\frac{\partial d \mathbf{r}}{\partial \beta} d \beta) \cdot (\frac{\partial d \mathbf{r}}{\partial \alpha} d \alpha +\frac{\partial d \mathbf{r}}{\partial \beta} d \beta) \\ &=\frac{\partial \mathbf{r}}{\partial \alpha} \cdot \frac{\partial \mathbf{r}}{\partial \alpha} d \alpha^2 +2 \frac{\partial \mathbf{r}}{\partial \alpha} \cdot \frac{\partial \mathbf{r}}{\partial \beta} d \alpha d \beta +\frac{\partial \mathbf{r}}{\partial \beta} \cdot \frac{\partial \mathbf{r}}{\partial \beta} d \beta^2 \end{aligned} \end{equation}\]
.
Curly Brackets Notation for Sets, and Vectors
\left\{ \begin{pmatrix}1\\0\\2\end{pmatrix} , \begin{pmatrix}0\\1\\1\end{pmatrix} \right\}

\[\left\{ \begin{pmatrix}1\\0\\2\end{pmatrix} , \begin{pmatrix}0\\1\\1\end{pmatrix} \right\}\]

Use of underbrace for Repeated Terms
\mathbf{M}^n =\underbrace{ \mathbf{P} \mathbf{D} \mathbf{P}^{-1} \mathbf{P} \mathbf{D} \mathbf{P}^{-1} ...\mathbf{P} \mathbf{D} \mathbf{P}^{-1}}_{n \: times}=\mathbf{P} \mathbf{D}^n \mathbf{P}^{-1}

\[\mathbf{M}^n =\underbrace{ \mathbf{P} \mathbf{D} \mathbf{P}^{-1} \mathbf{P} \mathbf{D} \mathbf{P}^{-1} ...\mathbf{P} \mathbf{D} \mathbf{P}^{-1}}_{n \: times}=\mathbf{P} \mathbf{D}^n \mathbf{P}^{-1}\]

Conditional Outcomes
\int \int_S \frac{\mathbf{r} \cdot \mathbf{n}}{r^3} dS = \left\{ \begin{array}{cc} 0 & (0,0,0) \notin S \\ 4 \pi & (0,0,0) \in S \end{array} \right.  

\[\int \int_S \frac{\mathbf{r} \cdot \mathbf{n}}{r^3} dS = \left\{ \begin{array}{cc} 0 & (0,0,0) \notin S \\ 4 \pi & (0,0,0) \in S \end{array} \right. \]