Search you-are-given-one-cent-on-the-first-day-and-that-amount-doubles-each-consecutive-day-for-the-next-year

# You are given one cent on the first day and that amount doubles each consecutive day for the next year

## Top Questions

ooking at how likely a given email is to be spam based on the words it contains. In particular, in this problem we’re going to count how often words are present in spam emails within some set of training data (which here means a set of emails that have already been marked as spam or not spam manually). We have already started to write a function spam_score(spam_file, not_file, word), which takes in two filenames, along with a target word (a lowercase string). Both filenames refer to text files which must be in the same directory as hw07.py (we’ve provided several such files in hw07files.zip). The text files contain one email per line (really just the subject line to keep things simple) - you can assume that these emails will be a series of words separated by spaces with no punctuation. The first file contains emails that have been identified as spam, the second contains emails that have been identified as not spam. Since you haven’t learned File I/O yet, we’ve provided code that opens the two files and puts the data into two lists of strings (where each element is one line - that is, one email). You then must complete the function, so that it returns the spam score for the target word. The spam score is an integer representing the total number of times the target word occurs across all the spam emails, minus the total number of times the word occurs in not-spam emails. Convert all words to lowercase before counting, to ensure capitalization does not throw off the count.
View More

of Sport-Equip Ltd, a company that sells sports equipment. Some of the users who visit the website end up buying sports equipment from the website while others are simply browsing in order to obtain product information. (a) Clearly explain and justify which probability distribution you would use to describe the number of Internet users who visit the website of Sport-Equip Ltd in a one hour period. [There is no need to calculate any probabilities for this part of the question] (5 marks) (b) What is the probability that during any half-hour period, there will be less than 3 visitors to the website? (5 marks) (c) What is the probability that during any two-hour period, there will be more than 15 visitors to the website? (5 marks) (d) If a user has just visited the website, find the probability that the website will have another visitor within the next 10 minutes. In your answer, state the probability distribution you have used and explain your choice. (4 marks) (e) It is estimated that 40% of Internet users who visit Sport-Equip Ltd’s website buy a product from the company. If 100 users visit the website over a given period of time, find the probability that more than 50 of them will buy a product from the company. In your answer, state the probability distribution you have used and explain your choice
View More

y aces or twos, you lose the game immediately. You also lose if you draw picture cards(J,Q,K) more than twice. In this question, you’ll study the probability of winning this game.(a) What is the probability of drawing no aces or twos after thirteen draws?(b) Given you have drawn thirteen times, none of which is aces or twos, what is the probability that you draw at most two picture cards?(c) What is the probability to win this game? 12. Suppose you are tossing an unbiased coin for100times.(a) What is the probability of getting50heads and50tails?(b) LetXbe the random variable counting the number of heads you observe in this exper-iment. What is the expected value ofX? What is the variance ofX? What is thestandard deviation ofX? 13. The following are probability distributions for two random variablesX,Y. kPr(X=k) 0,0.4 1,0.3 2,0.3 kPr(Y=k) 0,0.5 1,0.3 2,0.2 (a) Construct the probability distribution table for the random variableXY.(b) Find E[X],E[Y] and E[XY]. Is is true that E[XY] =E[X]E[Y]?(c) Find the variances σ2X,σ2Y,σ2XY of X,Y and XY. Is it true that σ2XY=σ2Xσ2Y? 14. The aliens who are fond of gambling came back to play another game with you. In this game, you first toss a coin5times. If you observe3or fewer tails, you roll a die3times. If youobserve4or more tails, you roll a die20times. What is the probability that you end up with at most two6’s in your dice rolls? 15. (Challenge question, worth2points) You have two bags, each of which contains10marbles.Each time you remove a marble from a random bag. What is the probability that after one of the bags is emptied, there are still exactly3marbles in the other bag?
View More

a one million square foot warehouse that they have recently developed. In typical Wal-Mart fashion, they have given you a “take it, or leave it” final offer. The terms are: Purchase Price: \$165 million Facility Size 1,000,000 SF Lease Term 7 years Rent \$7 PSF NNN Operating Expenses Wal-Mart (tenant) pays all operating expenses, utilities, and property taxes (owner pays none) Renewal Options 7-year extension at \$8 per ft2; a second 7 year extension at \$9.50 per ft 2; a third 7 year extension at \$11.50 per ft.2. All at Wal-Mart’s choice (i.e. it’s Wal-Mart’s option). Wal-Mart pays all operating expenses, utilities, property taxes, and capital expenditures undertaken during all lease renewal periods. You know the market and feel that the location is good, and that the warehouse market is in good supply/demand balance. Vacancy rates are 4% - 5% in quality facilities, while net rents in the market are running about \$7.50 - \$8 PSF (i.e. a slight premium to the Wal-Mart lease). You have recently seen comparable sales that have traded in the range of \$160 - \$200 PSF. You also know that implied discount rates are currently at about a 3% premium to implied cap rates and capital costs are running at \$0.50 PSF per annum. You know from your Real Estate Finance & Investments classes that you can value a building using a direct capitalization approach, a comps analysis and a DCF analysis. You also have a handy template that you’ve been using for these analyses which you will need to complete in order to come to a view on value. It’s decision time…would you agree to pay the \$165 million that Wal-Mart is asking? Why or why not?
View More

rts to the fireworks platforms: one part is on the ground and the other part is on top of a building. You are going to graph all of your results on one coordinate plane. Make sure to label each graph with its equation. Use the following equations to assist with this assignment. • The function for objects dropped from a height where t is the time in seconds, h is the height in feet at time it t, and 0 h is the initial height is 2 0 ht t h ( ) 16 =− + . • The function for objects that are launched where t is the time in seconds, h is the height in feet at time t, 0 h is the initial height, and 0 v is the initial velocity in feet per second is 2 0 0 ht t vt h ( ) 16 =− + + . Select the link below to access centimeter grid paper for your portfolio. Centimeter Grid Paper Task 1 First, conduct some research to help you with later portions of this portfolio assessment. • Find a local building and estimate its height. How tall do you think the building is? • Use the Internet to find some initial velocities for different types of fireworks. What are some of the initial velocities that you found? Task 2 Respond to the following items. 1. While setting up a fireworks display, you have a tool at the top of the building and need to drop it to a coworker below. a. How long will it take the tool to fall to the ground? (Hint: use the first equation that you were given above, 2 0 ht t h ( ) 16 =− + . For the building’s height, use the height of the building that you estimated in Task 1.) b. Draw a graph that represents the path of this tool falling to the ground. Be sure to label your axes with a title and a scale. Your graph should show the height of the tool, h, after t seconds have passed. Label this line “Tool”.
View More

task is to move all the reds from the left to the right and all the blacks from the right to the left. The middlebox is empty to allow moves. The moves follow strict rules. Rule # 1: the reds can only move to the right and the blacks can only move to the left. No backward moves are allowed Rule # 2: Equally applicable to the black and the reds, each dot can only move one step forward in the box in front of it is empty, and can skip the contiguous box is occupied by a different colored dot to the following box if empty. While moving your pieces, carefully record all the moves you made. Start first with the 5-boxes set, then the 7-boxes set Try the same rules for a 9-boxes set and then for an 11-boxes set. Record all your moves on paper Examine all four cases and find a pattern that relates the number of moves to the number of dots. Explain how you arrived at this conclusion Create a general formula that will give the number of moves based on the number of dots regardless of how many dots you have.
View More

inefficiencies, etc), and suggest an improved process. Open and read the Process Improvement (Final Q 1) document which describes the process steps in words and also includes a process map as a visual tool for understanding what's going on in each step. You will need to respond to the following three sub-questions: FINAL Q1: 3 Attachments are the Q1 ------------------------------------------------------------------------------------------------------------------------------------------------------------------ I need the 3 part question answered. This is everything in the question.. Understand that there is NOTHING INCOMPLETE, I have added everything that was sent to us. ------------------------------------------------------------------------------------------------------------------------------------------------------------------ a. Of the 9 process steps in the Process Improvement (Final Q 1) document, which specific steps in that process are experiencing lean wastes and/or process cycle time issues (please note, there is more than one step experiencing issues). In your response, name the process step, and/or the transfer interface between steps, and what waste(s) or cycle time issue is involved. Be sure to use standard lean/six sigma terminology that we used in the course when referring to any of the quality concepts; e.g., transportation waste when referring to situations involving a lot of moving around from one place to another. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- b. Which of the process steps you identified in part a do you believe could benefit from process improvement and why? --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- c. What changes would you institute in the process to improve the steps you cited in part b of this question and describe how those changes improves the process. Be specific about which process step(s) your improving and thoroughly describe the improvement to that step. [Note: This question ties to what you decided was important in part b question above.] Also, when answering how you would improve a given process step, assume you have an unlimited budget and personnel resources and you can do mostly anything you want as long as it doesn't violate the laws of physics or the judicial system. Be cautious though because process improvement is designed to save time, money, and resources in doing the needed work.For example, automation is good, and also potentially expensive, so is it worth it for the improvement? - you will have to be the judge of that.
View More

ar. What’s the function rule that represents this situation
View More

1.AU MAT 120 Systems of Linear Equations and Inequalities Discussion

mathematicsalgebra Physics