from the book feynmans lost lecture by david goodstein what are the key steps in feynman's original derivation of kepler's first law from the law of universal gravitation, using only high-school algebra and trigonometry. draw some key diagrams to clarify the important steps.
In: Physics
What role does culture or genetics play when we
consider individuals from lower socio-economic backgrounds?
• How does this correlate with lower IQ scores, lower
achievement scores, higher risk of high school drop-out, and the
lower likelihood of success?
In: Psychology
Bullying has become increasingly problematic for school aged children. Describe the different types of bullying as well as the characteristics of a bully. What are the consequences for the victim of bullying? How will this affect their social development? Finally, in addition to the tips in the textbook, brainstorm some ideas for reducing bullying in schools.
In: Psychology
java.lang.NullPointerException
at FirstLastList.swap(FirstLastList.java:85)
at FirstLastAppTest.main(FirstLastAppTest.java:32)
Plese correct this error
class FirstLastAppTest.Java is for testing purposes and not for editing.
class FirstLastAppTest
{
public static void main(String[] args)
{
FirstLastList lst1 = new FirstLastList(); // Start a new
FirstLastList called lst1
lst1.insertLast(1); // Add links with data to the last
position
lst1.insertLast(3);
lst1.insertLast(7);
lst1.insertLast(4);
System.out.print("\nlst1: "); // print the description for the
list
lst1.displayList(); // print the contents of the list
FirstLastList lst2 = new FirstLastList(); // Start a new FirstLastList called lst2
lst2.insertLast(2); // Add links with data to the last
position
lst2.insertLast(4);
lst2.insertLast(5);
lst2.insertLast(8);
lst2.insertLast(6);
System.out.print("\nlst2: "); // print the description for the
list
lst2.displayList(); // print the contents of the list
System.out.print("\nlst1.join(lst2): "); // print the action to
take place: lst1.join(lst2)
lst1.join(lst2); // call the join method for lst1 to add lst2
System.out.print("\nlst1: "); // print the description for the
list
lst1.displayList(); // print the contents of the list lst1; post
join()
System.out.print("lst2: "); // print the description for the
list
lst2.displayList(); // print the contents of the list lst2; post
join()
System.out.print("\nlst1.swap(): "); // print the action to take
place: lst1.swap()
lst1.swap(); // call the swap method for lst1
System.out.print("\nlst1: "); // print the description for the
list
lst1.displayList(); // print the contents of the list lst1; post
swap()
} // end main()
} // end class
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
class FirstLastList
{
private Link first; // ref to first link
private Link last; // ref to last link
//
-------------------------------------------------------------
public FirstLastList() // constructor
{
first = null; // no links on list yet
last = null;
}
//
-------------------------------------------------------------
public boolean isEmpty() // true if no links
{ return first==null; }
//
-------------------------------------------------------------
public void insertFirst(long dd) // insert at front of list
{
Link newLink = new Link(dd); // make new link
if( isEmpty() ) // if empty list,
last = newLink; // newLink <-- last
newLink.next = first; // newLink --> old first
first = newLink; // first --> newLink
}
//
-------------------------------------------------------------
public void insertLast(long dd) // insert at end of list
{
Link newLink = new Link(dd); // make new link
if( isEmpty() ) // if empty list,
first = newLink; // first --> newLink
else
last.next = newLink; // old last --> newLink
last = newLink; // newLink <-- last
}
//
-------------------------------------------------------------
public long deleteFirst() // delete first link
{
// (assumes non-empty list)
long temp = first.dData;
if(first.next == null) // if only one item
last = null; // null <-- last
first = first.next; // first --> old next
return temp;
}
//
-------------------------------------------------------------
public void displayList()
{
System.out.print("List (first-->last): ");
Link current = first; // start at beginning
while(current != null) // until end of list,
{
current.displayLink(); // print data
current = current.next; // move to next link
}
System.out.println("");
}
//
-------------------------------------------------------------
public void join(FirstLastList otherList)
{
Link current = otherList.first; // start at beginning
while(current != null) // until end of list,
{
this.insertLast(current.dData);
current = current.next; // move to next link
}
otherList.first=null;
}
public void swap()
{
int count = 0;
Link current = first; // start at beginning
while(current != null) // until end of list,
{
count++;
current = current.next; // move to next link
if(count < 2)
{
System.out.println("There is not enough element in the
list.");
}
else
{
long firstData = first.dData; // store the data of the first
node
long lastData = current.dData; // please use current object of the
Link class / store the data of last node
first.dData = lastData; // swap
current.dData = firstData; // swap
}
}
}
}
class Link
{
public long dData; // data item
public Link next; // next link in list
//
-------------------------------------------------------------
public Link(long d) // constructor
{ dData = d; }
//
-------------------------------------------------------------
public void displayLink() // display this link
{ System.out.print(dData + " "); }
//
-------------------------------------------------------------
} // end class Link
////////////////////////////////////////////////////////////////
class FirstLastApp
{
public static void main(String[] args)
{ // make a new list
FirstLastList lst1 = new FirstLastList();
lst1.insertFirst(1);
lst1.insertLast(3);
lst1.insertLast(7);
lst1.insertLast(4);
System.out.print("List 1 is : ");
lst1.displayList();
FirstLastList lst2 = new FirstLastList();
lst2.insertFirst(2);
lst2.insertLast(4);
lst2.insertLast(5);
lst2.insertLast(8);
lst2.insertLast(6);
System.out.print("\nList 2 is : ");
lst2.displayList();
lst1.join(lst2);
System.out.print("\nAfter joining List 1 is : ");
lst1.displayList();
System.out.print("\nList 2 is : ");
lst2.displayList();
try
{
lst1.swap();
System.out.println("\nAfter swap the list 1 is : ");
lst1.displayList();
lst2.swap();
System.out.println("\nAfter swap the list 2 is : ");
lst2.displayList();
}
catch(Exception e)
{
System.out.println( "Exception:" + e);
}
} // end main()
} // end class FirstLastAppd
so swap method works after both the queues have been merged, the first and last element swap places. in this case 1 & 8 should swap places.
In: Computer Science
When WorldCom Inc.’s former chief executive Bernard Ebbers was found guilty of participating
In one of the largest U.S. accounting frauds ever, the ruling sent a message to corporate
Executives: Professing ignorance won’t necessarily save you.
Mr. Ebbers, who died Feb. 2 at age 78, was a former gym teacher who rose to head a
Telecommunications Company with a peak market value of about $180 billion. In the late 1990s
And early 2000s, WorldCom improperly boosted profit by booking operating expenses as capital
Spending, which can be deducted from earnings in small chunks over time.
During a trial in 2005, he pleaded not guilty to accounting fraud and said he didn’t know about
The misdeeds. The jury didn’t buy it. His 25-year prison sentence “put an exclamation point behind the old phrase ‘the buck stops here,’ ” said Patrick McGurn, special counsel at proxy advisor Institutional Shareholder Services. The dot-com bust and accounting scandals at WorldCom and Enron Corp. helped spur Congress to enact the Sarbanes-Oxley Act of 2002, whose provisions include requiring a public company’s chief executive and chief financial officer to certify that financial statements are accurate. The scandals also hastened a trend toward more independent corporate directors willing to challenge CEOs. Charles Elson, who heads a corporate-governance center at the University of Delaware, has this epitaph for the WorldCom fiasco: “As bad as it was, some good came out of it.” The regulatory changes didn’t mean corporate scandals would automatically land CEOs in prison. The aftermath of the 2008 financial crisis was notable for a lack of CEO scalps. Corporate leaders, wary of prison, may have become more cautious and less likely to leave paper or email trails, said Peter Henning, a law professor at Wayne State University, in Detroit. Mr. Ebbers, who built WorldCom through dozens of takeovers, was released from prison 13 years into his sentence in December because of deteriorating health. He followed an unconventional route to the CEO suite. The second of five children, Bernard John Ebbers was born Aug. 27, 1941, in Edmonton, Alberta, in Canada. His father worked as a traveling salesman and mechanic. The family moved to California in the late 1940s. Mr. Ebbers attended a boarding school on a Navajo reservation in New Mexico. As a young man he held odd jobs as a milk delivery man and a nightclub bouncer. Twice he gave up on college because of poor grades. He graduated from Mississippi College, where he played basketball, with a degree in education in 1967. Early in his career, Mr. Ebbers taught physical education and worked in a garment factory. He later began buying motels, starting with one in Columbia, Miss., where he lived in a two bedroom trailer in the parking lot. When AT&T’s “Ma Bell” system was broken up in the early 1980s, small rivals began reselling long-distance service. Mr. Ebbers and a handful of investors backed a company called Long Distance Discount Service, later renamed WorldCom. Dubbed the “Telecom Cowboy,” he earned a reputation as a hard-driving boss. He began to borrow money from the company in the late 1990s and used some of it to buy company stock. As the company expanded, Mr. Ebbers said he relied heavily on experts. “I’m not an engineer by training; I’m not an accountant by training,” he told the New York Times in 1998. “I’m the coach. I’m not the point guard who shoots the ball.” WorldCom began to show signs of stress in 2000 as its share price sank amid the dot-com meltdown. Mr. Ebbers was fired as CEO in April 2002. Soon afterward, an internal auditor spotted accounting irregularities. After his ouster, Mr. Ebbers appeared at his Mississippi church. At the end of the service, he walked to the front of the church and spoke to the congregation: “I just want you to know you aren’t going to church with a crook.” WorldCom’s former chief financial officer, Scott Sullivan, who engineered the fraud and worked closely with Mr. Ebbers, was sentenced to five years in prison after cooperating with prosecutors. He testified that Mr. Ebbers knew of the accounting methods used. Mr. Ebbers insisted he was blind-sided by the fraud. “I know what I don’t know,” he testified in a federal court. “I don’t, to this day, know technology. I don’t know finance and accounting.” As a judge delivered the sentence in 2005, Mr. Ebbers hung his head and cried while hugging his wife, Kristie Ebbers, who filed for divorce in 2008. He drove himself to prison in a Mercedes the following year and spent part of his sentence as inmate No. 56022-054 in a low-security prison in Louisiana. He was later transferred to FMC Fort Worth, a federal prison hospital in Texas. Paul Watson, a Mississippi resident and former WorldCom investor, lost $135,000 when the company collapsed, and supports a relative who lost $2.2 million. Still, he said, he feels little anger toward Mr. Ebbers and thinks “others have done far worse and been punished less.”
In: Finance
You will need to answer this question using the four steps process. In your answer, you are required to discuss and apply relevant cases, sections of Acts of Parliament and/or terms of a treaty. The question has three parts.
The Happy Wanderer is a ship registered in the United States which is regularly maintained by its owners. The vessel was loaded at Fremantle, Western Australia, with a cargo of flour, bound for South Africa. During the voyage the ship collided with a whale which was migrating north to breed. When the ship docked in Cape Town it was found that the flour had been damaged due to seawater leaking into the hold. An inspection of the hull showed that the collision with the whale had caused a crack that lead to the water seepage.
Discuss the carrier's obligations under the Hague-Visby Rules.
In: Accounting
You are a CFO for a large manufacturing company. You are also a CMA and IMA member. You own and manage two apartment buildings in the town where the company you work for is located. You have a vacant apartment for rent. A single mother with two small children has applied to live in the apartment. You decide not to rent to her stating that you do not want small children in the apartment. However, there are a number of families living in the adjacent apartment building. You spend evenings and weekends working on these apartments and occasionally must take time off during weekdays to meet contractors, etc. You do not believe that the apartment rental business interferes with your duties as a CFO. Have you violate any professional ethical standards?
In: Accounting
After a train transporting oil has derailed causing
environmental destruction along its route
through a scenic natural area, a large oil company seeks to improve
community relations and
restore investor confidence. You have been hired to create a plan
of action to restore
stakeholders’ trust and demonstrate corporate responsibility.
Please do the following:
✓ Describe your plan of action which you would present during a
town hall meeting with
members of the impacted community.
✓ Apply relevant course concepts and theories to justify your plan
of action.
✓ Identify how your plan of action will be perceived from the
perspective of different
stakeholders.
✓ Critically reflect on the implications of your plan of action for
the future of the oil
company.
In: Economics
Chapter 6 #5- a, b, c, d
Do towns in Massachusetts with higher elevations tend to get more snowfall? To answer this question, a random sample of five towns in Massachusetts, their average yearly snowfall (in inches), and elevation (in feet) were recorded in Table 6.9.
|
Town |
Average Snowfall (Inches) |
Elevation (Feet) |
|
Boston |
43.8 |
141 |
|
Amherst |
37.0 |
295 |
|
Springfield |
40.5 |
70 |
|
Pittsfield |
62.1 |
1,039 |
|
Lowell |
61.6 |
102 |
a) Draw a scatterplot and find the equation for the line of best fit.
b) Find the residual for Springfield.
c) Interpret whether or not you believe there is a significant relationship between the average snowfall and elevation in Massachusetts.
d) Find and interpret a 95% confidence interval for the true population slope parameter.
In: Statistics and Probability
the Elements of Style, read the following excerpts -- both from the same author, George Orwell, and explain the different stylistic forms he uses in each.
Excerpt from 1984
Power is not a means; it is an end. One does not establish a dictatorship in order to safeguard a revolution; one makes the revolution in order to establish the dictatorship. The object of persecution is persecution. The object of torture is torture. The object of power is power.
Excerpt from "Shooting an Elephant"
In Moulmein, in lower Burma, I was hated by large numbers of people – the only time in my life that I have been important enough for this to happen to me. I was sub-divisional police officer of the town, and in an aimless, petty kind of way anti-European feeling was very bitter.
In: Psychology