Executing function on Mathematica 8
- To: mathgroup at smc.vnet.net
- Subject: [mg124660] Executing function on Mathematica 8
- From: Fadi Mousa <fadiabuamara at gmail.com>
- Date: Mon, 30 Jan 2012 05:07:43 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
Dear mathematica members,
I am new to mathematica and do not know how to enter the following
function and then call it on mathematica 8:
BinExp[num_,d_] := Module[{n,L},
If[d > $MaxPrecision, $MaxPrecision = d];
n = N[num,d];
L = First[RealDigits[n,2]]
];
Any help is appreciated,
Best Regards,
Fadi Abu-Amara
- Follow-Ups:
- Re: Executing function on Mathematica 8
- From: Murray Eisenberg <murray@math.umass.edu>
- Re: Executing function on Mathematica 8