Questions
What are some mental models that you see in the movie/documentary Fire in the Blood?

What are some mental models that you see in the movie/documentary Fire in the Blood?

In: Psychology

Question Answer Whenever there is change in spending, there will be a change in real GDP.  Explain...

Question

Answer

Whenever there is change in spending, there will be a change in real GDP.  Explain why this is so.(2 Points)

Use the graph below to answer the following questions( 3Points)

(a)  What is the equilibrium GDP?


(b) Suppose the level of real GDP is $650 billion. Explain why this may occur

What is the effect of net exports, either positive or negative, on equilibrium GDP?(2 Points)

The data in the first two columns below are for a private closed economy.  Use this table to answer the following questions.(3 Points)

Real GDP = DI

(billions)

Aggregate expenditures

(billions)

Exports

(billions)

Imports

(billions)

Net

exports

(billions)

Aggregate expenditures

(billions)

$100

$120

$10

$15

$_____

$_____

125

140

10

15

_____

_____

150

160

10

15

_____

_____

175

180

10

15

_____

_____

200

200

10

15

_____

_____

225

220

10

15

_____

_____

250

240

10

15

_____

_____

275

260

10

15

_____

_____

(a)  What is the equilibrium GDP for the private closed economy?

(b)  Including the international trade figures for exports and imports, calculate net exports and determine the equilibrium GDP for a private open economy.

(c)  What will happen to equilibrium GDP if exports were $5 billion larger at each level of GDP?

(d)  What will happen to equilibrium GDP if exports remained at $10 billion, but imports dropped to $5 billion?

(e)  What is the size of the multiplier in this economy?

In: Economics

An ascending grade of 4% and a descending grade of 2% intersect at STA 12+598 whose...

An ascending grade of 4% and a descending grade of 2% intersect at STA 12+598 whose elevation is at 518.99m. The two grades are to be connected by a parabolic curve, 160 long. Find the elevation of the first quarter point on the tangent and the summit of the curve.

a.)Determine the elevation of the summit.

b.)Determine the station of the summit.

c.)Determine the elevation of the first quarter point on the tangent.

d.)Determine the elevation of the midpoint on the curve.

In: Civil Engineering

In previous discussion of short-run exchange rate overshooting, we assumed real output was fixed. Assume instead...

In previous discussion of short-run exchange rate overshooting, we assumed real output was fixed. Assume instead that an increase in the money supply raises real output in the short run. a) How does this affect the extent to which the exchange rate overshoots in the short run? (1 mark) b) Is it likely that the exchange rate undershoots (relative to its long run value) in the short run? Explain. (1 mark) c) Explain with the help of a figure, the transition to long run equilibrium if the exchange rate overshoots relative to its long run value. (1.5 mark) d) Explain with the help of a figure, the transition to long run equilibrium if the exchange rate undershoots relative to its long run value. (1.5 mark) Note: Undershooting is when the spot exchange rate in the short run is less than the exchange rate in the long-run (Elr)

In: Economics

Create a Fictitious balance sheet and income statement.

Create a Fictitious balance sheet and income statement.

In: Accounting

A bond has annual coupon rate of 7%, with interest paid semiannually. The bond matures in...

A bond has annual coupon rate of 7%, with interest paid semiannually. The bond matures in seven years. At a market discount rate of 5%, the price of this bond per 100 of par value is closest to:

Round your answer to 2 decimal places.

In: Finance

Scenario : Middle School Building Project: The new middle school building includes classrooms, offices and administrative...

Scenario :
Middle School Building Project: The new middle school building includes classrooms, offices and administrative spaces, dining commons with kitchen, and media center. Additional spaces that may be part of the final design include auditorium, gymnasium and athletic fields.
Building construction may consist of a multi-story masonry and steel load bearing building with elevated slabs, poured in-place concrete retaining walls and associated underground waterproofing. Exterior finish materials may include brick veneer, aluminum storefront and curtain wall, and aluminum composite wall panels. Interior finish materials may include masonry and drywall partitions, brick veneer, cementitious terrazzo flooring, VCT and carpet tile, and lay-in acoustical tile ceiling. Roofing systems include TPO single ply roof system or standing seam metal roofing system. Building systems include forced air mechanical systems, plumbing, fire protection, electrical, communications, security and data systems.
Site construction consists of work on approximately 20 acres, including erosion and sediment control measures, clearing and grubbing, storm water piping and retention ponds, building pad preparation, utilities including a forced main sanitary system, temporary and permanent parking areas and driveways, bus loop, concrete walks, areas of concrete, fencing and other miscellaneous site work.

What needs to be done:
Construct a critical path method for an architect only

In: Civil Engineering

Please type your answer and make it too short answer just type it. 1- When do...

Please type your answer and make it too short answer just type it.

1- When do I need to check for deflections in a reinforced concrete member?

2- What is the difference between short term and long term deflections?

3- How does ACI estimate the long term deflections in a member?

In: Civil Engineering

In deep sea paleoceanographic records, oxygen isotope ratios are commonly studied from both planktonic and benthic...

  1. In deep sea paleoceanographic records, oxygen isotope ratios are commonly studied from both planktonic and benthic foraminifera. What does each record indicate? Are the resulting curves the same or different? Explain.

In: Other

A 15.0-L tank containing 1.0 mol of argon gas is at 298 K. (a) Calculate the...

A 15.0-L tank containing 1.0 mol of argon gas is at 298 K.

(a) Calculate the initial pressure of the gas and d, the length of the cube containing this volume.

(b) Using your value for d, calculate the energies of the two lowest translational energies for the system E1,1,1 and E2,1,1 and their differences  ΔE .

(c) The tank is opened and the gas is allowed to expand rapidly into a cubical 2000L room such that there is no heat exchange with the surrounding.

Assuming n2,1,1/n1,1,1 remains constant, Determine the new temperature of the gas.

Handwritten answers are preferred.

In: Physics

The situation suggests that the marginal social cost curve for parking is above the marginal private...

The situation suggests that the marginal social cost curve for parking is above the marginal private cost curve and it would be socially preferable to consume less parking and travel to campus by alternative means.

Use your knowledge of supply and demand and your creative and critical thinking skills to propose four actions that would reduce total demand for parking on campus. Test your understanding of this module’s material by trying to explain each action using the terminology that we’ve become familiar with in the first four weeks. For example: relate your proposed action to movements along a demand curve in response to price, shifts in the demand curve due to changing tastes and preferences or the availability and costs of substitutes etc. Now you’re thinking like an environmental economist!

In: Economics

#include "IntVariableTable.h" #include "Tokens.h" #include <assert.h> #include <iostream> #include <iomanip> using std::cout; using std::endl; using std::left;...

#include "IntVariableTable.h"
#include "Tokens.h"
#include <assert.h>
#include <iostream>
#include <iomanip>


using std::cout;
using std::endl;
using std::left;
using std::right;
using std::setw;
using std::string;


// The IntVariableTable constructor dynamically allocates the fixed size array of integer variables.

IntVariableTable::IntVariableTable()
{
int_variable_table = new IntVariableEntry[MAX_INT_VARIABLES];
}


// The IntVariableTable destructor deallocates the integer variable array.

IntVariableTable::~IntVariableTable()
{
delete[] int_variable_table;
}


// Returns the number of variables added to the integer variable table.

int IntVariableTable::numVariables() const
{
return num_int_variables;
}

// Returns the index of the string token argument in the integer variable table,
// or -1 if the variable name is not found in the integer variable table.

int IntVariableTable::lookupVariable(const string& token) const
{
int index = -1;


// TODO: If the token is in the integer variable table then set index to the
// table position where it is found.

return index;
}


// Adds integer variable name and initial value string tokens to the integer variable
// table, and returns the index of the table entry used to store the variable.
// If the variable name is already present in the integer variable table, a message is
// generated and the table entry index is returned.
// If there is no available entry in the integer variable table, a message is generated
// and -1 is returned.

int IntVariableTable::defineVariable(const string& token1, const string& token2)
{
int index = lookupVariable(token1);

// TODO: If the token is not in the integer variable table then add it at the end
// of the table provided there is room.

return index;
}


// Returns the name string present in the integer variable table entry specified
// by the index argument.
// An assertion is triggered if the index argument is out of bounds.

string IntVariableTable::getName(int index) const
{
assert(validIndex(index));

return int_variable_table[index].name;
}


// Returns the numeric value present in the integer variable table entry specified
// by the index argument.
// An assertion is triggered if the index argument is out of bounds.

int IntVariableTable::getValue(int index) const
{
assert(validIndex(index));

return int_variable_table[index].value;
}


// Sets the numeric value in the integer variable table entry specified by the index argument.
// An assertion is triggered if the index argument is out of bounds.

void IntVariableTable::setValue(int index, int value)
{
assert(validIndex(index));

int_variable_table[index].value = value;
}


// Returns whether the argument is a valid integer variable table index.

bool IntVariableTable::validIndex(int index) const
{
return ((index >= 0) && (index < num_int_variables));
}


// Displays the contents of the integer variable table on the console.

void IntVariableTable::display() const
{
if (num_int_variables == 0) {
cout << endl << "The integer variable table is empty" << endl;
}
else {
cout << endl << "Integer variable table: [index | variable name | initial value]" << endl << endl;
for (int i = 0; i < num_int_variables; i++) {
cout << right << setw(8) << i << " "
<< left << setw(24) << addQuotes(int_variable_table[i].name)
<< right << setw(8) << int_variable_table[i].value << endl;
}
}
}

i need help on the two TODO parts.

here is what i had so far but did not work:

Returns the index of the string token argument in the integer variable table,
// or -1 if the variable name is not found in the integer variable table.

int IntVariableTable::lookupVariable(const string& token) const
{
int index = -1;
for (int i = 0; i < num_int_variables; i++) {
if (int_variable_table[i].name.compare(token)==0) {
index = i;
}
}
// TODO: If the token is in the integer variable table then set index to the
// table position where it is found.

return index;
}


// Adds integer variable name and initial value string tokens to the integer variable
// table, and returns the index of the table entry used to store the variable.
// If the variable name is already present in the integer variable table, a message is
// generated and the table entry index is returned.
// If there is no available entry in the integer variable table, a message is generated
// and -1 is returned.

int IntVariableTable::defineVariable(const string& token1, const string& token2)
{
int index = lookupVariable(token1);
if (index == -1) {
if (num_int_variables == MAX_INT_VARIABLES) {
cout << "no available entry available";
return -1;
}
int_variable_table[num_int_variables++].name = token1;
}
else {
cout << "entry already exists";
}

// TODO: If the token is not in the integer variable table then add it at the end
// of the table provided there is room.

return index;
}



In: Computer Science

Create a program that adds 3 assignment marks together and calculate how many more marks they...

Create a program that adds 3 assignment marks together and calculate how many more marks they need to pass the course.

  • Assignment 1 has a total of 30 marks
  • Assignment 2 has a total of 30 marks
  • Assignment 3 has a total of 40 marks

To pass the course, you will need to get 50 marks or over.

Output Example

Assignment 1 mark: 10

Assignment 2 mark: 12

Assignment 3 mark: 17

Marks still needed to pass the course: 11

If you input characters, it should print the message Please enter a number and not characters and then ask for that assignment mark again.

(HINT: Use a try-catch block. When you try to convert it to an integer and it fails, the exception should be caught and handled appropriately)

Output Example

Assignment 1 mark: qweqwe2s
Please enter a number and not characters
Assignment 1 mark: asdasd
Please enter a number and not characters
Assignment 1 mark: 12

If you enter anything more than each assignment's maximum marks or a mark less than 0, the program will print: You can't get less than 0 or more than the maximum mark. It will then loop again (HINT) and asks for that assignment mark again.

Output Example

Assignment 1 mark: 12
Assignment 2 mark: 55
You can't get less than 0 or marks more than the maximum mark!
Assignment 2 mark: 13
Assignment 3 mark: -4
You can't get less than 0 or marks more than the maximum mark!
Assignment 3 mark:

Add a stop feature so when the user enters stop, it should print out 'Exited!' and then terminate the program.

Output Example

Assignment 1 mark: 12
Assignment 2 mark: 13
Assignment 3 mark: stop
Exited!

Assume that any valid marks entered for each assignment add up to less than 50.

In: Computer Science

Your response should be more than 700 words. Thanks! Question: As an investor in a social...

Your response should be more than 700 words. Thanks!

Question: As an investor in a social network such as Facebook, discuss TWO risks/factors that could damage the future growth potential of the social network. Support your answer with examples.

In: Economics

Macroeconomics question regarding unemployment Suppose that a new program implemented by the government authority creates 200...

Macroeconomics question regarding unemployment Suppose that a new program implemented by the government authority creates 200 new jobs. Do you think that this would decrease unemployment by 200 (same rate as employment created). Write two paragraphs explaining two strong arguments as to whether this is true or not and why.

In: Economics