James Spencer: Difference between revisions
Jump to navigation
Jump to search
import>Jss43 No edit summary |
import>Jss43 No edit summary |
||
Line 1: | Line 1: | ||
James is a second year PhD student working with Ali Alavi. He's probably hacking something... |
James is a second year PhD student working with Ali Alavi. He's probably hacking something... |
||
For a (useable) command line calculator (and much, much more): |
|||
<pre> |
|||
alias calc="python -Qnew -ic 'from math import *'" |
|||
</pre> |
|||
[http://www.student.northpark.edu/pemente/sed/sed1line.txt sed magic] |
|||
<math> |
|||
f(x) = |
|||
[http://www.tldp.org/LDP/abs/html/ bash scripting] |
|||
\begin{cases} |
|||
1 & -1 \le x < 0 \\ |
|||
\frac{1}{2} & x = 0 \\ |
|||
1 - x^2 & 0 < x\le 1 |
|||
\end{cases} |
|||
</math> |
Revision as of 10:02, 10 October 2007
James is a second year PhD student working with Ali Alavi. He's probably hacking something...
For a (useable) command line calculator (and much, much more):
alias calc="python -Qnew -ic 'from math import *'"