README.md in dydx-0.1.29 vs README.md in dydx-0.1.31
- old
+ new
@@ -1,15 +1,17 @@
-# Dydx is new math DSL in Ruby
+# Dydx is new MATH Language on Ruby.
### Since you report a bug, I will fix it within 24 hours.
The most important thing in this DSL is
we can handle math in the same sense sense of the math on paper.
ex. limit, trigonometric functions and logarithmic.
+## We should enjoy MATH even using PC.
+(to say nothing of using pen.)
After `inlcude Dydx` , ruby become like other language.
## Outline
```ruby:
@@ -23,11 +25,11 @@
=> 9
f(x).to_s
=> "( x ^ 2 )"
-f(x) == eval('f(x).to_s')
+f(x) == eval(f(x).to_s)
=> true
# Differentiate
g(x) <= d/dx(f(x))
@@ -59,27 +61,27 @@
( d/dx(e ^ x) ).to_s
=> "( e ^ x )"
f(x) <= sin(x)
S(f(x), dx)[0, Math::PI/2]
-=> 1.000000000021139
+=> 1.0
# standard normal distribution;
f(x) <= (1.0 / ( ( 2.0 * pi ) ^ 0.5 ) ) * ( e ^ (- (x ^ 2) / 2) )
S(f(x), dx)[-oo, oo]
-=> 0.9952054164466917
+=> 1.0
```
#### it's like a magic...
```ruby:
f(x) <= x ^ 2
f(a + b).to_s
=> "( ( a + b ) ^ 2 )"
-#↓it"s magic!!!
+#↓it's like a magic!!!
g(a, b) <= f(a + b)
g(a, b).to_s
=> "( ( a + b ) ^ 2 )"
@@ -154,8 +156,8 @@
## Test
run `bundle exec rake spec`
```
-Finished in 3.23 seconds
-309 examples, 0 failures
+Finished in 3.76 seconds
+325 examples, 0 failures
```