Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'EvenQ and Cases in mathmatica' topicStudent Support Forum > General > Archives > "EvenQ and Cases in mathmatica"

Next Comment >Help | Reply To Topic
Author Comment/Response
Kidi3
10/17/12 02:58am

How can i use this function

MK[d_] := Cases[d, x /; EvenQ[d]]

The idea of this function is that is should spit out all the even numbers of the range d.

So an example would be
in:MK[10]

Out:{2,4,6,8,10}


URL: ,

Subject (listing for 'EvenQ and Cases in mathmatica')
Author Date Posted
EvenQ and Cases in mathmatica Kidi3 10/17/12 02:58am
Re: EvenQ and Cases in mathmatica Bill Simpson 10/17/12 11:28am
Re: EvenQ and Cases in mathmatica kidi3 10/18/12 01:57am
Re: Re: EvenQ and Cases in mathmatica Bill Simpson 10/18/12 1:47pm
Next Comment >Help | Reply To Topic