Exercise Prescription Assignment
Demographic Data
Client: 35 year old femaleResting BP: 132/84 mmHg
Resting HR: 83 bpmTotal cholesterol: 203 mg/dl
Max HR: 185 bpmHDL-cholesterol: 62 mg/dl
Height: 67 in. (170.8 cm)LDL-cholesterol: 110 mg/dl
Body Weight: 143 lbs (65 kg)Daily Caloric Intake: 2000 kcals
Body Fat: 23%Activity Level: lightly active
Desired Body Fat: 20%Job: office work (sitting, standing)
Muscular Fitness Data (1 RM’s)
Bench Press: 90 lbsArm Curl: 45 lbsLat Pull-down: 85 lbs
Leg Press: 230 lbsLeg Extension: 80 lbsLeg Curl: 40 lbs
Cardiorespiratory Fitness Data (Treadmill Test)
| Stage |
Speed (mph) |
% Grade | METs |
Time (min) |
HR (bpm) |
RPE |
| 1 | 3 | 1 % | :45 | 90 | 0 | |
| 1:45 | 92 | 1 | ||||
| 2 | 6.0 | 2.5 % | 2:45 | 105 | 3 | |
| 3:45 | 107 | 3 | ||||
| 3 | 6.0 | 5.0 % | 4:45 | 128 | 6 | |
| 5:45 | 132 | 6 | ||||
| 4 | 6.0 | 7.5 % | 6:45 | 145 | 7 | |
| 7:45 | 146 | 7 | ||||
| 5 | 6.0 | 10 % | 8:45 | 160 | 9 | |
| 9:45 | 168 | 10 |
Data Analysis *{SHOW WORK FOR ALL CALCULATIONS}
In: Nursing
I have to create a program in C++ where a user can enter as many numbers as they want (they predetermine the number of values to be inputted) and then the program can echo that input back to the user and then determine if the numbers were even, odd, or a zero and it outputs how many of each were found. This is to be down with four void functions and no arrays. The program initializes the variables zero, odds, and even to 0, then reads a number at a time. If the number is even, increments the even count, otherwise increments the odd count. Update zero if it is a zero. Below is the code the I have so far, however I think there are some errors with how the functions are laid out. Any help would be appreciated! Apologies if it posts in an odd format or with odd spacing.
#include<iostream>
using namespace std;
void initialize();
void get_number(int &x);
void classify_number(int& zero_count, int& even_count,
int& odd_count);
void print_results();
int N; //The number of values that the user wants to enter
int main()
{
cout << "Enter number of values to be read, then
press return.\n";
cin >> N;
return 0;
}
void initialize()
{
int even_num = 0;
int odd_num = 0;
int zero_count = 0;
}
void get_number(int &x)
{
do {
cout << "Enter a positive
whole number, then press return.\n";
cin >> x; //The number the
user enters
cout << x;
} while (count < N);
}
void classify_number(int& zero_count, int& even_count,
int& odd_count)
{
get_number(int &x);
if (x % 2 == 0)
zero_count++;
if (x % 2 > 0)
even_count++;
else
odd_count++;
}
void print_results()
{
classify_number(int& zero_count, int&
even_count, int& odd_count);
cout << "There are " << even_count
<< "number of evens.\n";
cout << "There are " << zero_count
<< "number of zeros.\n";
cout << "There are " << odd_count <<
"number of odds.\n";
}
In: Computer Science
Suppose a consumer purchases only two products: mystery novels (good X) and computer games (good Y). The consumer’s income (budget) is $200 per period, the price of a novel (PX) is $10, and the price of a computer game (PY) is $20.
a. Determine and illustrate the budget constraint for the consumer. Be sure to specify the budget line equation in your answer.
b. Now suppose the consumer’s tastes and preferences are defined by the following Cobb-Douglas utility function: U= 10X^0.5Y^0.5 Given the information on income, prices and utility, determine and illustrate graphically the utility-maximizing combination of books and computer games for this consumer (be sure to show an indifference curve in your diagram).
c. Given the information above, determine the consumer’s demand function for novels (good x), and illustrate the demand curve over the price range of $4 to $20 (you may use increments of $2).
d. Ignoring the price changes from part c. (i.e. assume that PX = $10), suppose the consumer’s income increases to $300. Determine and illustrate graphically the new utility-maximizing combination of novels and computer games. Explain whether these goods are normal or inferior.
In: Economics
Q 19.36. (Advanced) A firm has $100 in cash and debt of $80. Assume that the time value of money is zero. A novel project comes along that costs $60 and that will either deliver $0 or x with equal probabilities. xh is the value at which this project would have a positive NPV. xl is the value above which share holders would want the firm to accept the project.
Divide the possible regions into those below xl, those between xl and xh, and those above xh. More specifically, pick xl – $10, (xl + xh)/2, and xh + 10 as your returns in the good state. In these three cases:
a) If the debt can convert into 80% of the postconversion equity, what would the debt and equity be worth? Would existing equity want to take the project?
b) If the debt can convert into 0% of the postconversion equity (i.e., if it is not convertible), what would the debt and equity be worth? Would existing equity want to take the project?
c) If the debt can convert into 40% of the postconversion equity, what would the debt and equity be worth? Would existing equity want to take the project?
In: Finance
The World Health Organization (WHO) had announced the outbreak of coronavirus disease 2019 (COVID-19) as a pandemic on 11 March 2020. With the entire world reeling under the prodigious attack of the pandemic in colossal proportions, various strategies were designed to nullify the transmission, but with little success. Preventive measures, namely social distancing, sealing off large towns, closing borders and confining people to their homes were strategically implemented. Inspire of these, the transmission rates grew unabated. Adding fuel to fire, the lack of effective antiviral drugs and vaccine further worsened the scenario. As a student in pharmaceutical engineering technology, you have greatest responsibility to propose a novel treatment or delivery system to improvise current treatment.
Thus, you are required to discuss with your team and propose potential solutions on the type of combination treatment can be provided based on literature and clinical studies that has been conducted to treat COVID-19 patients.
Background Controlled drug delivery system (provide literature supports)
Mechanism of action Controlled drug delivery system to treat covid-19 patient(With the aid of schematic diagram)
Material/methods Controlled drug delivery system
References
In: Biology
For each scenario listed below, indicate how you would handle the situation.
Scenario 1: a car 16-year-old Hispanic driver was in a car accident and is unconscious. You read in her personal information; her mother is a stay at home mom. Her father works at local busy accounting firm. Both of their phone numbers are listed. Who do you call first and why?
Scenario 2: You are in a consult discussing a serious medical condition with a couple. The woman has a serious illness. The man is doing all talking. Looking at her, she seems to have questions/information that is important to her, only she won’t speak up. What would you do and why?
Scenario 3: Given a family, the mom older and the dad passed. There are 3 siblings: a girl who is 42, a boy who is 38, and a girl who is 35. Who do you think will be in charge of making medical decisions about the mother and why?
In: Nursing
While World War II ended in Europe with the suicide of Hitler and the defeat of German troops, the war in the Pacific promised to be a long drawn out affair. Harry Truman became President in April of 1945 upon the death of President Franklin D. Roosevelt. Truman, who had no idea what an atomic weapon was decided to use them to end the war in the Pacific in August, 1945. While the United States forces were advancing on Japan, Truman had to weigh the cost of an invasion of Japan versus the use of the new weapons. The military estimated that over a million men would be killed or wounded in an invasion of the Japanese homelands and would take several years.
The use of atomic weapons to end World War II is still controversial today.
Do you think President Truman was right in using Fat Man and Little Boy to end the war or should the use of atomic weapons have been stopped before their use to prevent the arms race that led to the Cold War?
In: Finance
Distributions:
In: Statistics and Probability
(A) A gum ball dispenser contains a large number of gum balls in three different colors, red, green, and yellow. Assuming that the gum balls are dispensed one at a time, describe an appropriate sample space for this scenario and list all possible events. Adetermined child continues to buy gum balls until he gets a yellow one. Describe an appropriate sample space in this case. (B) A brother and a sister arrive at the gum ball dispenser of the previous question, and each of them buys a single gum ball. The boy always allows his sister to go first. Let A be the event that the girl gets a yellow gum ball and let B be the event that at least one of them gets a yellow gum ball. (a) Describe an appropriate sample space in this case. (b) What outcomes constitute event A? (c) What outcomes constitute event B? (d) What outcomes constitute event A ∩ B? (e) What outcomes constitute event A ∩ Bc? (f) What outcomes constitute event B − A?
In: Math
Design and implement a Demand Paging virtual memory
simulator!
It must be a text based application (NOT a GUI based one).
You can use the C/C++ or Java programming language.
The following algorithms must be implemented: FIFO, OPT, LRU and
LFU.
The application must simulate the execution of each of these
algorithms on a hypothetical computer having only N physical frames
(numbered from 0 to N-1, N<8), assuming that the single process
that is running has a virtual memory of ten frames (numbered from 0
to 9). The number N should be a number provided in the command line
as an argument.
The algorithms will be simulated based on a reference string (a
sequence of pages that are to be accessed) that will be either read
from the keyboard or randomly generated.
THE SIMULATION MUST FOLLOW THE ANIMATED EXAMPLES FROM THE ONLINE
MODULE 3 AS CLOSE AS POSSIBLE IN ALL ASPECTS !!!
The program should be menu-based and the menu will keep the user in
a loop containing the following options:
0 – Exit
Will exit the program
1 – Read reference string
A reference string will be read from the keyboard and stored in a
buffer. Each value of the reference string will be verified and
validated (or rejected).
Using option 1 again will result in overwriting the old reference
string.
2 – Generate reference string
A reference string will be randomly generated; the length of the
reference string will be given by the user interactively. The
string will be stored in a buffer.
Using option 2 more than once will result in overwriting the old
reference string.
3 – Display current reference string
Will display the stored reference string; if there is no reference
string stored yet, an error message will be displayed.
4 – Simulate FIFO
Will simulate the step by step execution of the FIFO algorithm
using the stored reference string; if there is no reference string
stored yet, an error message must be displayed.
The user will press a key after each step of the simulation to
continue the simulation.
The total number of faults will be displayed at the end of the
simulation.
5 – Simulate OPT
Will simulate the step by step execution of the OPT algorithm using
the stored reference string; if there is no reference string stored
yet, an error message must be displayed.
The user will press a key after each step of the simulation to
continue the simulation.
The total number of faults will be displayed at the end of the
simulation.
6 – Simulate LRU
Will simulate the step by step execution of the LRU algorithm using
the stored reference string; if there is no reference string stored
yet, an error message must be displayed.
The user will press a key after each step of the simulation to
continue the simulation.
The total number of faults will be displayed at the end of the
simulation.
7 – Simulate LFU
Will simulate the step by step execution of the LFU algorithm using
the stored reference string; if there is no reference string stored
yet, an error message must be displayed.
The user will press a key after each step of the simulation to
continue the simulation.
The total number of faults will be displayed at the end of the
simulation.
Selecting a different option will result in an error message but
the user will NOT exit the loop!
Deliverables:
1. The source code of the project
2. A report document (report.doc/report.pdf/…) containing an
introduction and an overview of the project, then a comprehensive
description of the design and the implementation of your
project.
3. A test document (test1.doc/ test1.pdf/ …) containing screensots
that show the execution of the 4 algorithms using the inputs from
HW6. Three screenshots are required for each algorithm: one that
shows the beginning of the simulation, one in the middle of the
simulation and one showing the end of the simulation.
4. A test document (test2.doc/ test2.pdf/ …) containing screensots
that show the execution of the 4 algorithms using the following
inputs: N=5, ref. string is: 0 1 2 3 4 5 6 7 8 9 0 9 1 8 2 7 3 6 4
5 Three screenshots are required for each algorithm: one that shows
the beginning of the simulation, one in the middle of the
simulation and one showing the end of the simulation.
Post the source code of your simulator and the test documents under
the Final Project assignment.
In: Computer Science