(adsbygoogle = window.adsbygoogle || []).push({}); EDIT: I found the solution, it can be done using the TwoVar() function on the TI-89 and it gives you a whole lot more than just the expected value. thanks anyways

Hello everyone! :)

I hope I will get an answer for this!

As a USER-DEFINED function I would like to be able to calculate the Expected Value ofnoutcomes with their respective probabilities (also in a single matrix)

it should look something like this:

[itex]\begin{pmatrix}

1 & 1/6 \\

2 & 1/6 \\

3 & 1/6 \\

4 & 1/6 \\

5 & 1/6 \\

6 & 1/6 \end{pmatrix}[/itex]

To find the expected value I would need to do:

[itex](1 \times 1/6) + (2 \times 1/6) + ... + (6 \times 1/6) = E(X)[/itex]

Basically, multiply eachoutcomewith itsprobabilityand finallysumthe whole lot...

IDEALLY...I would like to be able to make a single 2*nmatrix with outcomes and probabilities side-by-side, store it asAand be able to do:or...which is faster to type: make a n*2 matrix!Code (Text):[B]expval([B]A[/B])[/B].

Anyways...sorry for the long post, any help will be much appreciated!!!!

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# TI-89 Titanium - Probability - Expected Value

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

Loading...

Similar Threads - Titanium Probability Expected | Date |
---|---|

How much programming can you expect to do in the lab? | Nov 3, 2015 |

Calculators Weird TI-89 Lockup Behavior | Aug 18, 2015 |

TI89 calculator solver in functions? | Jan 19, 2015 |

Definite Double Integrals 2 variables TI-89 Titanium | Apr 18, 2014 |

Error on the TI-89 Titanium | Nov 27, 2013 |

**Physics Forums - The Fusion of Science and Community**