A race car starts from rest, accelerates at a constant rate of 3.8 m/s^2 for 23s, and then brakes (decelerates) at a constant rate of 5.6 m/s^2 (magnitude) until it comes to a stop. (a) Find the total distance traveled by the car before coming to rest. (b) Draw a graph of the velocity vs. time, and indicate numerical values of any “special points”on the graph.
In: Physics
Discuss how your analysis would differ if you were asked to solve a performance problem vs. being directed to develop a course to address a specific training issue.
In: Psychology
Chesterfield County had the following transactions.
Prepare the entries first for fund financial statements and then for government-wide financial statements.
In: Accounting
In: Physics
In: Economics
discuss the factors that have driven China to engage heavily in Africa and the Middle east. Support your analysis with data and reliable citations
In: Operations Management
The issue of transnational crime is here to stay, a fact of life for US citizens, but our law enforcement system was constructed on an old, disconnected model where the US was an independent country and there was no Internet, travel took days or longer, and communications were done through the mail, on a land-line or in-person. The global nature of crime can be seen in drug trafficking, internet fraud, immigration issues, data theft, and the list goes on.
Think a bit about your world-view and what you've seen in the criminal justice world and tell us how these global implications have impacted the criminal justice system, it's strategies and it's operations.
Write a paragraph at least 300 words
In: Psychology
It is about C++linked list code. my assignment is making 1 function, in below circumstance,(some functions are suggested for easier procedure of making function.)
void pop_Stack (struct linked_list* list, int number) //*This is the function to make and below is the explanation that should be written in given code.
This function removes some nodes in stack manner; the tail of the list will be removed, repeatedly. The parameter (variable 'number') means the number of nodes that will be removed. When parameter is bigger than 1, popping a node with n times, you do not remove node at one go. If there is only one node in the list, please make sure it frees (de-allocates) both the node and the list. If the list is not a stack type(list->type_of_list!=1), print the error message “Function pop_Stack: The list type is not a stack” and exit the function. If the 'number' parameter is less than 1 or more than the number of nodes in the stack, respectively print the error message “Function popStack: The number of nodes which will be removed is more than 1” and “Function popStack: The number of nodes which will be removed is more than that in the stack”, then exit the function. The removed nodes should be freed.
Given code is written below,(There is a function to fill in last moment in this code)
linked_list.h: This is the header file of linkLQS.c that declares all the functions and values that are going to be used in linkLQS.c. You do not have to touch this function.
-----------------------------------------------------------------------
(Below code is about linked_list.h)
#include
#include
#include
struct linked_node{
int value;
struct linked_node* next;
struct linked_node* prev;
};
struct linked_list{
int type_of_list; // normal = 0, stack = 1
struct linked_node* head;
struct linked_node* tail;
int number_of_nodes;
};
-----------------------------------------------------------------------------------------------------------------------------
#include "linked_list.h"
#include "string.h"
int list_exist;
struct linked_list* create_list (int number_of_nodes, int
list_type)
{
int a[number_of_nodes];
int i, j;
int bFound;
if (number_of_nodes < 1)
{
printf("Function create_list: the
number of nodes is not specified correctly\n");
return NULL;
}
if(list_exist == 1)
{
printf("Function create_list: a
list already exists\nRestart a Program\n");
exit(0);
}
if(list_type != 0 && list_type != 1)
{
printf("Function create_list: the
list type is wrong\n");
exit(0);
}
struct linked_list * new_list = (struct
linked_list*)malloc(sizeof(struct linked_list));
new_list->head = NULL;
new_list->tail = NULL;
new_list->number_of_nodes = 0;
new_list->type_of_list = list_type;
//now put nodes into the list with random
numbers.
srand((unsigned int)time(NULL));
if(list_type == 0)
{
for ( i = 0; i <
number_of_nodes; ++i )
{
while ( 1
)
{
a[i] = rand() % number_of_nodes + 1;
bFound = 0;
for ( j = 0; j < i; ++j )
{
if ( a[j] == a[i] )
{
bFound =
1;
break;
}
}
if ( !bFound )
break;
}
struct
linked_node* new_node = create_node(a[i]);
insert_node(new_list, new_node);
}
}
else if(list_type == 1)
{
for ( i = 0; i <
number_of_nodes; ++i )
{
while ( 1
)
{
a[i] = rand() % number_of_nodes + 1;
bFound = 0;
for ( j = 0; j < i; ++j )
{
if ( a[j] == a[i] )
{
bFound =
1;
break;
}
}
if ( !bFound )
break;
}
struct
linked_node* new_node = create_node(a[i]);
push_Stack(new_list, new_node);
}
}
list_exist = 1;
printf("List is created!\n");
return new_list;
}
struct linked_node* create_node (int node_value)//This
functon is the example for reference of the assignment
function
{
struct linked_node* node = (struct
linked_node*)malloc(sizeof(struct linked_node));
node->value = node_value;
node->next = NULL;
node->prev = NULL;
return node;
}
void insert_node(struct linked_list* list, struct
linked_node* node)//This functon is the example for reference of
the assignment function
{
node->next = NULL;
node->prev = NULL;
if(list->head == NULL)
//if head is NULL, tail is also NULL.
{
list->head = node;
list->tail = node;
list_exist = 1;
}
else if(list->head == list->tail)
{
node->next =
list->head;
list->head->prev =
node;
list->head = node;
}
else if(list->head != list->tail)
{
node->next =
list->head;
list->head->prev =
node;
list->head = node;
}
(list->number_of_nodes)++;
}
void pop_Stack(struct linked_list* list, int
number)//The function to be written!!
{
~~~~~~~~~~~~~ //your code starts from here
}
In: Computer Science
Question 6 Describe Purkinje Phenomenon and Explain Purkinje Mechanism. Discuss the Importance of Purkinje Phenomenon to the Nature of Vision
In: Psychology
Use the Simplex method to solve the following problem:
Max Z = x1 + 2x2 + 3x3
s. to2x1 + x2 + x3 <= 20
x1 + 2x2 - x3 <= 20
3x2 + x3 <= 10
x1, x2, x3 >= 0
Clearly specify the optimal values of all variables ya used in your
procedure as well as the optimal value of the objective
function.
In part a), say what corner point was analyzed in each iteration and give the corresponding value of the objective function. Include iteration 0, that is, the one that gives the starting corner point.
In: Operations Management
A 3 page rough draft essay on a debat if you support the legalization of same sex marriage?
To begin, you will need to find an argumentative article about a public issue that interests you. To check that the article is argumentative, look for the writer’s position on the topic. The writer should have a clear position that is defended throughout the article. Your goal is to: 1) identify the conversation going on, 2) summarize the author’s argument and reasons, and 3) respond to the article in order to add to the conversation in a new and interesting way.
In: Psychology
Question 7- How has different patient populations aided in our understanding of attention?
In: Psychology
Identify and explain three environmental drivers of change and how they have impacted change restructuring a coorporation.
In: Operations Management
let's consider this question. Elementary school girls tend to
outperform boys on standard tests. However, this reverses in middle
and high school and boys routinely outperform girls on standard
tests, especially in science and math. Many psychologists believe
that girls lose ground academically as they turn their attention to
issues of popularity and dating.
Why don't boys show a similar decline in achievement as they turn
their attention to dating? What's your opinion of this? What do you
remember from high school?
In: Psychology
Office Works has an order to manufacture several specialty products. The beginning cash and equity balances were $105,000. All other beginning balances were $0. Use your T-Account worksheet to record the following transactions:
Now, CHOOSE 6 CORRECT STATEMENTS from the choices below. You should have 6 check marks indicating your answer choices. Each answer choice is worth 4 points:
1. The predetermined overhead rate is?
2. The direct labor that is debited to labor expense is?
3. How much are the total current manufacturing costs?
4. How much revenue did the company earn?
5. By how much was MOH over/under applied?
6. How much are the costs of goods manufactured?
Group of answer choices
The cost of goods manufactured is $40,000
The amount of sales revenue earned was $50,000
The amount of over/under applied MOH is $0
The predetermined MOH rate is $1.25
The amount of sales revenue earned was $50,700
The direct labor that will be debited to direct labor expense is $160,137
The direct labor that will be debited to direct labor expense is $40,960
The predetermined MOH rate is $.80
The amount of over/under applied MOH is $960
The direct labor that will be debited to direct labor expense is $0
The cost of goods manufactured is $50,000
The total current manufacturing costs are $137,160
The direct labor that will be debited to direct labor expense is $160,200
The cost of goods manufactured is $39,000
The direct labor that will be debited to direct labor expense is $51,200
The predetermined MOH rate is $..75
The amount of over/under applied MOH is $1,000
The amount of sales revenue earned was $39,000
In: Accounting