Matrix form of Vector operation

Matrix is a tool to deal with the linear algebra. Vector is usually used to describe most of the physical quantities those have both the direction and amplitude. The vector operations are usually very complicated in the vector algebra. A vector is a simple matrix. I try to obtain the matrix form of vector operation … Read more

A simple and fast tool to estimate the electron cyclotron wave propagation in tokamak plasma.

Electron cyclotron resonance heating is the simplest of the radio frequency heating methods. There is no evanescent region between the antenna and the plasma. However there may be cut-offs in the plasma. It turns out to provide remarkable advantages for heating of fusion plasma. An electromagnetic wave in the electron cyclotron resonance frequency range always … Read more

Web Interface for Mathematica

Mathematica is a powerful tool for scientific computation. It is easy to create the simple interface within its notebook by using Maniplate function. However it is difficult to create the complex forms within its notebook because there is no visual form editor. The forms have to been generated by a lot of commands. Web interface … Read more

Preview while editing in word-press

There is a good editor in word-press. What your see in the editor is what you get in the final post. However, the formula in Latex is quite different between what you see in the editor and what you get. A page is developed to preview the formula while editing. jQuery in the word-press page … Read more

Java Skills for comsol App

Comsol App development is based on Java because the comsol is built by Java. I am not familiar with Java. Here is some basic skill for Java. Data type changes Java is a static program language. The variables must be defined as a type before it is used. There is a static method for each … Read more

Auto study on browsers

Now there are many classes to study. These web applications always check the user’s action frequently. Once it finds the user is not operate the computer, the course will stop. I developed a program to anti-check and make the web application run continuously. Injection JavaScript to the web application Tampermonkey is a popular userscript manager. … Read more

Obtain the cylindrical field components in Comsol.

Comsol is a powerful software to solve the Helmholtz equation in Cartesian coordinates. However, there are many problems based on the cylindrical field. The cylindrical field components are more interesting than the cartesian components. Here is how to obtain the cylindrical field components from the cartesian components in Comsol. The general idea is coordinate transform. … Read more

Web worker

There is only one thread for Javascript in browsers. It is enough for the browser to deal with the UI actions. However, the CPU became multi-thread and the Javascript can do much more work in browser. Web workers are developed to utilize multi-core CPU more effectively. The simplest use of workers is for performing a … Read more

Latex equation in word

It a good news that word has already known the latex in the equation editor. Here is some tips to input the equation with latex. The short key for insert a equation is ALT++. It is quick easy to remember because there is always a “=” in the equation. Most of the latex symbols are … Read more