Jennifer decides that she will go into the tourist industry on Lake Geneva, and buy a concession to hire out canoes on the lake. She borrows CHF40,000 (CHF is swiss currency) from her parents and puts CHF20,000 in herself. The arrangment with the Canton is that she pays CHF50,000 at the start for the concession, which runs five years, but must also pay an annual rental of CHF10,000 at the end of the season in october. She negotiates a deal with a canoe supplier who sells her 20 canoes for CHF 30,000 but agrees that she should pay CHF10,000 on delivery and the rest a year later. During the season she receives CHF 90,000 (cash) in canoe rentals.
Task: Making and specifying whatever assumptions you wish, you are asked to draw up a simple statement of profit or loss for the first year and statement of finacial postiton at the end of the year.
In: Accounting
A tank initially contains 150 gal of brine in which 20lb of salt are dissolved. A brine containing 3 lb/gal of salt runs into the tank at the rate of 4 gal/min.The mixture is kept uniform by stirring and flows out of the tank at the rate of 3 gal/min. Let y represent the amount of salt at time t. Complete parts a through e.
a. At what rate (pounds per minute) does salt enter the tank at time t?
b. What is the volume of brine in the tank at time t?
c. At what rate (pounds per minute) does salt leave the tank at time t?
d.Write down and solve the initial value problem describing the mixing process. What is the solution to the initial value problem?
e. Find the concentration of salt in the tank 28 min after the process starts.
In: Advanced Math
Write python 3 code to define a function that uses three arguments, and returns a result.
The function returns True if the first argument is more than or equal to the second argument and less than or equal to the third argument, otherwise it returns False.
Write a python 3 code for function main, that does the following:
Call main at the end.
Make sure to use conversion or casting functions as needed.
In: Computer Science
In: Operations Management
You are the manager of College Computers, a manufacturer of customized computers that meet the specifications required by the local university. Over 90 percent of your clientele consists of college students. College Computers is not the only firm that builds computers to meet this university’s specifications; indeed, it competes with many manufacturers online and through traditional retail outlets. To attract its large student clientele, College Computers runs a weekly ad in the student paper advertising its “free service after the sale” policy in an attempt to differentiate itself from the competition. The weekly demand for computers produced by College Computers is given by Q = 800 – 2P, and its weekly cost of producing computers is C(Q) = 1,200 + 2Q2. If other firms in the industry sell PCs at $300, what price and quantity of computers should you produce to maximize your firm’s profits?
Price: $
Quantity: computers
In: Economics
The Gold Standard 1870-1914 was associated with which of the following?
|
globalization |
||
|
London at the center of the system |
||
|
pure commodity currency |
||
|
all of the above |
Which of the following elements of Glass-Steagal act of 1934 was designed to prevent bank runs?
|
FDIC |
||
|
separation between investment banking and the National treasury |
||
|
interest rate ceilings |
||
|
FOMC |
Nationalist protectionist policies had which impact on the Great Depression?
|
shortened the depression and preserved employment domestically |
||
|
shortened the depression and increased inequality domestically |
||
|
prolonged the depression significantly |
||
|
these policies were benign with respect to the Great Depression |
Like many stable monetary regimes the Gold Standard broke down because of which of the following?
|
excessive money printing to finance war |
||
|
excessive government budget deficits |
||
|
loss of faith in the intrinsic value of gold |
||
|
technological innovation disrupting the old system |
In: Economics
1)A circular loop of wire lies within the horizontal plane, and you are viewing it from above. You hold a magnet above the loop, with its north pole up and south pole down, and you drop the magnet. In what rotational direction will you see the induced current in the loop flow? (clockwise-counterclockwise)
2)The current going through a capacitor is called a (conduction current/displacement current)and arises from changing (electric field/magnetic field)
3) semiconductors are (diamagnetic/ferromagnetic/paramagnetic) materials
4) A circular loop of wire lies within the xy plane. It has an area of LaTeX: 1\:m^21 m 2 and an overall resistance of 4 Ohms. A uniform magnetic field runs in the positive z direction, and its magnitude increases at a rate of 2 T/s. What is the induced current?
In: Physics
Below is the C ++ code for a given assignment. An acre equal 43,560 sq ft. Im supposed to find the total number of acres within a tract of land that is 391,876 sq ft. the program compiles and runs just fine but I'm wondering if it would be better to use the int data type instead? I used double for more accuracy. The instructor didn't say we had to use any certain data type so I'm asking purely for practicality and for real world scenarios which would be better.
// this program calculates the number of acres in a tract of
land
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
double acre = 43560,
land =
391876,
total;
//Calculate the total number of acres
total = land / acre;
cout<<"the total number of acres is " <<
total << endl;
return 0;
In: Computer Science
Task #3 Experimenting with an array of random integers (Week
2)
Make sure that the following 3 experiments are done repeatedly by
generating a new set of integers to fill the array. For this
iterate 10 times and observe results for consistency.
• Make the array size reasonably large (say a thousand) and an even
number.
• Choose the version of nextInt() that allows you to set a cap on
the random integers generated (set it to a few thousands, but way
less than the maximum integer).
• Do the following experiments:
o Count how many integers in the array are odd and even. Are the
odd and even counts almost equal?
o Find the minimum, maximum, and average of the integers in the
array. Keep track of the minimum and maximum of the three
quantities across runs.
o Sort the array by writing an inner and an outer loop. Count the
number of times you needed to swap integers.
In: Computer Science
class Counter{
private int count = 0;
public void inc(){
count++;
}
public int get(){
return count;
}
}
class Worker extends Thread{
Counter count;
Worker(Counter count){
this.count = count;
}
public void run(){
for (int i = 0; i < 1000;i++){
synchronized(this){
count.inc();
}}
}
}
public class Test
{
public static void main(String args[]) throws InterruptedException
{
Counter c = new Counter();
Worker w1 = new Worker(c);
Worker w2 = new Worker(c);
w1.start();
w2.start();
w1.join();
w2.join();
System.out.println(c.get());
}
}
The above code should print 2000 because inc() method is synchronized. However, it is printing a different number ranging from 1000 to 2000 everytime it runs. Can you explain why? How would you fix it?
In: Computer Science