Python Program:
Description
Create an object-oriented program that uses inheritance to perform
calculations on a rectangle or a square.
Specifications
Sample Output (Your output should be similar or can be the same to the text in the following box)
|
Rectangle
Calculator Continue? (y/n): y Rectangle or square?
(r/s): s Continue? (y/n): n Thank you for using my app. |
In: Computer Science
A charge of -3.40 nC is placed at the origin of an xy-coordinate system, and a charge of 1.60 nC is placed on the y axis at y = 4.50 cm .
a-If a third charge, of 5.00 nC , is now placed at the point x = 3.15 cm , y = 4.50 cm find the x and y components of the total force exerted on this charge by the other two charges. ?
b-Find the magnitude of this force.
c-Find the direction of this force.
In: Physics
For the last 7 years, Joseph has made deposits of $150.00 at the end of every year earning interest at 6 % compounded annually. If he leaves the accumulated balance for another 8 years at 5 % compounded semi dash annually comma what will the balance be in the account?
The balance will be $________.
In: Finance
You have been talking to a student from the engineering program at UBC who has also taken up temporary residence at the North Pole in between active semesters of her studies. Because of her engineering background, the elves have given her the nickname “Casey Jones”. Casey scoffs at the α = .05 significance level that psychologists use in their hypothesis testing procedure. She tells you “That means you will, in the long run, make an error one time in twenty. If engineers had an error rate like that think of all the buildings and bridges and such that would be falling down! Why don’t you psychologists be more like engineers and set your error rate to something like one in a million instead of one in twenty?” Explain to Casey Jones why, in the context in which psychologists use it, an alpha level of one in twenty makes more sense than an alpha level of one in a million.
In: Math
Explain Diminishing Marginal Returns. How does that relate to Capital (K)? How does this explain why smaller countries grow faster than bigger countries.
a. Draw a graph showing the relationship between GDP and Capital (K).
In: Economics
Filer Manufacturing has 7 million shares of common stock outstanding. The current share price is $73, and the book value per share is $8. Filer Manufacturing also has two bond issues outstanding. The first bond issue has a face value of $75 million, has a 8 percent coupon, and sells for 98 percent of par. The second issue has a face value of $55 million, has a 9 percent coupon, and sells for 107 percent of par. The first issue matures in 23 years, the second in 7 years.
The most recent dividend was $4.5 and the dividend growth rate is 8 percent. Assume that the overall cost of debt is the weighted average of that implied by the two outstanding debt issues. Both bonds make semiannual payments. The tax rate is 30 percent.
Required: What is the company's WACC? (Do not round your intermediate calculations.)
A 12.79%
B 8.19%
C 7.69%
D 15.88%
E 7.94%
Please show work
In: Finance
In Python, Define an object-oriented class to represent a Sensorless Wheeled Robot, including:
(a) class data variables to store the robot’s x and y position.
(b) A class function or functions to move the robot by one distance unit in either positive or negative x, or positive or negative y dimensions. Include printed, informative output of each move and the resulting robot position
(c) A class function to navigate to the destination location by calling the class move functions (described above) • The destination object is passed in as a parameter to this function. • The obstacle position is also passed as a parameter to the function. • Reaching the destination does not require that the robot is rotated to ’face’ the destination in this model
In: Computer Science
In: Computer Science
Who is Baulmol and what is his theory?
Please explain in a simple and understandable manner.
In: Economics
In: Accounting
particles undergoing diffusion move a few millimeters per hour. In reality, particles are traveling around 500 m/s. The slow overall movement is because they collide with other particles very frequently. (density of water =1000 kg/m^3, Avogadro's # = 6.022x10^23 particles/mole, mass of the earth =5.97 x10^24 kg) using Xrms = sqrt(2Dt)
a. Estimate how far a water molecule travels before colliding with another water molecule.
b. How much time is in between each collision?
c. How many collisions occur for a molecule that diffuses 1 mm in 1 hour? d. Use your estimates from a, b, and c to figure out how many times a water molecule moves away from its starting point and how many times it moves towards it to end up 1 mm away after 1 hour.
In: Chemistry
The time of flight of a ball thrown horizontally change if the initial velocity change? If it does why?
In: Physics
How would you expect India’s export orientation policy of recent decades to have affected the economic welfare of (i) China, (ii) the US
In: Economics
Exercise 6-12 The Flint Inc., a manufacturer of low-sugar, low-sodium, low-cholesterol TV dinners, would like to increase its market share in the Sunbelt. In order to do so, Flint has decided to locate a new factory in the Panama City area. Flint will either buy or lease a site depending upon which is more advantageous. The site location committee has narrowed down the available sites to the following three very similar buildings that will meet their needs.
Building A: Purchase for a cash price of $618,900, useful life 27 years.
Building B: Lease for 27 years with annual lease payments of $71,820 being made at the beginning of the year.
Building C: Purchase for $652,700 cash. This building is larger than needed; however, the excess space can be sublet for 27 years at a net annual rental of $6,430. Rental payments will be received at the end of each year. The Flint Inc. has no aversion to being a landlord.
In which building would you recommend that The Flint Inc. locate, assuming a 12% cost of funds? (Round factor values to 5 decimal places, e.g. 1.25124 and final answer to 0 decimal places, e.g. 458,581.)
Net Present Value
Building A: $
Building B: $
Building C: $
The Flint Inc. should locate itself in:
In: Accounting
Why is it important to prepare a financial budget?
Explain what is meant by the term "time value of money". For example, why might it be better to receive $8 today, over receiving a promise of $9 seven years from now?
How should one consider the time value of money when planning for retirement? Please share examples within your response.
In: Operations Management