The SN2 Reaction can be described as chemospecicific; define the terms "chemoselectivity" and "chemospecificity", and explain...

The SN2 Reaction can be described as chemospecicific; define the terms "chemoselectivity" and "chemospecificity", and explain the origin of the observed chemospecifity in the williamson ether synthesis

In: Chemistry

Suppose today S&P 500 index is 1800 and the continuously compounded annual dividend yield on the...

Suppose today S&P 500 index is 1800 and the continuously compounded annual dividend yield on the index is 2%.

Assume that it is possible to lend at 4 % and borrow at 7 %, annually continuously compounded.

a) Above what futures price is there arbitrage?

b) Below what futures price is there arbitrage?

Please show the cash flows, which make each type of arbitrage and explain what you would

do at each relevant date. Consider time to maturity of 6 months

.

In: Finance

Q2 You have been asked by the management of Mok Ltd to assist with the preparation...

Q2

You have been asked by the management of Mok Ltd to assist with the preparation of the income tax entries for the year ended 30 June 2018. The company reported a profit before tax for the year to 30 June 2018 of $900 000. The company’s statements of financial position include assets and liabilities as follows:

2018

2017

Accounts receivable

$ 245 000

$ 200 000

Allowance for doubtful debts

(20 000)

(10 000)

Plant – at cost

600 000

600 000

Accumulated depreciation

(190 000)

(120 000)

Development asset – at cost

360 000

200 000

Accumulated amortisation

(130 000)

(80 000)

Interest receivable

10 000

20 000

Provision for long-service leave

48 000

62 000

Deferred tax asset

?

21 600

Deferred tax liability

?

60 000

(a) The company is entitled to claim a tax deduction of 125% on development costs when incurred.

(b) Interest revenue of $10 000 is included in the profit for the year to 30 June 2018.

(c) Expenses included in profit for the year to 30 June 2018 are as follows:

   parking and other fines $10 000

   depreciation expense for plant $70 000

   doubtful debts expense $25 000

   amortisation of development asset $50 000

   long-service leave expense $36 000.

(d) Accumulated depreciation on plant for tax purposes is $280 000 on 30 June 2018 and $180 000 on 30 June 2017. There have been no acquisitions or disposals of plant during the current year.

(e) The corporate tax rate is 30%.

Required

Complete the current tax and deferred tax worksheets of Mok Ltd and prepare the tax entries for 30 June 2018.

In: Accounting

Hi it's the java stack to convert from infix to postfix If I want to fix...

Hi it's the java stack to convert from infix to postfix

If I want to fix this code to calculate each numbers not just displaying the numbers what should I do?

Would you help me to fix the result?

import java.util.Stack;
import java.util.Scanner;
class Main
{
//Function to return precedence
static int Prec(char ch)
{
switch (ch)
{
case '+':
case '-':
return 1;

case '*':
case '/':
return 2;

case '^':
return 3;
}
return -1;
}
static String infixToPostfix(String exp)
{
// initializing empty String for result
String result = new String("");
Stack<Character> stack = new Stack<>();
int i=0;
int len=exp.length();
for ( i = 0; i<len; ++i)
{
char c = exp.charAt(i);
if (Character.isLetterOrDigit(c))
result =result+ c;
else if (c == '(')
stack.push(c);
else if (c == ')')
{
while (!stack.isEmpty() && stack.peek() != '(')
result =result+ stack.pop();
if (!stack.isEmpty() && stack.peek() != '(')
return "Invalid Expression";   
else
stack.pop();
}
else
{
//for operators
while (!stack.isEmpty() && Prec(c) <= Prec(stack.peek()))
result =result+ stack.pop();
stack.push(c);
}
}
while (!stack.isEmpty())
result =result+ stack.pop();

return result;
}
public static void main(String[] args)
{
String exp = "(5+8)*(7-3)";
String exp2="6+7*(3+9)/2";
System.out.println("Infix "+exp);
System.out.println("Postfix "+infixToPostfix(exp));
System.out.println("Infix "+exp2);
System.out.println("Postfix "+infixToPostfix(exp2));
}
}

In: Computer Science

Real Shocks and the ‘Keynesian Cross’ Suppose the economy of Canada has reached the long-run equilibrium...

Real Shocks and the ‘Keynesian Cross’

Suppose the economy of Canada has reached the long-run equilibrium (i.e. full employment) and assume that the function of exports and imports are as follows:

(1) EX =α0 +α1q+α2(Y∗ −T∗)

(2) IMP =β0 −β1q+β2(Y −T)

where q is the real exchange rate between Canadian and US goods, Y − T is the Canadian disposable income, Y ∗ − T ∗ is the US disposable income, and the α’s and the β’s are positive parameters.

Assume that Prime Minister Trudeau decides to implements a temporary policy that convinces Canadians to buy less imported goods at any given real exchange rate and any given level of disposable income. In particular, assume that this policy lowers β0 in the import function shown above.

Explain how this temporary shock affects the level of output, consumption, investment, government expenditure, the nominal interest rate, the nominal and real exchange rates, and the level of prices in the short run. Use the AA-DD model to answer this question and do not forget to use a diagram to support your answer.

In: Economics

JAVA Implement and test the following static recursive methods. 1) DigitCount – find the sum of...

JAVA

Implement and test the following static recursive methods.

1) DigitCount – find the sum of the digits in an integer digitCount(12345) would be 5

2) Power2 - Efficiently compute exponentiation for non-negative exponents by the following recursive algorithm:

bx = 1 if x == 0

bx = (b(x/2))2 if x is even bx = b * (b(x-1)) if x is odd

3) Write a recursive method isBackwards that has two String parameters and returns true if the two Strings have the same sequence of characters but in the opposite order (ignoring white space and capitalization), and returns false otherwise. The method should throw an IllegalArgumentException if either String is null.

Test this method with following examples, isBackwards("Fried", "deirf") -> true isBackwards("Sit", "Toes") -> false isBackwards("", "") -> true

isBackwards("I madam", "mad am I") -> true

In: Computer Science

Evaluate the difference between the primary market and the secondary market.      Explain how financial intermediaries channel...

  1. Evaluate the difference between the primary market and the secondary market.

     Explain how financial intermediaries channel household savings into financial     investment. (300 words)

thank you

In: Finance

Using the following text string: axcbramneltodaydy Search for the following pattern: 'today' Specify whether or not...

Using the following text string: axcbramneltodaydy

Search for the following pattern: 'today' Specify whether or not you found the pattern. The minimum requirement is to use the string STL, the brute force method and hard code both the text and the pattern.

For extra credit, you can add any of the following:

1. Do not use the string STL.

2. Allow me to enter both the text string and the pattern, including spaces. You can designate a special end-of-text character for me to include.

3. Use the Boyer-Moore algorithm instead of brute force.

4. Identify the location where the pattern was found within the text.

5. Allow for the possibility that the pattern can appear more than once in the text and identify all of the locations where the pattern was found.

In: Computer Science

simple staining lab 3 simple stain experiment

simple staining lab 3 simple stain experiment

In: Biology

A student decides to move a box of books into her dormitory room by pulling on...

A student decides to move a box of books into her dormitory room by pulling on a rope attached to the box. She pulls with a force of 83.2 N at an angle of 28.0° above the horizontal. The box has a mass of 20.0 kg, and the coefficient of kinetic friction between box and floor is 0.300. (Indicate the direction with the sign of your answer.)

(a) Find the acceleration of the box. (Assume that the +x-axis is to the right and the +y-axis is up along the page.)

magnitude     m/s2
direction     ° counterclockwise from the +x-axis



(b) The student now starts moving the box up a 10.0° incline, keeping her 83.2 N force directed at 28.0° above the line of the incline. If the coefficient of friction is unchanged, what is the new acceleration of the box? (Assume that the +x-axis is along the incline and the +y-axis is upwards and perpendicular to the incline.)

magnitude     m/s2
direction     ° counterclockwise from the incline

PLEASE EXPLAIN STEPS

In: Physics

Questions regarding the lab: Spectrophotometric Determination of Caffeine in a Soft Drink 1)How are the absorption...

Questions regarding the lab: Spectrophotometric Determination of Caffeine in a Soft Drink

1)How are the absorption spectra of atoms and molecules the same, and how are they different?

2)Beer’s law, A=e b c forms the basis of a calibration curve. It clearly shows that there is a theoretically linear relationship between absorbance and concentration under constant conditions of analyte absorptivity (e) and path length (b). However, it is important for an analyst to be aware that there are limitations analyte concentration range under which there truly is a linear relationship between absorbance and concentration. Under what conditions of concentration does the linear relationship break down?

3)Caffeine is not fluorescent. However, just for argument’s sake imagine that it was fluorescent. Would the wavelength of maximum fluorescence be shorter, longer, or equal to the wavelength of maximum absorbance? Why?

4)Why was it necessary to remove CO2 before the analysis?

In: Chemistry

Hi, how can I create a random guessing game in C++ with 2 players. I got...

Hi, how can I create a random guessing game in C++ with 2 players. I got some of the code but not working properly.

//Guess my number game
#include <iostream>
#include <ctime>
using namespace std;

int main()

{
   int seed = time(0);
   srand(seed);
   int randomNumber = rand() % 100 + 1;
   int userInput1, userInput2;
   int counter = 0;

   cout << "Welcome to Guess my Number" << endl;

   do
   {
       cout << "PLAYER1 enter a number: ";
       cin >> userInput1;
       cout << "PLAYER2 enter a number: ";
       cin >> userInput2;

       if (userInput1 == randomNumber)
           cout << "Congratulations you WON!" << endl;

       else if (userInput1 > randomNumber)
           cout << "Winning number is lower." << endl;

       else
           cout << "Winning number is higher." << endl;

       counter++;
       cout << endl;

   } while (userInput1 != randomNumber);

   cout << "The winning number was " << randomNumber << endl;
   cout << "Number of attempts. " << counter << endl;


   system("pause");
   return 0;
}

In: Computer Science

A long solenoid has 110 turns/cm and carries current i. An electron moves within the solenoid...

A long solenoid has 110 turns/cm and carries current i. An electron moves within the solenoid in a circle of radius 2.50 cm perpendicular to the solenoid axis. The speed of the electron is 0.040 c (c = speed of light). Find the current i in the solenoid.

In: Physics

Use the function from Q1 to find the sum of ints,n, from 1 to 2500, inclusive,...

Use the function from Q1 to find the sum of ints,n, from 1 to 2500,

inclusive, that satisfy the following boolean:

     ((n div by 11) and ( n is div by 13) ) or (n is div by 61)

Print out the sum with a labelled print:

The sum of qualifying ints, n, 1 <= n <= 2500, is ___________.

Hint: Remember that you can use a for loop to traverse a list.

For example:

L = [23,37,41,53,61]:

for n in L:

    print(n, end = ' ')

23 37 41 53 61

>>>

You can do this even more easily if you use the BIF sum, which returns the sum

of the numbers in a list

L1 = [2,7,13]

Sum = sum(L1)

print(Sum)

22

Write code to find the product of every 19th qualifying int (19th, 38th,...) from Q2, then

print out a labelled print:

The product of every 19th qualifying int is ____________

Then write code to find the sum of every 2nd qualifying int (2nd,4th,...) from Q2, then

print out a labelled print:

The sum of every 2nd qualifying int is ______________

Hint: Set up a counter and initialize the counter to zero.

Increase the counter as the ints from the list returned from Q2 are traversed.

Do not use indices - just use what has been taught. You can tell from the

counter what qualified int you are currently on. Knowing this, you can determine if

you are on a 2nd or a 19th qualifying int.

What is the largest int times the sum that is less than or equal to the product?

Print this out with a labelled print statement:

The largest int times the sum that is less that or equal to the product is _____________.

In: Computer Science

Normative Economics (Efficiency vs, Equity) there are two types of economic Efifficence Vs Equity why it...

Normative Economics (Efficiency vs, Equity)

there are two types of economic Efifficence Vs Equity why it is more important than the efficiency goal than equity?

why it is more important than the equity goals than efficient too ?

In: Economics