Questions
A long piece of wire with a mass of 0.170 kg and total length of 4.00...

A long piece of wire with a mass of 0.170 kg and total length of 4.00 m is used to make a square coil with a side of 0.100 m. The coil is hinged along a horizontal side, carries a 3.20 A current, and is placed in a vertical magnetic field with a magnitude of 0.0100 T.

In: Physics

Predict whether capsaicin is more soluble in oil or in water. What consequences does this have...

Predict whether capsaicin is more soluble in oil or in water. What consequences does this have for cooking with chili peppers?

In: Chemistry

First, create a class object named SequenceMap that has as private data members the following two:...

First, create a class object named SequenceMap that has as private data members the following two:

string recognition_sequence_ ;

vector enzyme_acronyms_;

Other than the big-five (note that you can use the defaults for all of them), you have to add the following:

a) A constructor SequenceMap(const string &a_rec_seq, const string &an_enz_acro),that constructs a SequenceMap from two strings (note that now the vector enzyme_acronyms_ will contain just one element, the an_enz_acro).

b) bool operator<(const SequenceMap &rhs) const, that operates based on the regular string comparison between the recognition_sequence_ strings (this will be a one line function).

c) Overload the operator<< for SequenceMap.

d) void Merge(const SequenceMap &other_sequence). This function assumes that the object’s recognition_sequence_ and other_sequence.recognition_sequence_ are equal to each other. The function Merge() merges the other_sequence.enzyme_acronym_ with the object’s enzyme_acronym_. The other_sequence object will not be affected.

Please test it with your own test functions to make sure that it operates correctly.

Please also show the test functions that you utilize so I can also implement it.

thank you.

In: Computer Science

As a technician in a large pharmaceutical research firm, you need to produce 400. mL of...

As a technician in a large pharmaceutical research firm, you need to produce 400. mL of 1.00 M a phosphate buffer solution of pH = 7.08. The pKa of H2PO4−  is 7.21. You have 2.00 LL of 1.00 M KH2PO4 solution and 1.50 L of 1.00 M K2HPO4 solution, as well as a carboy of pure distilled H2O. How much 1.00 M KH2PO4 will you need to make this solution?

In: Chemistry

What decimal number does the bit pattern 11001100 represent if it is a unsigned integer?

What decimal number does the bit pattern 11001100 represent if it is a unsigned integer?

In: Computer Science

Is the United States better or worse because of the outsourcing to China? Then do a...

Is the United States better or worse because of the outsourcing to China? Then do a research on it. Find academic articles or news that support and/ or against outsourcing.

In: Operations Management

Describe how changes in the environment can alter expression?

Describe how changes in the environment can alter expression?

In: Biology

Describe the concept of "streaming" and why it is used in delivering sound via the Internet....

Describe the concept of "streaming" and why it is used in delivering sound via the Internet. Which audio file formats work best for streaming over the web and why?

Research the Recording Industry Association of America (RIAA) and the Motion Picture Association of America (MPA), their influence on Federal regulations, and their evolving role in digital media distribution. You can include discussion of the Digital Millennium Copyright Act (DMCA), the Stop-Online Piracy Act (SOPA) and/or the Protect IP Act (PIPA) in relation to current trends in file sharing technologies.

In: Computer Science

The Language is Java. Sample Output: There is no given sample Output IsEqualToTest (30) Write a...

The Language is Java.

Sample Output:

There is no given sample Output

IsEqualToTest (30)

Write a simple generic version of method isEqualTo that compares its two arguments with the equals method and returns true if they’re equal and false otherwise. Use this generic method in a program that calls isEqualToTest with the built-in types Integer, String, Double and Object. The main reads in two Integer, and two Double values with autoboxing, as well as two String and calls the method. For Object just create two Object objects with no parameters. The method doesn’t need to include any correctness tests.

In: Computer Science

what is the correct name of the glycosidic bond in maltose?

what is the correct name of the glycosidic bond in maltose?

In: Chemistry

According to the Law of One Price, assuming there are no transport costs and freecompetition exists,...

According to the Law of One Price, assuming there are no transport costs and freecompetition exists, identical goods sold in different locations will have the same price.2Using the concepts of Arbitrage and Supply & Demand, explain why this must be thecase – at least in theory. Your answer should include a diagram. Why doesn’t the Lawof One Price hold in real life?

In: Economics

Two 2.0 cm -diameter disks face each other, 3.0 mm apart. They are charged to ±11nC....

Two 2.0 cm -diameter disks face each other, 3.0 mm apart. They are charged to ±11nC.

Part A

What is the electric field strength between the disks?

Part B

A proton is shot from the negative disk toward the positive disk. What launch speed must the proton have to just barely reach the positive disk?

In: Physics

Write a decrease-conquer algorithm to solve the following problem: input: a nonempty unsorted array A[lo..hi] of...

Write a decrease-conquer algorithm to solve the following problem:

input: a nonempty unsorted array A[lo..hi] of n distinct nonnegative integers;

output: the (left) median value of A[lo..hi].

What is the asymptotic running time of your algorithm ?

In: Computer Science

PLEASE DO THIS WITH PYTHON 3 Lab 4-2: Computing Tax The United States federal personal income...

PLEASE DO THIS WITH PYTHON 3

Lab 4-2: Computing Tax

The United States federal personal income tax is calculated based on filing status and taxable income. There are four filing statuses: single filers, married filing jointly, married filing separately, and head of household. The tax rates vary every year. Table 3.2 shows the rates for 2009. If you are, say, single with a taxable income of $10,000, the first $8,350 is taxed at 10% and the other $1,650 is taxed at 15%. So, your tax is $1,082.5.

Table 1

2009 U.S. Federal Personal Tax Rates

Marginal Tax Rate

Single

Married Filing Jointly or Qualified Widow(er)

Married Filing Separately

Head of Household

10%

$0 – $8,350

$0 – $16,700

$0 – $8,350

$0 – $11,950

15%

$8,351– $33,950

$16,701 – $67,900

$8,351 – $33,950

$11,951 – $45,500

25%

$33,951 – $82,250

$67,901 – $137,050

$33,951 – $68,525

$45,501 – $117,450

28%

$82,251 – $171,550

$137,051 – $208,850

$68,525 – $104,425

$117,451 – $190,200

33%

$171,551 – $372,950

$208,851 – $372,950

$104,426 – $186,475

$190,201 - $372,950

35%

$372,951+

$372,951+

$186,476+

$372,951+

You are to write a program to compute personal income tax. Your program should prompt the user to enter the filing status and taxable income and compute the tax. Enter 0 for single filers, 1 for married filing jointly, 2 for married filing separately, and 3 for head of household.

Here are sample runs of the program:

Sample 1:

Enter the filing status: 0

Enter the taxable income: 100000

Tax is 21720.0

Sample 2:

Enter the filing status: 1

Enter the taxable income: 300339

Tax is 76932.87

Sample 3:

Enter the filing status: 2

Enter the taxable income: 123500

Tax is 29665.5

Sample 4:

Enter the filing status: 3

Enter the taxable income: 4545402

Tax is 1565250.7

In: Computer Science

Peter and Blair recently reviewed their future retirement income and expense projections. They hope to retire...

Peter and Blair recently reviewed their future retirement income and expense projections. They hope to retire in 29 years and anticipate they will need funding for an additional 21 years. They determined that they would have a retirement income of $62304 in today's dollars, but they would actually need $45000 in retirement income to meet all of their objectives. Calculate the total amount that Peter and Blair must save if they wish to completely fund their income shortfall, assuming a 4 percent inflation rate and a return of 8 percent. The total amount that Peter and Blair must save if they wish to completely fund their income shortfall, assuming a 4 percent inflation rate and a return of 8 percent is $______________

In: Finance