Questions
1.Determine whether S spans V . Justify your answers. V = C ^0 [−1, 1] (the...

1.Determine whether S spans V . Justify your answers.

V = C ^0 [−1, 1] (the vector space of continuous functions on [−1, 1]) and S = {1, t, t2 , t3 , . . . }.

2.Let S be a set in a vector space V and v any vector. Prove that span(S) = span(S ∪ {v}) if and only if v ∈ span(S).

In: Advanced Math

The individual financial statements for Peter Company and Smith Co. for the year ended December 31,...

The individual financial statements for Peter Company and Smith Co. for the year ended December 31, 2017, are attached in the Excel spreadsheet. Peter acquired a 91 percent interest in Smith on January 1, 2016, in exchange for various considerations totaling $1,078,350. At the acquisition date, the fair value of the non-controlling interest was $106,650 and Smith’s book value was $677,000. Smith had developed internally a customer list that was not recorded on its books but had an acquisition-date fair value of $335,000. This customer list is being amortized over 10 years.

Peter sold Smith a building with a $113,000 book value (cost of $275,000) for $135,000, with a remaining life of 10 years on January 2, 2016. In addition, on January 2, 2017, Peter reports $1,000,000 in bonds outstanding with a book value of $925,000, with a 4.0% coupon rate. Smith purchased 50 percent of these bonds on the open market at a price of $410,000 on that date. The Bonds come due December 31, 2019.

Smith transfers inventory to Peter on a regular basis. In 2016, Smith shipped inventory costing $171,000 to Peter at a price of $225,000. During 2017, Smith shipped goods totaling $267,000, which cost Smith $197,580. In year-ended 2016, 35% of the goods, and in year-ended 2017 40% of the goods, had not been resold to third parties by the end of the year. In addition, at the end of 2017, Peter owes Smith $32,000 due to these shipments.

1) Prepare the “schedule” that allocates the purchase price and determines the amount of Goodwill, if any.

2) Prepare all the consolidation worksheet adjustment entries for 2017, including any supporting schedules as necessary. as follows:

• S, A, I, D, E entries

• P, G, *G, TI entries

• *TA, ED entries

• Bonds entry

• *C entry  

• Supporting schedules should include:

i. the calculation of the non-controlling interest in the income of Smith

ii. the non-controlling interest in the assets of Smith

iii. schedule supporting the Bond calculations for entry B

iv. schedule supporting the gross profit in inventory elimination

v. and the support for the *C entry

3) Prepare a consolidation worksheet that includes the proper posting of the worksheet entries.

4) Additional information: • Income in 2016 reported by Smith was $262,000; • Dividends paid in 2016 by Smith was $42,000.

Note: Your final submission will be the Excel worksheet which will contain all the data / support necessary to reach a final consolidation worksheet. Many of the points are associated with the correct calculation (and display of the calculations) for the required journal entries.

In: Accounting

How does the concept of “equivalent groups” relate to the experiment and the quasi-experiment?

How does the concept of “equivalent groups” relate to the experiment and the quasi-experiment?

In: Statistics and Probability

The municipality of a major city in Quebec is planning to build a new bridge to...

The municipality of a major city in Quebec is planning to build a new bridge to decrease the traffic load on the existing bridges connecting both sides of the city across the river. Construction is to start in 2020 and is expected to take four years at a cost of $25 million per year. After construction is completed, the cost of operation and maintenance is expected to be $2.5 million for the first year and to increase by 2.8% per year thereafter. The scrap/salvage value of the bridge at the end of year 2053 is estimated to be $5 million. Consider the present to be the end of 2018/beginning of 2019 and the interest rate to be 8%.

a)   Draw a cash flow diagram for this project (from present till end of year 2053).
b)   Find the Present Worth of this project.
c)   Find the Future Worth of this project.

In: Economics

just what am i supposed to do here? Design Your Own Experiment: Musculoskeletal Fatigue Experiment Inventory...

just what am i supposed to do here?

Design Your Own Experiment: Musculoskeletal Fatigue Experiment

Inventory Material sFull Lab Kit Box Rubber Band Rubber Ball Labware*Stopwatch/Timer Note: You must provide the materials listed in *red. EXPERIMENT

3: DESIGN YOUR OWN EXPERIMENT: MUSCLE FATIGUE

Design an experiment to test temperature-independent musculoskeletal fatigue using any of the materials provided. IMPORTANT: Students must submit personally designed experimental procedures to a teacher for approval prior to performing the experiment. When designing your experiment, create a hypothesis, identify dependent and independent variables, identify controls, include calculations where useful, record appropriate data, and report important data in an organized manner. After completing your ex-periment, write a brief post-lab report in which you address your hypothesis, procedure, data, calculations, data analysis, potential sources of error, conclusion, and additional questions or “next-steps”.

In: Biology

A 190 Ω resistor, a 0.875 H inductor, and a 5.75 μF capacitor are connected in...

A 190 Ω resistor, a 0.875 H inductor, and a 5.75 μF capacitor are connected in series across a voltage source that has voltage amplitude 32.0 V and an angular frequency of 270 rad/s.

A. What is v at t= 22.0 ms ?

B. What is vR at t= 22.0 ms ?

C. What is vL at t= 22.0 ms ?

D. What is vC at t= 22.0 ms ?

E. Compare vC+vL+vR and v at this instant:

vC+vL+vR<v

vC+vL+vR>v

vC+vL+vR=v

which is true?

F. What is VR?

G. What is VC?

H. What is VL?

I. Compare V and VL+VC+VR:

VL+VR+VC=V

VL+VR+VC<V

VL+VR+VC>V

Which is true?

In: Physics

Jack just completed the program for the Flesch text analysis from this chapter’s case study. His...

Jack just completed the program for the Flesch text analysis from this chapter’s case study. His supervisor, Jill, has discovered an error in his code. The error causes the program to count a syllable containing consecutive vowels as multiple syllables.

Suggest a solution to this problem in Jack’s code and modify the program so that it handles these cases correctly.

An example text and the program input and output is shown below:

example.txt

Or to take arms against a sea of troubles, And by opposing end them? To die: to sleep.

Enter the file name: example.txt
The Flesch Index is 102.045
The Grade Level Equivalent is 1
3 sentences
18 words
21 syllables

"""
Program: textanalysis.py
Author: Ken
Computes and displays the Flesch Index and the Grade
Level Equivalent for the readability of a text file.
"""

# Take the inputs
fileName = input("Enter the file name: ")
inputFile = open(fileName, 'r')
text = inputFile.read()

# Count the sentences
sentences = text.count('.') + text.count('?') + \
text.count(':') + text.count(';') + \
text.count('!')

# Count the words
words = len(text.split())

# Count the syllables
syllables = 0
vowels = "aeiouAEIOU"
for word in text.split():
for vowel in vowels:
syllables += word.count(vowel)
for ending in ['es', 'ed', 'e']:
if word.endswith(ending):
syllables -= 1
if word.endswith('le'):
syllables += 1

# Compute the Flesch Index and Grade Level
index = 206.835 - 1.015 * (words / sentences) - \
84.6 * (syllables / words)
level = int(round(0.39 * (words / sentences) + 11.8 * \
(syllables / words) - 15.59))

# Output the results
print("The Flesch Index is", index)
print("The Grade Level Equivalent is", level)
print(sentences, "sentences")
print(words, "words")
print(syllables, "syllables")

The given code needs to be edited to be correct. We are using the newest form of python.

In: Computer Science

If the statement is true, prove it. Otherwise give a counter example. a)If V=C3 and W1={(z1,z2,z2)∈C3:z1,z2∈C},...

If the statement is true, prove it. Otherwise give a counter example.

a)If V=C3 and W1={(z1,z2,z2)∈C3:z1,z2∈C}, W2={(0,z,0)∈C3:z∈C}, then V=W1⊕W2.

b)If Vis a vector space and W1, W2 are subspaces of V, then W1∪W2 is also a subspace of V.

c)If T:V→V is a linear operator, then Ker(T) and Range(T) are invariant under T.

d)Let T:V→V be a linear operator. If Ker(T)∩Range(T) ={0}, then V=Ker(T)⊕Range(T).

e)If T1,T2:VV are linear operators such that T1T2=T2T1, and λ2 is an eigenvalue of T2, then Ker(T2−λ2I) is invariant under T1.

In: Accounting

Is there anyway to solve below problem in Java? Wherever there is int it gives an...

Is there anyway to solve below problem in Java?

Wherever there is int it gives an error! It's not only line 20! it give an runtime error everywhere get int after string! or even before read string!

cities[i] = sc.next(); //This way does not work!!!!

==============

input

San Francisco
Las Vegas
8
San Diego
Los Angeles
San Francisco
San Jose
Sacramento
Santa Barbara
Las Vegas
Pheonix
8 19
0 1
0 3
1 0
1 2
1 4
1 3
2 1
2 5
2 6
2 7
3 7
3 0
3 1
4 7
4 1
5 2
6 2
7 2
7 3

==============

Error:

==============

Exception in thread "main" java.util.InputMismatchException
        at java.util.Scanner.throwFor(Scanner.java:864)
        at java.util.Scanner.next(Scanner.java:1485)
        at java.util.Scanner.nextInt(Scanner.java:2117)
        at java.util.Scanner.nextInt(Scanner.java:2076)
        at Solution.main(myFuncs.java:20)

=======================

==============

import java.io.*;
import java.util.*;
import java.util.LinkedList;
import java.util.Queue;
import java.util.Scanner;


public class myFuncs{

    public static void main(String arg[]) {
        Scanner sc = new Scanner(System.in);
        String s1, s2;
        s1 = sc.nextLine(); //first city
        s2 = sc.nextLine(); //second city
        int n = sc.nextInt(); //total number of cities
        String cities[] = new String[n];
        for (int i = 0; i < n; i++) {
            cities[i] = sc.nextLine(); //getting each city and storing them
        }
        n = sc.nextInt();
        int e = sc.nextInt();
        int adj[][] = new int[n][e];
        for (int i = 0; i < n; i++)
            for (int j = 0; j < e; j++)
                adj[i][j] = 0;
        for (int i = 0; i < e; i++) {
            int c1 = sc.nextInt();
            int c2 = sc.nextInt();
            adj[c1][c2] = 1;
            adj[c2][c1] = 1;
        }

        int index1 = -1, index2 = -1;

        for (int i = 0; i < n; i++) {
            if (cities[i].equals(s1)) index1 = i; //storing the index of first city
            if (cities[i].equals(s2)) index2 = i; //storing the index of second city
        }

        adj[index1][index2] = 0;
        adj[index2][index1] = 0;


        System.out.println(cities[index1] + " " + index1);
        System.out.println(cities[index2] + " " + index2);


        if (bfs(adj, index1, index2, n)) System.out.println("true");
        else System.out.println("false");
    }

    public static boolean bfs(int adj[][], int source, int dest, int V) {

        boolean visited[] = new boolean[V];

        LinkedList < Integer > queue = new LinkedList < Integer > ();

        visited[source] = true;
        //visited[dest]=true;
        queue.add(source);

        while (queue.size() != 0) {

            int s = queue.poll();

            if (queue.size() != 0)
                queue.remove();

            System.out.print(s + " ");

            for (int i = s; i < V; i++) {
                if (adj[s][i] == 1 && !visited[i]) {
                    visited[i] = true;
                    queue.add(i);
                    if (i == dest) return true;
                }
            }

        }

        return false;
    }

}

In: Computer Science

According to the author, what three kinds of information can be learned from international comparisons of...

According to the author, what three kinds of information can be learned from international comparisons of health care systems and What sorts of questions might arise about health care politics being common or different among countries? (500 words) In your own words No plagiarizm

In: Economics