Use the Laplace transform to solve the following initial value problem:
?″+6?′+58?=?(?−4)
?(0)=0,?′(0)=0
(Notation: write u(t-c) for the Heaviside step function ??(?)uc(t) with step at ?=?t=c.)
In: Advanced Math
Explain the concept of age cohort. How does value based conflicts between these cohorts affect the development of marketing strategies?
In: Operations Management
2. Create two class, a student class, and a course class, take advantage of the codes provided in the class slides and sample codes. python
|
Student |
Course |
|
__Username:str __Courses:list |
__courseName:str __students: list |
|
addCourse():None dropCourse():None getCourse():list |
addStudent:None dropStudent:None getStudents():list getNumber of students:int |
3. Create a student object for every student in the UD.txt (you can use a loop for this)
4. Create 6 course objects:
|
1. CS131 2. CS132 3. EE210 4. EE310 5. Math320 6. Math220 |
5. After the student user login to their account as we have done in lab 2. Display the following:
|
A: Show all courses available B: Add a course C: Drop a course D: Show all my courses E: Exit |
When students choose option A, should display the following, where # is the actual number of students enrolled in the class.
|
1. CS131 students number:# 2. CS132 students number:# 3. EE210 students number:# 4. EE310 students number:# 5. Math 320 students number:# 6. Math 220 students number:# |
Let the students add or drop a classes as they wish. When they choose E, exit the program.
6. For option D, show the courses in the student’s course list.
7. The hard part. Since your program will end when user chose option E. You need to keep track the classes been added and dropped by each students, and who are actually in the classes. Therefore, based on your experiences in lab 3 and 4, create a SI.txt (student info) to store the courses in each student’s course list. Create CI.txt (course info) to store all the students enrolled in each course. This will be executed in the background every time when the user chose option E: Exit. When you run your program, and create your course objects, this information needs to be read into each student and course object. When a student log into his or her account, the student should be able to see what courses is in the course list by chose option D. The number of students in each course also need to be displayed in Option A.
Student info
UD.txt
USERNAME,PASSWORD sdd233,Pad231 dcf987, BHYW4fw dgr803,Sb83d2d mkr212,UNNHS322 lki065,dgw6234 ped332,9891ds ytr876,dsid21kk nmh223,3282jd3d2
In: Computer Science
Java Language:
Using program created in this lesson as a starting point, create a circular list with at least four nodes. A circular list is one where the last node is made to point to the first. Show that your list has a circular structure by printing its content using an iterative structure such as a while. This should cause your program to go into an infinite loop so you should include a conditional that limits the number of nodes to be printed to a specific value, for example 20.
Code:
class Node {
int value;
Node nextNode;
Node(int v, Node n)
{
value = v;
nextNode = n;
}
Node (int v)
{
this(v,null);
}
}
class Stack {
protected Node top;
Stack()
{
top = null;
}
boolean isEmpty()
{
return( top == null);
}
void push(int v)
{
Node tempPointer;
tempPointer = new Node(v);
tempPointer.nextNode = top;
top = tempPointer;
}
int pop()
{
int tempValue;
tempValue = top.value;
top = top.nextNode;
return tempValue;
}
void printStack()
{
Node aPointer = top;
String tempString = "";
while (aPointer != null)
{
tempString = tempString + aPointer.value + "\n";
aPointer = aPointer.nextNode;
System.out.println(tempString);
}
}
public class StackWithLinkedList{
public static void main(String[] args){
int popValue;
Stack myStack = new Stack();
myStack.push(5);
myStack.push(7);
myStack.push(9);
myStack.printStack();
popValue = myStack.pop();
popValue = myStack.pop();
myStack.printStack();
}
}
In: Computer Science
7. Is there a difference between value in use and value in exchange? How does the distinction between Total Utility and Marginal Utility help one answer this question? Might the Diamond-Water Paradox provide a helpful illustration?
8. Assume you are an economist charged with advising Santa Claus and Santa, concerned about consumer satisfaction, tells you that he wants you to find an efficient way for people to end up with gifts that better conform with their wishes. In advising Santa, what would you tell him? Explain.
9. Ordinal Utility (Indifference Curves & Budget Constraint Lines) has been said to have an inherent advantage over Cardinal Utility (which includes units of satisfaction) when it comes to application. Is there an inherent advantage and, if so, what is it? Explain.
In: Economics
The NDP Party, removed the tolls on 2 bridges in the Lower Mainland in 2017. Briefly explain which value, at the core of the Socialist ideology, motivated that political action?
In: Economics
1. Answer the following in detail. (I'll give a thumbs up! Thanks.)
A. What is “maternity leave” like in the US?
B. Are there State (in the UC) differences in maternity leave benefits?
C. Is there “paternity leave” in the US? In which states and what is it like?
In: Anatomy and Physiology
State which sampling design should be used in the following situations, and justify your reasoning:
i. You need to collect statistics on types of software applications used by employees of a company. Separate lists of employees are available classified by job categories.
ii. Patients arriving at an emergency room facility are to be sampled to study their demographics, type of injury, etc. It is decided to sample 10% of the patients.
iii. An engineering school plans to conduct a mail survey of its alumni who graduated after 1980 to collect data on their current employment status. A complete alphabetical list of the alumni is available.
iv. A national sample of college students is to be taken, but a comprehensive list of all college students doesn't exist. A list of all colleges (private and public) exists. For any particular college, a list of all students can be obtained.
In: Math
Given an array of Student type and size 10, create a linked list of students by linking students with an odd index first and then linking students with an even index. Write a loop to print out the students in the linked list.
#include #include #include using namespace std; const int NUM = 10; struct Student{ string fName; string lName; Student * next; }; int main() { Student stuArr[NUM]; ifstream myfile; myfile.open("Test.txt"); for(int i = 0; i < NUM; i++) { myfile>>stuArr[i].fName; myfile>>stuArr[i].lName; stuArr[i].next = 0; }
In: Computer Science
Discuss a minimum of three advantages and three disadvantages of Cohort Analysis Visual Analytics (CAVA). How will this platform affect medical informatics?
In: Nursing