README.md in qlang-0.0.27182120 vs README.md in qlang-0.0.27182121

- old
+ new

@@ -20,33 +20,32 @@ +-------------------+ +----------------------+ ``` ## Demo -Below code is input and output for interpreter of q-lang +Below codes is input and output for interpreter of q-lang (you can try it by `qlang -i`) ### Differentiate ``` d/dx(cos(x)) => ( - sin( x ) ) -d/dx(log(x)) -=> ( 1 / x ) - # You can omit parentheses -d/dy y^2 -=> ( 2 * y ) +d/dx log(x) +=> ( 1 / x ) d/dy xy => ( x ) + +d/dx e^x +=> e ^ x ``` - ### Integrate ``` S(log(x)dx)[0..1] => - oo @@ -56,9 +55,24 @@ S(cos(x)dx)[0..pi] => 0.0 ``` +### Limit + +``` +lim[x->oo] (1 + 1/x)^x +=> 2.7182682371744895 + +lim[x->0] 1/x +=> oo +``` + +### Sigma +``` +∑[x=0,10] x +=> 55.0 +``` ### Matrix ``` (1 2 3; 4 5 6)