## 35 Reputation

9 years, 154 days

## How do I use Maple to calculate the samp...

Maple 16

If I have  the following..or different numbers, but 2 different arrays I need to calculate sample mean & variance

Array A:=([1,1,1,0,0,3,2,4])

and

Array B:=([2,1,0,1,3,3,4,1])

what formula do I use to force Maple 16 to calculate the sample mean and the sample variance?

## More Code Problems, Help Me Write...

Maple

I need more help with code please!

A box of candy hearts contains 52 hearts, of which 19 are white, 10 are tan, 7 are pink, 3 are purple, 5 are yellow, 2 are orange, and 6 are green. If you select 9 pieces randomly without replacement, what is the probability that A_3 of the 9 are white, and B_3 of the 9 are white, 2 are tan 1 is pink and 1 is yellow and 2 are green

19 Whites in the pack / 52 hearts in the pack = .3654 possibility of picking a white from 1 draw.

## Help me write code...

Maple

How can I write code for : A coin is tossed 4x, the sequence of H and T is observed. I need to list each of the 16 sequences (which, when done manually are :

S= {hhhh,hhht,hhth,hthh,thhh,hhtt,htht,thth,tthh,thht,htth,ttth,ttht,thtt,httt,tttt}

b) Let events A,B,C,D be given A= {at least 3 heads}, B= {at most 2 heads}, C= {heads on the third toss}, D= {1 head and 3 tails}. If the probability set function assigns 1/16 to each outcome in the sample space find ...

 1 2 3 Page 3 of 3
﻿