Questions
Three quantities are given: A = 5.0 m3/kg·s 2 , B = 2.0 m/s, and C...

Three quantities are given: A = 5.0 m3/kg·s 2 , B = 2.0 m/s, and C = 8.0 kg·m2/s. Using dimensional analysis determine the simplest algebraic combination of these three quantities that has the dimensions of length and compute its value in meters (Answer: 2.2 m

In: Physics

How can work packages be used to control long duration projects since we don't have details...

How can work packages be used to control long duration projects since we don't have details of the work that will need to be performed in the future?

In: Operations Management

Can somebody explain/prove why Kinetic Energy is not conserved in an inelastic collsion?

Can somebody explain/prove why Kinetic Energy is not conserved in an inelastic collsion?

In: Physics

You work for tier one automotive supplier (revenues $15 billion). The company develops an IT plan...

You work for tier one automotive supplier (revenues $15 billion). The company develops
an IT plan and decides to implement SAP ERP system. The next step is justifying this IT investment.

a. How would you go about justifying the high costs associated with SAP?
b. List, describe, and provide an example of the four different implementation
strategies. Which one would you choose and why

In: Operations Management

C++ Programming The following program reads the sentences in "fdata.txt" and stores each word in a...

C++ Programming
The following program reads the sentences in "fdata.txt" and stores each word in a word vector starting with the first letter.
Fill in the blanks.

#include "pch.h"
#include <iostream>
#include <algorithm>
#include <string>
#include <fstream>


using namespace std;

class SVector
{
public:
int size;
int idx;
char x;
string *sptr;
// (a)
void insert(string s);
void print();
};

SVector::SVector(char c, int size)
{
x = c;
idx = 0;
this->size = size;
//(b)
}
void SVector::insert(string s)
{
//(c)
}
void SVector::print()
{
if(idx != 0){
cout << "starting with " << x << endl;
for(int i = 0; i < idx; i++){
cout << sptr[i] << endl;
}
}
}

int main()
{
SVector *sv[26];
string word;
ifstream fin;
fin.open(".\\data\\fdata.txt");
//cout << fin << endl;
if(!fin){
cout << "file not opened" << endl;
return 0;
}

for(int i = 0; i < 26; i++){
char c = 'a' + i;
sv[i] = //(d);
}

while(true){
fin >> word;
if(fin.eof()) break;
int fc = //(e);
sv[fc]->insert(word);
}

for(int i = 0; i < 26; i++){
sv[i]->print();
}
  
return 0;
}

In: Computer Science

Describe the types of, and rights attached to, estates in land, including in your answer a...

Describe the types of, and rights attached to, estates in land, including in your answer a treatment of easements and
restrictive covenants.

In: Operations Management

This HW from my English class but not Psychology. The Prof wants us to give 10...

This HW from my English class but not Psychology. The Prof wants us to give 10 example of extraordinary situations, but I do not understand what is extraordinary situation means. Please explain it and come up with 10 of the extraordinary situations. Thanks.

In: Psychology

What can the use of a long, complex selection process symbolize to job seekers? How do...

What can the use of a long, complex selection process symbolize to job seekers? How do you think this would affect the organization’s ability to attract the best employees?

In: Operations Management

What is the management reserve used for?

What is the management reserve used for?

In: Operations Management

Why is social media important to McDonalds as a business?

Why is social media important to McDonalds as a business?

In: Operations Management

i need to find complexity and cost and runtime for each line of the following c++...

i need to find complexity and cost and runtime for each line of the following c++ code :

// A C++ program for Dijkstra's single source shortest path algorithm.
// The program is for adjacency matrix representation of the graph

#include <limits.h>
#include <stdio.h>

// Number of vertices in the graph
#define V 9

// A utility function to find the vertex with minimum distance value, from
// the set of vertices not yet included in shortest path tree
int minDistance(int dist[], bool sptSet[])
{
   // Initialize min value
   int min = INT_MAX, min_index;

   for (int v = 0; v < V; v++)
       if (sptSet[v] == false && dist[v] <= min)
           min = dist[v], min_index = v;

   return min_index;
}

// A utility function to print the constructed distance array
void printSolution(int dist[])
{
   printf("Vertex \t\t Distance from Source\n");
   for (int i = 0; i < V; i++)
       printf("%d \t\t %d\n", i, dist[i]);
}

// Function that implements Dijkstra's single source shortest path algorithm
// for a graph represented using adjacency matrix representation
void dijkstra(int graph[V][V], int src)
{
   int dist[V]; // The output array. dist[i] will hold the shortest
   // distance from src to i

   bool sptSet[V]; // sptSet[i] will be true if vertex i is included in shortest
   // path tree or shortest distance from src to i is finalized

   // Initialize all distances as INFINITE and stpSet[] as false
   for (int i = 0; i < V; i++)
       dist[i] = INT_MAX, sptSet[i] = false;

   // Distance of source vertex from itself is always 0
   dist[src] = 0;

   // Find shortest path for all vertices
   for (int count = 0; count < V - 1; count++) {
       // Pick the minimum distance vertex from the set of vertices not
       // yet processed. u is always equal to src in the first iteration.
       int u = minDistance(dist, sptSet);

       // Mark the picked vertex as processed
       sptSet[u] = true;

       // Update dist value of the adjacent vertices of the picked vertex.
       for (int v = 0; v < V; v++)

           // Update dist[v] only if is not in sptSet, there is an edge from
           // u to v, and total weight of path from src to v through u is
           // smaller than current value of dist[v]
           if (!sptSet[v] && graph[u][v] && dist[u] != INT_MAX
               && dist[u] + graph[u][v] < dist[v])
               dist[v] = dist[u] + graph[u][v];
   }

   // print the constructed distance array
   printSolution(dist);
}



In: Computer Science

A computer operator at the local data processing center decides to visit work on a Monday...

A computer operator at the local data processing center decides to visit work on a Monday evening. She has a key to the outside door, and since there is no key required for the computer room, she simply walks into the computer room. The operator, who is really one of the nation’s most notorious computer programmer/hackers (having been convicted five time for manipulating various firms’ data files), opens the documentation bookcase, located in the corner of the computer room. In the bookcase she finds the procedural documentation, the systems documentation, user manuals, application documentation, and operator manuals. She examines the documentation to understand the payroll program and to find the location of the payroll files. She accesses the information systems library, which is available to all computer operators at all times, accesses the payroll program, reprograms it, and runs a payroll job that creates one electronic funds transfer (to a new account opened by the operator under an assumed name). On Tuesday, the operator transfers the funds to a Swiss bank account and does not show up for work.

        Required

Prepare a summary that details any internal controls violated in this situation.

In: Accounting

Do you think that people from Canada and the US are greatly different or generally the...

Do you think that people from Canada and the US are greatly different or generally the same? What are the differences? How would you use the sociological perspectives to measure the differences? What are some implications for you as an international student/immigrant/global citizen? While comparing the two cultures in the North America, have you gained any insight regarding how to perceive other cultures that might seem similar at the first sight?

Include in-text citations and at least 1 reference. Please note using the textbook as a reference is mandatory for this discussion.

In: Psychology

Explain the following strategies (TWOS matrix in principle of marketing) 1. maxi-maxi 2. maxi-mini 3. mini-maxi...

Explain the following strategies (TWOS matrix in principle of marketing)
1. maxi-maxi
2. maxi-mini
3. mini-maxi
4. mini-mini

In: Economics

Why is a Performance Measurement Baseline setup?

Why is a Performance Measurement Baseline setup?

In: Operations Management