Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use the function unique to write a MATLAB script shipcostpmf.m that outputs the pair of vectors sy and py representing the PMF P Y (

Use the function "unique" to write a MATLAB script "shipcostpmf.m" that outputs the pair of vectors "sy" and "py" representing the PMF PY(y) of the shipping cost Y in Example 3.27.

image text in transcribed

image text in transcribed

Example 3.27 herobbilil el for runds X of a package in Example 3.3 IS 0.2 1,2, 3, 4, Px(x0.15,6,7,8, 0.15 Px(a) 0.1 0 otherwise. 0 T 10 r For the pricing plan given in Example 3.25, what is the PMF and expected value of Y the cost of shipping a package? Example 3.25 A parcel shipping company offers a charging plan: $1.00 for the first pound, $0 or the second pound, etc., down to $0.60 for the fifth pound, fraction of a pound. For all packages between 6 and 10 pounds, the shipper will charge $5.00 per package. (It will not accept shipments over 10 pounds.) Find a function Yg) for the charge in cents for sending one package. .90 for a with rounding up Example 3.27 herobbilil el for runds X of a package in Example 3.3 IS 0.2 1,2, 3, 4, Px(x0.15,6,7,8, 0.15 Px(a) 0.1 0 otherwise. 0 T 10 r For the pricing plan given in Example 3.25, what is the PMF and expected value of Y the cost of shipping a package? Example 3.25 A parcel shipping company offers a charging plan: $1.00 for the first pound, $0 or the second pound, etc., down to $0.60 for the fifth pound, fraction of a pound. For all packages between 6 and 10 pounds, the shipper will charge $5.00 per package. (It will not accept shipments over 10 pounds.) Find a function Yg) for the charge in cents for sending one package. .90 for a with rounding up

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems 6th Asian Conference Aciids 2014 Bangkok Thailand April 7 9 2014 Proceedings Part I 9 2014 Proceedings Part 1 Lnai 8397

Authors: Ngoc-Thanh Nguyen ,Boonwat Attachoo ,Bogdan Trawinski ,Kulwadee Somboonviwat

2014th Edition

3319054759, 978-3319054759

More Books

Students also viewed these Databases questions