Skip to content

Tom-Hermann/202Unsold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

202unsold

image

With:

  • x the price a jacket
  • y the price of a trouser
  • a and b being integers greater than 50

Let’s call X, Y and Z, respectively, the random variables that represent “the price of a sold jacket”, “the price of sold trousers” and “the price of a sold suit”. Given the values of a and b, the program print:

  • an array summing up the joint law of (X, Y), and the marginal laws of X and Y,

  • an array summing up the law of Z,

  • expected values and variances of X, Y and Z.

Compile

The project compile with Makefile:

For compile the project use the commande:

foo@bar:~/202unsold$ make re

For clean the project use:

foo@bar:~/202unsold$ make fclean

Get instruction with:

foo@bar:~/202unsold$ ./202unsold -h

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published