Description
the code for beginner . use " condition statement" , loobs , void function , value return function, pass by value and pass by reference only if necessary.
Unformatted Attachment Preview
2.
An apartment complex contains possibly 60 apartments, rented out at possibly $500, when the
apartment is at this rent price, it is fully occupied. Whenever there is an increase in the rent, possibly by $50,
one renter moves out, reducing the occupied units by 1. The apartment complex spends $25 dollars to maintain
each occupied unit. How many apartments should be rented to yield maximum profit for the complex. (Profit is
calculated by subtracting the rent made from all occupied units from the cost it takes to maintain them).
Your program should input from the main the
Initial number of apartments the complex has
The rent price that has every apartment occupied
Your program should input from the function
The increase in rent that results in an unoccupied apartment
The amount it takes to maintain each occupied apartment
Your program should output in the main the number of occupied apartments, it takes to yield maximum pro
along with the value of the profit.
app 40
Purchase answer to see full attachment
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
Explanation & Answer
I have attached the requested help as a txt and a zipped cpp file. They are the same file, just with different extensions. I just gave you both because some people can't op...
Completion Status:
100%
Review
Review
Anonymous
Great! Studypool always delivers quality work.
Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4
24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!
Most Popular Content
6 pages
Android App Studio Milestone Project
I added a button on my activity_main.xml, named it all tasks, and gave it a button id Then, on the Mainactivity.java file, ...
Android App Studio Milestone Project
I added a button on my activity_main.xml, named it all tasks, and gave it a button id Then, on the Mainactivity.java file, I added a variable for the ...
AU Healthcare History of Private Insurance and Managed Care Essay
Remember to submit your work following the file naming convention FirstInitial.LastName_M01.docx. For example, J.Smith_M01 ...
AU Healthcare History of Private Insurance and Managed Care Essay
Remember to submit your work following the file naming convention FirstInitial.LastName_M01.docx. For example, J.Smith_M01.docx. Remember that it is not necessary to manually type in the file extension; it will automatically append.
Start by reading and following these instructions:
Quickly skim the questions or assignment below and the assignment rubric to help you focus.
Read the required chapter(s) of the textbook and any additional recommended resources. Some answers may require you to do additional research on the Internet or in other reference sources. Choose your sources carefully.
Consider the course discussions so far and any insights gained from it.
Create your Assignment submission and be sure to cite your sources if needed, use APA style as required, and check your spelling.
Assignment:
Financing Healthcare
Consider how compensation for healthcare services shape delivery of care, and reflects policy and policy changes and write a paper that addresses the bullets below. Be sure to completely address each bullet point. There should be four (4) sections in your paper; one for each bullet below. Separate each section in your paper with a clear brief heading that allows your professor to know which bullet you are addressing in that section of your paper. Include a “Conclusion” section that summarizes all topics. This assignment will be at least 1250 words.
This week you will reflect upon accountability in healthcare finance to address the following:
Discuss the history of private health insurance and manage care and how it involved into a healthcare industry?
Identify the key federal laws that protect individuals who are enrolled in private insurance.
Briefly discuss consumer-driven healthcare and the empowerment of the healthcare consumer.
Explore the opportunities which have emerged for nurses within the private insurance market.
Cuyamaca College Purpose of The Script & Computation Math Lab
IntroductionThe purpose of this lab is to use what we've learned about using conditionals to write a program that computes ...
Cuyamaca College Purpose of The Script & Computation Math Lab
IntroductionThe purpose of this lab is to use what we've learned about using conditionals to write a program that computes a student's chance of being accepted for transfer to a university. ProcedureAs usual, create a script, include a comment at the top explaining the purpose of the script, your name, and the date it was created.A. Suppose four students are applying to the College of Engineering at TNRU (Totally Not Real University). Each student has the attributes: Major, GPA and SAT score. Encoding for the majors are below. Write a function called identifyMajor that takes as input the student (student will be in array form that contains the attributes listed above), uses a switch statement to determine the major of the student and returns as output the decoded major in string form.1 = Aeronautical/Astronautical Engineering2 = Chemical Engineering3 = Civil Engineering4 = Electrical Engineering5 = Environmental Engineering6 = Mechanical EngineeringB. In order to determine if a student will be admitted to their chosen major, we need to compare their GPA and SAT scores to the average GPA and SAT scores for their department. Write a function called computeAdmissionStatus that takes in as input the student array and implements the following decision:If student GPA and student SAT score are both greater than or equal to the average GPA and SAT score for the department, then admissionStatus = 'admitted'If student GPA and student SAT score are both less than or the average GPA and SAT score for the department, then admissionStatus = 'denied'If student GPA is less than the average department GPA but the student SAT score is greater than or equal to the average SAT score for the department, or is student SAT score is less than the average department SAT score but the student GPA is greater than or equal to the average GPA for the department, then admissionStatus = 'pending.'The average department GPA and SAT scores are as follows:Aeronautical/Astronautical Engineering: Average GPA: 3.59Average SAT Score: 1148Chemical Engineering:Average GPA: 3.74Average SAT Score: 1164Civil Engineering:Average GPA: 3.65Average SAT Score: 1132Electrical Engineering:Average GPA: 3.72Average SAT Score: 1160Environmental Engineering:Average GPA: 3.67Average SAT Score: 1158Mechanical Engineering:Average GPA: 3.71Average SAT Score: 1156C. Write a main function from where you will declare variables and call the functions you wrote above. Create three student arrays by copying the following code into your main function:studentA = [2,3.79,1165];studentB = [4,3.7,1156];studentC = [5,3.69,1150];studentD = [6,3.55,1172];Your main function should also report the admission status of each student to the user. As in the last lab, display a sentence with the outputs embedded in an array of strings. See the page on Displaying Output Messages with Variables. For example, your output message should be in the form: 'Student A's admission the the Electrical Engineering Department is pending.'Turn-in InstructionsYou will need to submit .m files for each function you define. Each .m file should include your name and function description in comments. Upload your files via Canvas. Let me know if you have any questions
Johns Hopkins University Data Analyst or Data Scientist Python Project
Homework1GoalThe goal of this homework assignment is to work on some real world problems that you mightencounter in a take ...
Johns Hopkins University Data Analyst or Data Scientist Python Project
Homework1GoalThe goal of this homework assignment is to work on some real world problems that you mightencounter in a take-home coding project for an interview on the job as a Data Analyst or DataScientist.Instructions● This is an individual assignment.● You can either turn in a Jupyter Notebook (.ipynb extension) or a python script (.pyextension).● Do not use Excel or any spreadsheet software.● You should be able to answer all of the questions using basic Python data structures andsyntax. Do not import any Python packages unless explicitly stated in the question. Forinstance, you are not allowed to use Pandas, Numpy, etc...● The first thing we will do when evaluating your assignment is running it end-to-end.Therefore, before submitting your assignment, we strongly recommend that you:○ make sure your code runs end-to-end without errors,○ restart the kernel and run all cells in case you are working in a Jupyter Notebook.● Please write clean code and include comments where applicable.● Clearly identify the question number you are answering.Section 1Suppose the healthcare company you work for is evaluating a potential partnership with aninsurance company. Under the proposed agreement, the insurance company would refer someof their members to the services provided by your company. As part of the evaluation, theinsurance company sent a dataset that your manager has tasked you with analyzing.The data is stored in the file `patient_visits_partnership_prospect.psv`, in pipe-delimited format.Here is a sample record:875432|2021-04-16|Brooklyn|NY|11238|A|80It contains the following fields:● patient_id: a numeric identifier● visit_date: YYYY-MM-DD format● city● state● zip_code● visit_type: the visit type, eg an annual checkup, or a follow-up visit, etc.. encoded by asingle character A, B, C, ....● charge: the amount charged for the visitFor the example record, the patient_id is 875432, the visit occurred on April 16 2021, inBrooklyn NY with zip code 11238. The visit-type was “A” and the charge incurred was $80.Disclaimer - this is a synthetic dataset that I generated although it is inspired by real data that Ihave worked with.Questions:You will need to load the file into memory and answer the following questions:1. How many rows are there in the dataset?2. How many unique patients are there?3. How many unique states are there?4. Find the minimum and maximum visit date. Note - you do not need any fancy dateparsing packages here, you should be able to answer this using basic Python syntax.5. Find the visit count per state and print them in descending order.6. Some of the patients have multiple visits. Calculate the number of patients with a singlevisit and the number of patients with multiple visits. Calculate the ratio of patients withmultiple visits to total patients.7. The majority of repeat patients had multiple visits in one city, but a small minority ofrepeat patients had multiple visits across different states. Calculate the number ofpatients that had multiple visits across different states.8. Calculate the visit counts by year-month and display the results by increasing order ofdate.9. Find the top three busiest cities. Take care to consider city and state since some citiesmight exist across multiple states.10. Find the distribution of visit-types. For instance, a hypothetical answer could be: 40% ofvisits are of type A and 60% of visits are of type B.11. Calculate the average, minimum and maximum charges per visit-type
5 pages
Case Study.edited 1 1
The Advantages to Universities in Building their Own Digital Learning Platforms and Why Might They Instead Choose to Partn ...
Case Study.edited 1 1
The Advantages to Universities in Building their Own Digital Learning Platforms and Why Might They Instead Choose to Partner with a Firm Like 2U
Similar Content
ODE SOLVING WITH MATLAB
I HAVE A PROJECT TO DO. THAT INVOLVES A INTRAPERSONAL HIV MODEL . THERE ARE 3 ODE'S MATHEMATICALLY MODELLING THIS. I NEED ...
Yale University Software Analysis Methods Critiques
software analysis question...
GMU Software Engineering Questions
1. Describe how you think that writing for the web is different from writing a report
2. Define the term solutions archite...
I have a computer paper that needs to be done now
Are you available to write a paper for me? I had another tutor that said it would be done this morning, and I have not hea...
Another Computer Program Design Technical Paper
Technical Paper: Object-oriented Programming (OOP) / Event-Driven
Programming (EDP) versus Procedural Programming (PP)Due...
CBFS Programming Hospital System Discussion
python programmingsee the attachment ...............................................
Untitled Document 7
question[0]="How many days are in a lunar year?" question[4]="Which of these Winnie the Pooh characters is a donkey?"...
Mean With Cosmos Db
...
Free Website With Weebly
Weebly is the easiest way to make a free website. In the video, the narrator explains how At 0:10 mark, the narrator descr...
Related Tags
Book Guides
Mockingjay
by Suzanne Collins
The Point of it All - A Lifetime of Great Loves and Endeavors
by Charles Krauthammer
Sense And Sensibility
by Jane Austen
Gone with the Wind
by Margaret Mitchell
And Then There Were None
by Agatha Christie
Anthem
by Ayn Rand
The Jade Peony
by Wayson Choy
Fast Food Nation
by Eric Schlosser
The Secret Life of Bees
by Sue Monk Kidd
Get 24/7
Homework help
Our tutors provide high quality explanations & answers.
Post question
Most Popular Content
6 pages
Android App Studio Milestone Project
I added a button on my activity_main.xml, named it all tasks, and gave it a button id Then, on the Mainactivity.java file, ...
Android App Studio Milestone Project
I added a button on my activity_main.xml, named it all tasks, and gave it a button id Then, on the Mainactivity.java file, I added a variable for the ...
AU Healthcare History of Private Insurance and Managed Care Essay
Remember to submit your work following the file naming convention FirstInitial.LastName_M01.docx. For example, J.Smith_M01 ...
AU Healthcare History of Private Insurance and Managed Care Essay
Remember to submit your work following the file naming convention FirstInitial.LastName_M01.docx. For example, J.Smith_M01.docx. Remember that it is not necessary to manually type in the file extension; it will automatically append.
Start by reading and following these instructions:
Quickly skim the questions or assignment below and the assignment rubric to help you focus.
Read the required chapter(s) of the textbook and any additional recommended resources. Some answers may require you to do additional research on the Internet or in other reference sources. Choose your sources carefully.
Consider the course discussions so far and any insights gained from it.
Create your Assignment submission and be sure to cite your sources if needed, use APA style as required, and check your spelling.
Assignment:
Financing Healthcare
Consider how compensation for healthcare services shape delivery of care, and reflects policy and policy changes and write a paper that addresses the bullets below. Be sure to completely address each bullet point. There should be four (4) sections in your paper; one for each bullet below. Separate each section in your paper with a clear brief heading that allows your professor to know which bullet you are addressing in that section of your paper. Include a “Conclusion” section that summarizes all topics. This assignment will be at least 1250 words.
This week you will reflect upon accountability in healthcare finance to address the following:
Discuss the history of private health insurance and manage care and how it involved into a healthcare industry?
Identify the key federal laws that protect individuals who are enrolled in private insurance.
Briefly discuss consumer-driven healthcare and the empowerment of the healthcare consumer.
Explore the opportunities which have emerged for nurses within the private insurance market.
Cuyamaca College Purpose of The Script & Computation Math Lab
IntroductionThe purpose of this lab is to use what we've learned about using conditionals to write a program that computes ...
Cuyamaca College Purpose of The Script & Computation Math Lab
IntroductionThe purpose of this lab is to use what we've learned about using conditionals to write a program that computes a student's chance of being accepted for transfer to a university. ProcedureAs usual, create a script, include a comment at the top explaining the purpose of the script, your name, and the date it was created.A. Suppose four students are applying to the College of Engineering at TNRU (Totally Not Real University). Each student has the attributes: Major, GPA and SAT score. Encoding for the majors are below. Write a function called identifyMajor that takes as input the student (student will be in array form that contains the attributes listed above), uses a switch statement to determine the major of the student and returns as output the decoded major in string form.1 = Aeronautical/Astronautical Engineering2 = Chemical Engineering3 = Civil Engineering4 = Electrical Engineering5 = Environmental Engineering6 = Mechanical EngineeringB. In order to determine if a student will be admitted to their chosen major, we need to compare their GPA and SAT scores to the average GPA and SAT scores for their department. Write a function called computeAdmissionStatus that takes in as input the student array and implements the following decision:If student GPA and student SAT score are both greater than or equal to the average GPA and SAT score for the department, then admissionStatus = 'admitted'If student GPA and student SAT score are both less than or the average GPA and SAT score for the department, then admissionStatus = 'denied'If student GPA is less than the average department GPA but the student SAT score is greater than or equal to the average SAT score for the department, or is student SAT score is less than the average department SAT score but the student GPA is greater than or equal to the average GPA for the department, then admissionStatus = 'pending.'The average department GPA and SAT scores are as follows:Aeronautical/Astronautical Engineering: Average GPA: 3.59Average SAT Score: 1148Chemical Engineering:Average GPA: 3.74Average SAT Score: 1164Civil Engineering:Average GPA: 3.65Average SAT Score: 1132Electrical Engineering:Average GPA: 3.72Average SAT Score: 1160Environmental Engineering:Average GPA: 3.67Average SAT Score: 1158Mechanical Engineering:Average GPA: 3.71Average SAT Score: 1156C. Write a main function from where you will declare variables and call the functions you wrote above. Create three student arrays by copying the following code into your main function:studentA = [2,3.79,1165];studentB = [4,3.7,1156];studentC = [5,3.69,1150];studentD = [6,3.55,1172];Your main function should also report the admission status of each student to the user. As in the last lab, display a sentence with the outputs embedded in an array of strings. See the page on Displaying Output Messages with Variables. For example, your output message should be in the form: 'Student A's admission the the Electrical Engineering Department is pending.'Turn-in InstructionsYou will need to submit .m files for each function you define. Each .m file should include your name and function description in comments. Upload your files via Canvas. Let me know if you have any questions
Johns Hopkins University Data Analyst or Data Scientist Python Project
Homework1GoalThe goal of this homework assignment is to work on some real world problems that you mightencounter in a take ...
Johns Hopkins University Data Analyst or Data Scientist Python Project
Homework1GoalThe goal of this homework assignment is to work on some real world problems that you mightencounter in a take-home coding project for an interview on the job as a Data Analyst or DataScientist.Instructions● This is an individual assignment.● You can either turn in a Jupyter Notebook (.ipynb extension) or a python script (.pyextension).● Do not use Excel or any spreadsheet software.● You should be able to answer all of the questions using basic Python data structures andsyntax. Do not import any Python packages unless explicitly stated in the question. Forinstance, you are not allowed to use Pandas, Numpy, etc...● The first thing we will do when evaluating your assignment is running it end-to-end.Therefore, before submitting your assignment, we strongly recommend that you:○ make sure your code runs end-to-end without errors,○ restart the kernel and run all cells in case you are working in a Jupyter Notebook.● Please write clean code and include comments where applicable.● Clearly identify the question number you are answering.Section 1Suppose the healthcare company you work for is evaluating a potential partnership with aninsurance company. Under the proposed agreement, the insurance company would refer someof their members to the services provided by your company. As part of the evaluation, theinsurance company sent a dataset that your manager has tasked you with analyzing.The data is stored in the file `patient_visits_partnership_prospect.psv`, in pipe-delimited format.Here is a sample record:875432|2021-04-16|Brooklyn|NY|11238|A|80It contains the following fields:● patient_id: a numeric identifier● visit_date: YYYY-MM-DD format● city● state● zip_code● visit_type: the visit type, eg an annual checkup, or a follow-up visit, etc.. encoded by asingle character A, B, C, ....● charge: the amount charged for the visitFor the example record, the patient_id is 875432, the visit occurred on April 16 2021, inBrooklyn NY with zip code 11238. The visit-type was “A” and the charge incurred was $80.Disclaimer - this is a synthetic dataset that I generated although it is inspired by real data that Ihave worked with.Questions:You will need to load the file into memory and answer the following questions:1. How many rows are there in the dataset?2. How many unique patients are there?3. How many unique states are there?4. Find the minimum and maximum visit date. Note - you do not need any fancy dateparsing packages here, you should be able to answer this using basic Python syntax.5. Find the visit count per state and print them in descending order.6. Some of the patients have multiple visits. Calculate the number of patients with a singlevisit and the number of patients with multiple visits. Calculate the ratio of patients withmultiple visits to total patients.7. The majority of repeat patients had multiple visits in one city, but a small minority ofrepeat patients had multiple visits across different states. Calculate the number ofpatients that had multiple visits across different states.8. Calculate the visit counts by year-month and display the results by increasing order ofdate.9. Find the top three busiest cities. Take care to consider city and state since some citiesmight exist across multiple states.10. Find the distribution of visit-types. For instance, a hypothetical answer could be: 40% ofvisits are of type A and 60% of visits are of type B.11. Calculate the average, minimum and maximum charges per visit-type
5 pages
Case Study.edited 1 1
The Advantages to Universities in Building their Own Digital Learning Platforms and Why Might They Instead Choose to Partn ...
Case Study.edited 1 1
The Advantages to Universities in Building their Own Digital Learning Platforms and Why Might They Instead Choose to Partner with a Firm Like 2U
Earn money selling
your Study Documents