Question: I dont know why I get the error in the second part where it said could not convert string to float. in the code totalRunningTime

I dont know why I get the error in the second part where it said could not convert string to float. in the code totalRunningTime = totalRunningTime + float(line)
I dont know why I get the error in the second part
where it said could not convert string to float. in the code

Question 2 A door-to-door telecommunications representative has recorded her day-by- day sales figures over a period of time. She knows that her probability of selling X packages on any one day follows the probability distribution shown in the table. 0 2 3 4 5 >5 Pr(X = y) 212 31 212 21 412 + 0 i. Find the value of t. ii. Find the probability that she sells at least 2 packages on any one day. iii. Find the probability that she sells at most 4 packages on any one day. iv. Find the number of packages she can expect to sell each day. v. Calculate the Var(X) and standard deviation of X, correct to 4 decimal places. vi. Find Prlu - 20 SX su + 20). vii. If the representative receives a commission of $25 per package sold and a bonus of $200 if she sells 4 or more packages in one day, find her expected daily earnings from commissions and bonuses. viii. Given that the representative will sell at least two packages tomorrow, find the probability that she will get her $200 bonus. Question 2 A door-to-door telecommunications representative has recorded her day-by- day sales figures over a period of time. She knows that her probability of selling X packages on any one day follows the probability distribution shown in the table. 0 . 1 2. 3 4 5 >5 Pr(X= y) 212 31 212 21 412 + 1 0 i. Find the value of t. ii. Find the probability that she sells at least 2 packages on any one day. iii. Find the probability that she sells at most 4 packages on any one day. iv. Find the number of packages she can expect to sell each day. v. Calculate the Var(X) and standard deviation of X, correct to 4 decimal places. vi. Find Prlu - 20 SX S1+20). vii. If the representative receives a commission of $25 per package sold and a bonus of $200 if she sells 4 or more packages in one day, find her expected daily earnings from commissions and bonuses. viii. Given that the representative will sell at least two packages tomorrow, find the probability that she will get her $200 bonus

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!