The Art of Mathematics

Help 3.1.5

/* */ and // comments

1. Function

Use comments to insert explanation into calculation or temporary exclude expressions from evaluation.

As well comments could be helpful when looking for errors in expressions.

2. How to use

To comment the text block put /* at the beginning of the block and */ at the end of it:

/* The expression below calculates the modulation frequency
used for main emitter*/

To comment the single line or the rest of it put // in front:

//   Calculate the area of the spherical sector: A=2πRh
2*pi*mem[sphere radius]*mem[sector height]−>mem[sector area];    //   Units: m^2