In python, how do you move the pointer of a doubly linked list to the last...

In python, how do you move the pointer of a doubly linked list to the last node? Also in python, how do you move the current pointer "n" elements ahead (circularly)


def go_last(self):
# moves 'current' pointer to the last node


def skip(self,n:int):
# moves 'current' pointer n elements ahead (circularly)

In: Computer Science

distaltion

distaltion

In: Other

Should insurance companies and governmental agencies that fund treatment be able to restrict access to treatment...

Should insurance companies and governmental agencies that fund treatment be able to restrict access to treatment that is not evidence-based? What about treatment that works better than alternatives but is more expensive?

In: Psychology

Write equations for the reactions investigated. Label Sn1 or Sn2. 1)Butyl bromide in 15%NaI-acetone 2)Butyl bromide...

Write equations for the reactions investigated. Label Sn1 or Sn2.

1)Butyl bromide in 15%NaI-acetone

2)Butyl bromide in 1%ethanolic silver nitrate

?????3)Butyl chloride in 15% NaI-acetone

4) Butyl chloride in 1% ethanolic silver nitrate

5)Sec-butyl chloride in 15%NaI-acetone

6) Sec-butyl chloride in 1% ethanolic silver nitrate

7) Tert-butyl chloride in 15%NaI-acetone

8) Tert-butyl chloride in 1% ethanolic silver nitrate

9) Crotyl chloride in 15% NaI-acetone

10) Crotyl chloride in 1% ethanolic silver nitrate

Any help would be appreciated! I will rate your response in return!

In: Chemistry

Please answer all parts. A) By binding in the A-site, tetracycline: A. Prevents the initiator tRNA...

Please answer all parts.

A)

By binding in the A-site, tetracycline:

  • A.

    Prevents the initiator tRNA from binding

  • B.

    Prevents the exit of empty tRNAs

  • C.

    Prevents the next charged tRNA from binding in the ribosome

B)

If an antibiotic that binds to the E site of the ribosome is added right before translation starts, which one of the statements is TRUE?

  • A.

    The end product only has 1 amino acid.

  • B.

    Translation would not be affected.

  • C.

    The end product only has 2 amino acids.

C)

The diagram below depicts translation as the fourth amino acid is added to the polypeptide chain. In the growing polypeptide chain, which amino acid is colored?   

  • A.

    Valine (Val)

  • B.

    Methionine (Met)

  • C.

    Isoleucine (Ile)

  • D.

    Glutamine (Gln)

  • E.

    Alanine (Ala)

D)

While the overall process and mechanism of translation is conserved across all living organisms, which of the following statements are true for both prokaryotes and eukaryotes?

  • A.

    The 70S ribosomal complex is composed of a large 50S and a small 30S subunit.

  • B.

    The 3’ end of the 16S rRNA in the small ribosome subunit recognizes the Shine-Dalgarno sequence on the 5’ end of mRNA.

  • C.

    The translation initiation complex is complete when the start codon (AUG) is positioned in the P site and the initiator tRNA carrying fMet (N-formylmethionine) binds.

  • D.

    Peptidyl transferase catalyzes the formation of a peptide bond between the amino acids in the P and A sites, and then the peptide chain moves to the tRNA at the A site.

  • E.

    Aminoacyl-tRNA synthetases translocate the ribosome by exactly one codon, moving the tRNA with the peptide chain in the A site to the P site.

  • F.

    Translation termination occurs when a release factor binds a stop codon (UAG, UGA, UAA) in the A site.

In: Biology

On January 1, 2017, Acker Inc. had the following balance sheet. ACKER INC. BALANCE SHEET AS...

On January 1, 2017, Acker Inc. had the following balance sheet.

ACKER INC.
BALANCE SHEET
AS OF JANUARY 1, 2017

Assets

Equity

Cash $ 50,000 Common stock $ 260,000
Debt investments (available-for-sale) 240,000 Accumulated other comprehensive income 30,000
Total $ 290,000 Total $ 290,000


The accumulated other comprehensive income related to unrealized holding gains on available-for-sale debt securities. The fair value of Acker Inc.’s available-for-sale debt securities at December 31, 2017, was $ 190,000; its cost was $ 140,000. No securities were purchased during the year. Acker Inc.’s income statement for 2017 was as follows. (Ignore income taxes.)

ACKER INC.
INCOME STATEMENT
FOR THE YEAR ENDED DECEMBER 31, 2017

Dividend revenue $ 5,000
Gain on sale of investments 30,000
Net income $ 35,000

Prepare the journal entry to record the sale of the available-for-sale debt securities in 2017. (Credit account titles are automatically indented when amount is entered. Do not indent manually. If no entry is required, select "No Entry" for the account titles and enter 0 for the amounts.)

Account Titles and Explanation

Debit

Credit

Prepare the journal entry to record the Unrealized Holding Gain or Loss for 2017. (Credit account titles are automatically indented when amount is entered. Do not indent manually. If no entry is required, select "No Entry" for the account titles and enter 0 for the amounts.)

Account Titles and Explanation

Debit

Credit

Prepare a statement of comprehensive income for 2017.

ACKER INC.
Statement of Comprehensive Income
For the Year Ended December 31, 2017

$

$

Prepare a balance sheet as of December 31, 2017.

ACKER INC.
Balance Sheet (Partial)

Assets

$

$

Liabilities and Stockholders' Equity

$

$

In: Accounting

Suppose that each firm in a competitive industry has the following costs: Total Cost: TC= 50+1/2...

Suppose that each firm in a competitive industry has the following costs:

Total Cost: TC= 50+1/2 q^2
Marginal Cost: MC= q

where qq is an individual firm's quantity produced.

The market demand curve for this product is

Demand

QD=160−4PQD=160−4P

where PP is the price and QQ is the total quantity of the good.

Each firm's fixed cost is $_____

What is each firm's variable cost?

q

50+1/2 q

1/2q

1/2q^2

Which of the following represents the equation for each firm's average total cost?

50/q

50+1/2q

50/q+1/2q

1/2q

Complete the following table by computing the marginal cost and average total cost for qq from 5 to 15.

Answer just this past please

The average total cost is at its minimum when the quantity each firm produces (qq) equals _______

.

Which of the following represents the equation for each firm's supply curve in the short run?

q

50−q

1/2q^2

120−1/2q^2

In the long run, the firm will remain in the market and produce if _______.

Currently, there are 16 firms in the market.

In the short run, in which the number of firms is fixed, the equilibrium price is______

and the total quantity produced in the market is_____units. Each firm produces____

units. (Hint: Total supply in the market equals the number of firms times the quantity supplied by each firm.)

In this equilibrium, each firm makes a profit of $______

. (Note: Enter a negative number if the firm is incurring a loss.)

Firms have an incentive to _____ the market.

In the long run, with free entry and exit, the equilibrium price is _____

, and the total quantity produced in the market is_____units. There arefirms in the market, with each firm producing____

units.

In: Economics

The production function of a good is f(L,M)=4L1/2 M1/4, where L is the number of units...

The production function of a good is f(L,M)=4L1/2 M1/4, where L is the number of units of labor and M is the number of machines used. The cost of labor is $20 per unit and the cost of machines is $10 per unit. If the firm decides to produce Q units of output, (1) Does the production function exhibit increasing returns to scale? Why? (2) Get the conditional factor demand for L and M. (3) If there is a set-up cost at $1000. Find the total cost of producing Q units of output using the answer from (2). (4) Find the average total costs function and marginal costs function?

In: Economics

A new father plans on saving for his daughter’s college education. He will donate $775.00 on...

A new father plans on saving for his daughter’s college education. He will donate $775.00 on her first birthday. After that, he will increase his donation by 3.00% each year and will make his last contribution on her 18th birthday. If he can earn 9.00% each year in his investment account, how much will his daughter’s college fund be worth on her 18th birthday?

In: Finance

Write a Matlab script which creates two vectors from the table below; pne vector for the...

Write a Matlab script which creates two vectors from the table below; pne vector for the element names and a second for element atomic numbers. Print the statement "[element name] has an odd atomic number: [element atomic number]." for each element with an odd atomic number.

Element Atomic Number
Gold 79
Carbon 6
Hydrogen 1
Oxygen 8
Sodium 11
  • Use a for loop.
  • Use a if statement.
  • Print one statement per line.
  • Use the mod function when testing for odd atomic numbers.

In: Computer Science

a uniform rod length 6m and mass1 = 42 kg is hinged at A, makes angle...

a uniform rod length 6m and mass1 = 42 kg is hinged at A, makes angle of 35 degrees below horizontal, and is supported by a tungsten cable attached to a 1.5 m from other end. The cable makes an angle 20 degrees above horizontal and with a load of mass2 = 80kg is hanging at the end.

A. Find tension in cable (horizontal and vertical) at the pivot point hinge A.
B. max tension is 2800 N; find max distance from A at which cable can be reattached before cable breaks
C. Initial tungsten cable legth is 7.2 m before theres any tension, cable diameter is 4.3 mm; Young's modulus is 35 x 10^10 N/m^2, if cable is attached at 1520 N, find amount cable is stretched

In: Physics

Give three examples of functional requirements?

Give three examples of functional requirements?

In: Computer Science

Consider the titration of a 25.0 −mL sample of 0.180 M CH3NH2 with 0.155 M HBr....

Consider the titration of a 25.0 −mL sample of 0.180 M CH3NH2 with 0.155 M HBr. Determine each of the following.

A. initial pH

B. volume of added acid required to reach the equivalence point

C. pH at 6.0 mL of added acid

D. pH at one-half of the equivalence point

E. pH at the equivalence point

F. pH after adding 6.0 mL of acid beyond the equivalence point

In: Chemistry

About how large is our national debt today, either in total or per U.S. resident?   In...

About how large is our national debt today, either in total or per U.S. resident?   In addition, describe how the U.S. debt burden has changed since WWII. (Hint on this last part: Use Debt relative to the size of the economy as a measure.)  

In: Economics

Facts: Butcher Block is an Austin (Travis County), Texas company that packages meat products for sale...

Facts: Butcher Block is an Austin (Travis County), Texas company that packages meat products for sale to local convenience stores. When its refrigerated delivery truck suffers an engine failure, Butcher’s president Billy contacted Vaught Motors, an Oklahoma City company that sells refrigerated vans and trucks to businesses. Billy negotiated with Vaught sales associate Annie a valid contract for the immediate sale and next-morning delivery of a used 2017 Mitsubishi Fuso FE 140 for $45,000 (including a time-of-the-essence clause because Butcher could make no deliveries without the truck). Vaught delivered a vehicle promptly, but it was a 2019 GMC G33705 van. Butcher rejected delivery because the GMC van—though newer, so the price was good—had only half of the storage capacity as the Mitsubishi truck and thus would not allow Butcher to make all of its deliveries each day. Butcher instead bought an equivalent Mitsubishi truck from another seller for $50,000. The day it was supposed to receive the truck from Vaught, Butcher missed all of its deliveries, which were worth $10,000 in profit. It also had to rent a delivery truck for 10 days at $500/day so that it could fill its orders while it awaited the truck from the alternate seller.

Question 1: Explain whether Vaught performed or breached its contract with Butcher and what the potential damages are for Butcher.

Question 2: For this second question only, assume that Annie was a probationary sales associate, and her manager Madelyn had told her orally not to do contracts above $25,000 without consulting her, and Annie did not consult Madelyn about the contract with Butcher. Billy had contacted Annie directly through the Vaught website, which told customers “Our sales associates can get you the right truck for your business,” and it included Annie’s name and contract information. Explain under agency law principles whether Vaught or Annie (or both) is liable for money damages if Butcher were to win a judgment for breach of contract.

Essay 3: If Butcher sues Vaught in a court located in its home (Travis County, Texas), explain what court or courts have subject matter jurisdiction over the lawsuit and whether there is personal jurisdiction over Vaught. Also address whether Butcher can sue in a court if the contract contains a clause requiring the parties to arbitrate.

In: Operations Management