what is wrong with this code?
- To: mathgroup at smc.vnet.net
- Subject: [mg130302] what is wrong with this code?
- From: dougwangsaif at gmail.com
- Date: Tue, 2 Apr 2013 03:24:48 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
f[x_] := If[EvenQ[IntegerPart[x]], 0.4, 0.8]; Plot[f[x], {x, 1, 101}]
- Follow-Ups:
- Re: what is wrong with this code?
- From: Bob Hanlon <hanlonr357@gmail.com>
- Re: what is wrong with this code?
- From: James Stein <mathgroup@stein.org>
- Re: what is wrong with this code?