You are the nurse caring for Mr. Noah Poupe. He is day 3 post-op from abdominal surgery and has experienced N/V without relief, despite receiving anti-emetics. Since surgery he has no reports of flatus. His last BM was 4 days before surgery. This morning he had an NG tube in place for gastric decompression, and his NG tube is hooked up to low-intermittent suction. Mr. Poupe also has an NPO diet ordered.
Miss Pho is a 25-year-old female who was admitted to the hospital with a diagnosis of dehydration secondary to a Crohn’s flare-up. (Crohn’s Disease is a chronic inflammatory disease of the intestines). Her skin is pale, her mucous membranes are dry, and her skin turgor is poor. Miss Pho reports increasing bouts of diarrhea along abdominal pain and weakness.
Because Miss Pho is unable to tolerate PO fluids, IV fluids are ordered. The surgeon has come to discuss bowel diversion options with Miss Pho, as this is her seventh Crohn’s flare-up in the past year.
In: Nursing
In: Computer Science
<< UNIX >>>
BY this file contains
ELMER SOLVER (v 8.4) STARTED AT: 2020/03/18 13:04:22
ParCommInit: Initialize #PEs: 1
MAIN:
MAIN:
=============================================================
MAIN: ElmerSolver finite element software, Welcome!
MAIN: This program is free software licensed under (L)GPL
MAIN: Copyright 1st April 1995 - , CSC - IT Center for Science
Ltd.
MAIN: Webpage http://www.csc.fi/elmer, Email [email protected]
MAIN: Version: 8.4 (Rev: unknown, Compiled: 2020-02-28)
MAIN: Running one task without MPI parallelization.
MAIN: Running with just one thread per task.
MAIN: HYPRE library linked in.
MAIN: MUMPS library linked in.
MAIN:
=============================================================
MAIN:
MAIN:
MAIN: -------------------------------------
MAIN: Reading Model: case.sif
LoadInputFile: Scanning input file: case.sif
LoadInputFile: Loading input file: case.sif
WARNING:: LoadInputFile: There are no BCs in the system!
LoadInputFile: Number of Body Forces: 1
LoadInputFile: Number of Initial Conditions: 0
LoadInputFile: Number of Materials: 1
LoadInputFile: Number of Equations: 1
LoadInputFile: Number of Solvers: 1
LoadInputFile: Number of Bodies: 1
Loading user function library:
[HeatSolve]...[HeatSolver_Init0]
LoadMesh: Base mesh name: ./.
LoadMesh: Elapsed REAL time: 0.5294 (s)
Question: I want to create new file that just print between "==" by sing Unix/Linx
this code isn't complete because the output is not correct
#!/bin/bash
while ISF= read line
do
if [[ $line = *"="* ]]
then
echo $line >> Lines
fi
done < "unix"
I REALLY NEED HELP
THANKS,
In: Computer Science
Sorry there is no more information i could provide.Please give each step's code in two class.
This question is about the java program and it conclude six step.Please show every step's code in two class and answer the question :"How many tests should the testStudent method now contain" "Do not forget to modify your testStudent method to test the new code. "and please explain why?Thank you!
Step1:
Create a class Student that contains the following things:
a private integer ID number;
a constructor that takes as argument an ID number and uses this
ID number to initialize the object's ID number;
a public method getID that takes zero argument and returns the ID
number of the student;
a public static method testStudent that contains tests for your
class.
Here is the corresponding UML diagram (remember that + means public
and - means private):
+--------------------------+
| Student |
+--------------------------+
| - ID: int |
+--------------------------+
| + Student(int ID) |
| + getID(): int |
| + testStudent(): void |
+--------------------------+
The Student class does not have a setID method because the ID
number of a student never changes.
How many tests should the testStudent method contain?
Once you have written the Student class, you can test it by adding
the following code in a new class called Start in the same
project:
public class Start {
public static void main(String[] args) {
Student.testStudent();
}
}
This code calls the static testStudent method of the Student class,
which should then run all your tests.
What is the problem if you make the ID instance variable
public?
Step 2
Modify the constructor of the Student class so that negative ID
numbers are not allowed when creating a Student object. If the
constructor is given a negative ID number as argument then the
constructor should use 0 for the ID number.
Modify your testStudent method to test the new code. How many tests
should the testStudent method now contain?
Step 3
Add to your Student class a string representing the name of the
student. The constructor for the class should now take the name of
the student as an extra argument. Also add to your class two
methods getName and setName to get and change the name of a student
(a student is allowed to change name).
Here is the corresponding UML diagram:
+--------------------------------+
| Student |
+--------------------------------+
| - ID: int |
| - name: String |
+--------------------------------+
| + Student(int ID, String name) |
| + getID(): int |
| + getName(): String |
| + setName(String name): void |
| + testStudent(): void |
+--------------------------------+
Note: we have not talked much about the String type in class yet.
For now just use it like you use any other type (like int or
float).
Do not forget to modify your testStudent method to test the new
code. In Java you can use == to compare constant strings.
Step 4
Add to your Student class a character representing the grade of
the student. The default grade when a student is created is 'A'.
Also add to your class two methods getGrade and setGrade to get and
change the grade of a student.
Here is the corresponding UML diagram:
+--------------------------------+
| Student |
+--------------------------------+
| - ID: int |
| - name: String |
| - grade: char |
+--------------------------------+
| + Student(int ID, String name) |
| + getID(): int |
| + getName(): String |
| + setName(String name): void |
| + getGrade(): char |
| + setGrade(char grade): void |
| + testStudent(): void |
+--------------------------------+
Do not forget to modify your testStudent method to test the new
code. In Java you can use == to compare characters.
Step5
Add a new constructor to your Student class that takes three
arguments as input: an ID number, a name, and an initial grade.
Using this second constructor it becomes possible to create Student
objects with an initial grade which is different from 'A'.
Here is the corresponding UML diagram:
+--------------------------------------------+
| Student |
+--------------------------------------------+
| - ID: int |
| - name: String |
| - grade: char |
+--------------------------------------------+
| + Student(int ID, String name) |
| + Student(int ID, String name, char grade) |
| + getID(): int |
| + getName(): String |
| + setName(String name): void |
| + getGrade(): char |
| + setGrade(char grade): void |
| + testStudent(): void |
+--------------------------------------------+
Do not forget to modify your testStudent method to test the new
code.
Step 6
Add to your Student class a boolean indicating whether the
student is currently sleeping in the lab or not. When a student is
created, the student is awake. Also add to your class three
methods:
one method isSleeping that returns a boolean indicating whether
the student is currently sleeping or not.
one method goToSleep that makes the student fall asleep. When a
student falls asleep, the grade of the student decreases by one
letter grade ('A' becomes 'B', 'B' becomes 'C', 'C' becomes 'D',
'D' becomes 'F', 'F' stays an 'F', and any other grade becomes 'F'
too).
one method wakeUp that makes the student wake up. The grade of a
student does not go up when the student wakes up.
Here is the corresponding UML diagram:
+--------------------------------------------+
| Student |
+--------------------------------------------+
| - ID: int |
| - name: String |
| - grade: char |
| - sleeping: boolean |
+--------------------------------------------+
| + Student(int ID, String name) |
| + Student(int ID, String name, char grade) |
| + getID(): int |
| + getName(): String |
| + setName(String name): void |
| + getGrade(): char |
| + setGrade(char grade): void |
| + isSleeping(): boolean |
| + goToSleep(): void |
| + wakeUp(): void |
| + testStudent(): void |
+--------------------------------------------+
Do not forget to modify your testStudent method to test the new
code.
In: Computer Science
GeneralProducts Inc. is incorporated in Nevada, USA on Jan 1st 2013 to take over a local retail chain. The objective of the company is to supply goods of everyday use to customers at the most competitive prices. GeneralProducts has established a chain of stores throughout USA. The retail operations of the company are so designed that customers can shop seamlessly in stores and online.
You may use the attached Balance Sheet of GeneralProducts as of Dec 31, 2015 (Links to an external site.) and the financial data for 2016.The same information is provided below.
| Balance Sheet of GeneralProducts Inc. on December 31, 2015 | |||
|---|---|---|---|
| ASSETS | |||
| Current Assets | |||
| Cash and Cash Equivalent | 11,980 | ||
| Accounts Receivables | 20,520 | ||
| Inventory | 317,060 | ||
| Inventory of Premiums (@0.10 per premium) | 660 | ||
| Total Current Assets | 350,220 | ||
| LONG TERM ASSETS | |||
| Investments | 66,775 | ||
| Property Plant and Equipment | 750,000 | ||
| Less Accumulated Depreciation | 90,000 | 660,000 | |
| Total Long Term Assets | 726,775 | ||
| INTANGIBLE ASSETS | |||
| Trade Marks | 190,000 | ||
| Total Assets | 1,266,995 | ||
| LIABILITIES AND SHAREHOLDERS' EQUITY | |||
| Current Liabilities | |||
| Accounts Payable | 50,772 | ||
| Liability for Premiums and Coupons | 550 | ||
| 5% Short Term Notes Payable due on March 31, 2016 | 8,000 | ||
| Accrued Interest on 6% Bonds Payable | 3,000 | ||
| Total Current Liabilities | 62,272 | ||
| 6% Bonds Payable due 2020 | 100,000 | ||
| Unamortized Discount on Bonds Payable | 6,732 | 93,268 | |
| Total Liabilities | 155,540 | ||
| Stockholder's Equity | |||
| Common Stock | |||
| 125,000 shares, par value $1 authorized 100,000 shares issued and outstanding | 130,000 | ||
| Paid in Capital in Excess of Par | 946,000 | ||
| Retained Earnings | 35,455 | ||
| Total Stockholders' Equity | 1,111,455 | ||
| Total Liabilities and Stockholders' Equity | 1,266,995 | ||
GeneralProducts provides us financial and business related data for 2016 below.
Requirements
In: Accounting
Sales, Production, Direct Materials Purchases, and Direct Labor Cost Budgets
The budget director of Gourmet Grill Company requests estimates of sales, production, and other operating data from the various administrative units every month. Selected information concerning sales and production for July 2016 is summarized as follows:
a. Estimated sales for July by sales territory:
| Maine: | |
| Backyard Chef | 310 units at $700 per unit |
| Master Chef | 150 units at $1,200 per unit |
| Vermont: | |
| Backyard Chef | 240 units at $750 per unit |
| Master Chef | 110 units at $1,300 per unit |
| New Hampshire: | |
| Backyard Chef | 360 units at $750 per unit |
| Master Chef | 180 units at $1,400 per unit |
b. Estimated inventories at July 1:
| Direct materials: | |
| Grates | 290 units |
| Stainless steel | 1,500 lbs. |
| Burner subassemblies | 170 units |
| Shelves | 340 units |
| Finished products: | |
| Backyard Chef | 30 units |
| Master Chef | 32 units |
c. Desired inventories at July 31:
| Direct materials: | |
| Grates | 340 units |
| Stainless steel | 1,800 lbs. |
| Burner subassemblies | 155 units |
| Shelves | 315 units |
| Finished products: | |
| Backyard Chef | 40 units |
| Master Chef | 22 units |
d. Direct materials used in production:
| In manufacture of Backyard Chef: | |
| Grates | 3 units per unit of product |
| Stainless steel | 24 lbs. per unit of product |
| Burner subassemblies | 2 units per unit of product |
| Shelves | 4 units per unit of product |
| In manufacture of Master Chef: | |
| Grates | 6 units per unit of product |
| Stainless steel | 42 lbs. per unit of product |
| Burner subassemblies | 4 units per unit of product |
| Shelves | 5 units per unit of product |
e. Anticipated purchase price for direct materials:
| Grates | $15 per unit |
| Stainless steel | $6 per lb. |
| Burner subassemblies | 110 per unit |
| Shelves | $10 per unit |
f. Direct labor requirements:
| Backyard Chef: | |
| Stamping Department | 0.50 hr. at $17 per hr. |
| Forming Department | 0.60 hr. at $15 per hr. |
| Assembly Department | 1.0 hr. at $14 per hr. |
| Master Chef: | |
| Stamping Department | 0.60 hr. at $17 per hr. |
| Forming Department | 0.80 hr. at $15 per hr. |
| Assembly Department | 1.50 hrs. at $14 per hr. |
Required:
1. Prepare a sales budget for July.
| Gourmet Grill Company Sales Budget For the Month Ending July 31, 2016 |
||||
|---|---|---|---|---|
| Product and Area | Unit Sales Volume |
Unit Selling Price |
Total Sales | |
| Backyard Chef: | ||||
| Maine | ||||
| Vermont | ||||
| New Hampshire | ||||
| Total | ||||
| Master Chef: | ||||
| Maine | ||||
| Vermont | ||||
| New Hampshire | ||||
| Total | ||||
| Total revenue from sales | ||||
2. Prepare a production budget for July.
| Gourmet Grill Company Production Budget For the Month Ending July 31, 2016 |
||
|---|---|---|
| Units | ||
| Backyard Chef | Master Chef | |
| Expected units to be sold | ||
| Plus desired inventory, July 31, 2016 | ||
| Total | ||
| Less estimated inventory, July 1, 2016 | ||
| Total units to be produced | ||
3. Prepare a direct materials purchases budget for July.
| Gourmet Grill Company Direct Materials Purchases Budget For the Month Ending July 31, 2016 |
|||||
|---|---|---|---|---|---|
| Grates (units) |
Stainless Steel (lbs.) |
Burner Sub- assemblies (units) |
Shelves (units) |
Total | |
| Required units for production: | |||||
| Backyard Chef | |||||
| Master Chef | |||||
| Plus desired inventory, July 31, 2016 | |||||
| Total | |||||
| Less estimated inventory, July 1, 2016 | |||||
| Total units to be purchased | |||||
| Unit price | |||||
| Total direct materials to be purchased | |||||
4. Prepare a direct labor cost budget for July.
| Gourmet Grill Company Direct Labor Cost Budget For the Month Ending July 31, 2016 |
||||||||
|---|---|---|---|---|---|---|---|---|
| Stamping Department |
Forming Department | Assembly Department | Total | |||||
| Hours required for production: | ||||||||
| Backyard Chef | ||||||||
| Master Chef | ||||||||
| Total | ||||||||
| Hourly rate | ||||||||
| Total direct labor cost | ||||||||
In: Accounting
schema:
Student( studID, name, major ) // dimension table,
studID is key
Instructor( instID, dept ); // dimension table, instID
is key
Class( classID, univ, region, country ); // dimension
table, classID is key
Took( studID, instID, classID, score ); // fact table,
foreign key references to dimension tables
Write a SQL query to find all students who took a class from an instructor not in the student's major department and got a score over 80.
Return the student name, instructor name, and score. ,
Please describe in sentences what you need to do to find this information
In: Computer Science
A. Name and diagram the reflex pathwaythat allowed you to remove your hand.
B. Why was the “feeling of pain” delayed? Where would this information ultimately have been interpreted? Name the fiber type associated with the primary afferent involved, and name the somatosensensory pathway it would have taken to get to the ultimate processing area.
C. Explain why light rubbing removed the pain sensation.
In: Anatomy and Physiology
Assume you are trying to choose 5 letters from your name and surname altogether (you can use your name and surname. or can use someone's name and surname). By using the permutation rule, find how many different selection could be made if replacement is allowed and order is not important. By using the combination rule, find how many different selection could be made if replacement is allowed and order is not important. Repeat the same process once for the case when the order is important. you interpret all factors of the formula and explain everything you do in details.
In: Statistics and Probability
Question 1 (10) Single screen with information about a the 2020
Olympics
Create an application using PyQt. The user must enter the name of
an Olympic sport and a single character (e.g ‘a’). The application
must read the name of the sport and count the number of occurrences
of the character in the sport name. The count should be
case-insensitive. Thus, if ‘c’ is entered as the character then
both capital letter ‘C’ and small letter ‘c’ in the string should
be counted. The count must be displayed. The application interface
must include at least a label, an edit and a button. You are
welcome to enhance your application with comments and messages.
In: Computer Science