In: Accounting
In Python write a function with prototype “def wordfreq(filename = "somefile.txt"):” that will read a given file that contains words separated by spaces (perhaps multiple words on a line) and will create a dictionary whose keys are the words and the value is the number of times the word appears. Convert each word to lower case before processing.
In: Computer Science
Please solve me this question and send me the video clip how to do it
This problem contains loops, sorting arrays, random generation, and variable matching.
Include an analysis (data requirements) and algorithm in your reply.
Write a “lottery engine” program to simulate drawing lottery numbers. You will draw 7 numbers, randomly selected from 1 to 16.
a) Allow the user to enter their own selection of numbers first,
Example numbers: 2 3 7 9 10 11 15
b) then run your “lottery engine” to select the “winning numbers”. Numbers are drawn randomly.
Use the clock as the seed value for your random function (Hint: use “srand(clock());” ).
c) Be sure to remove duplicate entries.
d) Print out the draw result as it was generated (unsorted), then sort the array and print out the sorted numbers.
Example output:
“
Draw unsorted: 2 12 16 14 7 13 1
Draw sorted: 1 2 7 12 13 14 16
“
e) Then print out the matching numbers selected by the user:
f) Also print the sorted user selection and draw results and matching numbers to a TXT file called “Results.txt”.
Example output
“
Draw sorted: 1 2 7 12 13 14 16
User’s sorted: 2 3 7 9 10 11 15
Matching numbers: 2 – 7
“
In: Computer Science
a piece of solid lead weighing 6.5 kg at 327 degrees celsius receives 150000 joules of heat.. in what state is the lead after this occurs? the latent heat of fusion for lead is 23200 J/kg
In: Physics
Johnson Company leases computer equipment to customers under sales-type leases. The equipment has no residual value at the end of the lease and the leases do not contain purchase options. Johnson desires a return of 8% interest on a five-year lease of equipment with a fair value of $970,425.
(The present value of an annuity due of $1 at 8% for five years is 4.313.) OR
(Hint: Change the calculator setting to BGN for the annuity due.)
What is the annual lease payment?
)What is the total amount of interest revenue that Johnson will earn over the life of the lease?
In: Accounting
In: Psychology
What is ventilation? Ventilation installation elements (in the most general form), Please write and explain on the ventilation system shape. ** In shopping mall ventilation (taking into account the Covid 19-Pandomi period) Please write what are your suggestions.
In: Mechanical Engineering
Marko inc., is considering the purchase of ABC Co. Marko believes that ABC Co. can generate cash flows of 6100, 11100, and 17300 over the next three years, respectively. After that time, they feel the business will be worthless. Marko has determined that a rate of return 15 percent is applicable to this potential purchase. What is Marko willing to pay today to buy ABC Co.
In: Finance
In: Computer Science
data structures in the banker's algorithm is a vector of length m, where m is the number of resource types
a variant of the resource allocation graph used if all resources have only a single instance
system can allocate resources to each thread in some order and avoid a deadlock
assigned to its own resource
from thread Ti to resource Rj
directed graph used to describe a deadlock
deadlock avoidance algorithm used for resource allocation systems with multiple instances of each resource type
a sequence of thread where resources can be allocated without a deadlock
records whether each resource is free or allocated
from resource to thread
proves a set of methods to ensure that at last one of the necessary conditions cannot hold
indicates that a process may request a resource
requires that the operating system be given addition information in advance concerning which resource a thread will request
used by most operating systems
occurs when a thread continuously attempts an action that fails
========================================
Match Based on the above answers:-
Incidence of a lock
System table
Livelock
Resource allocation graph
Directed edge
Assignment edge
Claim edge
Available
Deadlock prevention
Deadlock avoidance
Do nothing about a deadlock
Safe state
Safe sequence
Baker’s algorithm
Wait-for graph
In: Computer Science
Given an integer named area which represents the area of a rectangle, write a function minPerimeter that calculates the minimum possible perimeter of the given rectangle, and prints the perimeter and the side lengths needed to achieve that minimum. The length of the sides of the rectangle are integer numbers. For example, given the integer area = 30, possible perimeters and side-lengths are: (1, 30), with a perimeter of 62 (2, 15), with a perimeter of 34 (3, 10), with a perimeter of 26 (5, 6), with a perimeter of 22 Thus, your function should print only the last line, since that is the minimum perimeter. Some example outputs:
>>>minPerimeter(30)
22 where rectangle sides are 5 and 6.
In: Computer Science
Businesses should ensure they price their goods and services reasonably to retain competitive advantage. An accurate method of costing is important as it can assist a business to determine a fair price for their final product.
With the above in mind, the CEO of GoGo Airlines has provided you with the following information:
Total Overheads = £200,000
Total Machine Hours = 100,000
Product: | Vegan Meal: | Non-vegan Meal: |
Units of Production |
300,000 |
450,000 |
Material Cost per meal |
£10 |
£12 |
Labour Cost per meal |
£8 |
£10 |
Machine Hours per meal |
1/30 | 1/5 |
% Overheads | |
Set-up Costs |
20 |
Inspections |
60 |
Delivery costs |
20 |
Vegan Meal: | Non-vegan Meal: | Total: | |
Set ups |
100 |
500 | 600 |
Inspections |
500 |
200 | 700 |
No. of Deliveries |
400 |
800 | 1200 |
You are required to calculate the unit costs of the vegan and non-vegan meals using:
In: Finance
Scenario
Congratulations! Your App Development Proposal has received approval after being shared with both your client and the mobile application development team at Mobile2App. It is now time to construct a UI based on your original proposal. You must supply the client with a complete UI design that is easy to understand and demonstrates a creative theme and layout for the finished application.
Directions
Open the Android Studio Layout Editor to begin creating the UI for your app. Be sure to use the Install Android Studio resource and the Build a Simple User Interface resource, both linked in the Supporting Materials section, to get started with this software. Throughout this project, continue to reference the App Development Proposal you completed in Project One while paying particular attention to the section on UI Design. Also be sure to let the Android Design and Quality Guidelines document, which is linked in the Supporting Materials section, guide your decisions.
Your completed UI should include all of the screens needed for your app to operate but the UI will not yet be functional. You will only be creating the UI components for this project as the supporting code will be completed in Project Three.
In: Computer Science
CASE 2
Pandora is the Internet’s most successful subscription radio service. In May 2014, Pandora had 77 million registered users. Pandora accounts for over 9 percent of total U.S. radio listening hours. The music is delivered to users from a cloud server, and is not stored on user devices. It’s easy to see why Pandora is so popular. Users are able to hear only the music they like. Each user selects a genre of music based on a favorite musician or vocalist, and a computer algorithm puts together a “personal radio station” that plays the music of the selected artist plus closely related music by different artists. The algorithm uses more than 450 factors to classify songs, such as the tempo and number of vocalists. These classifications, in conjunction with other signals from users, help Pandora’s algorithms select the next song to play. People love Pandora, but the question is whether this popularity can be translated into profits. How can Pandora compete with other online music subscription services and online stations that have been making music available for free, sometimes without advertising? “Free” illegally downloaded music has also been a significant factor, as has been iTunes, charging 99 cents per song with no ad support. At the time of Pandora’s founding (2005), iTunes was already a roaring success. Pandora’s first model was to give away 10 hours of free music and then ask subscribers to pay $36 per month for a year once they used up their 10 free hours. Result: 100,000 people listened to their 10 hours for free and then refused to pay for the annual service. Facing financial collapse, in November 2005 Pandora introduced an ad-supported option. In 2006, Pandora added a “Buy” button to each song being played and struck deals with Amazon, iTunes, and other online retail sites. Pandora now gets an affiliate fee for directing listeners to sites where users can buy the music. In 2008, Pandora added an iPhone app to allow users to sign up from their smartphones and listen all day if they wanted. Today, 70 percent of Pandora’s advertising revenue comes from mobile. In late 2009 the company launched Pandora One, a premium service that offered no advertising, higher quality streaming music, a desktop app, and fewer usage limits. The service costs $4.99 per month. A very small percentage of Pandora listeners have opted to pay for music subscriptions, with the vast majority opting for the free service with ads. In fiscal 2013 Pandora’s total revenue was $427.1 million, of which $375.2 million (88 percent) came from advertising. Pandora has been touted as a leading example of the “freemium” revenue model, in which a business gives away some services for free and relies on a small percentage of customers to pay for premium versions of the same service. If a market is very large, getting just 1 percent of that market to pay could be very lucrative— under certain circumstances. Although freemium is an efficient way of amassing a large group of potential customers, companies, including Pandora, have found that it is challenging to convert people enjoying the free service into customers willing to pay. A freemium model works best when a business incurs very low marginal cost, approaching zero, for each free user of its services, when a business can be supported by the percentage of customers willing to pay, and when there are other revenues like advertising fees that can make up for shortfalls in subscriber revenues. In Pandora’s case, it appears that revenues will continue to come overwhelmingly from advertising, and management is not worried. For the past few years, management has considered ads as having much more revenue-generating potential than paid subscriptions and is not pushing the ad-free service. By continually refining its algorithms, Pandora is able to increase user listening hours substantially. The more time people spend with Pandora, the more opportunities there are for Pandora to deliver ads and generate ad revenue. The average Pandora user listens to 19 hours of music per month. Pandora is now intensively mining the data collected about its users for clues about the kinds of ads most likely to engage them. Pandora collects data about listener preferences from direct feedback such as likes and dislikes (indicated by thumbs up or down on the Pandora site) and “skip this song” requests, as well as data about which device people are using to listen to Pandora music, such as mobile phones or desktop computers. Pandora uses these inputs to select songs people will want to stick around for, and listen to. Pandora has honed its algorithms so they can analyze billions more signals from users generated over billions of listening minutes per month. As impressive as these numbers are, Pandora (along with other streaming subscription services) is still struggling to show a profit. There are infrastructure costs and royalties to pay for content from the music labels. Pandora’s royalty rates are less flexible than those of its competitor Spotify, which signed individual song royalty agreements with each record label. Pandora could be paying even higher rates when its current royalty contracts expire in 2015. About 61 percent of Pandora’s revenue is currently allocated to paying royalties. Advertising can only be leveraged so far, because users who opt for free ad-supported services generally do not tolerate heavy ad loads.
CASE 2 QUESTIONS:
1. What type of e-commerce is Pandora? What is Pandora’s ecommerce business model? Explain your answer?
2. What ecommerce revenue models are Pandora using? How does Pandora generate money with the revenue models? Explain your answer?
3. For Pandora, what business strategies are being supported by the use of data mining? Explain your answer.
In: Operations Management
Becky is a 33 year old woman. She is a G4 P3. She had a spontaneous vaginal delivery of a 4100 live female 4 hours ago following a precipitous delivery. Post-delivery, she received 10u of Pitocin IM. Her perineum is intact and she is feeling good. She breastfed her infant after delivery for 20 minutes without any issues. In the postpartum unit her fundus is firm at the umbilicus, her lochia is small to moderate. V.S. are stable. She rings her call bell and states "I feel dizzy and lightheaded". Upon entering the room, Becky is pale and there is a pool of blood on the floor. What are 4 interventions that the nurse should do? What are the risk factors for postpartum hemorrhage? What medical management should be initiated? Develop one nursing diagnosis and 3 nursing interventions for a patient experiencing a postpartum hemorrhage.
In: Nursing