Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'How to create this function?' topicStudent Support Forum > General > Archives > "How to create this function?"

Help | Reply To Topic
Author Comment/Response
10/12/09 10:41am

Basically, I have to develop a function using a mathematica module that returns a random number between [0,1] with uniform distribution if the resulting number is even, and a number between [-1,1] with normal distribution if the number is odd . Then graph from 1 to 100.

The restrictions are, use only the following instructions:

* Module, RandomReal, NormalDisribution, ListPlot, OddQ and EvenQ.

URL: ,
Help | Reply To Topic