Determine the positive real root of ln(x^2)=0.8 by the following methods. (Note that you need to show the details of your derivations in MATLAB).
a) Graphically ( plot the function and copy your figure to word).
b) Using two iterations of the bisection method with initial guesses of xl=0.4 and xu=2 and populate the following table. What is the root after two iterations? Provide justification for the values you have obtained in your MATLAB code as comments.
i xl xu xr
1 0.4 2
2
c) Using two iterations of the false position method, with the same initial guesses as in b) and populate the table below. What is the root after two iterations? Provide justification for the values you have obtained in your MATLAB code as comments.
i xl xu xr
1 0.4 2
2
d) Compute the actual root of the function (use a built in MATLAB function) and identify which method (bisection or false position) achieves a better estimate of the root after two iterations. Prove your answer by calculating the True Percentage Error ( Assume that your answer in part d, obtained using the MATLAB Built in Function is the true value ). ALL Calculations must be performed in MATLAB.
In: Advanced Math
This question demonstrates the use of inheritance and
polymorphism.
Design a Ship class that has the following members:
• A field for the name of the ship (a string).
• A field for the year that the ship was built (a string).
• A constructor and appropriate accessors and mutators.
• A toString method that overrides the toString method in the
Object class. The Ship class
toString method should display the ship’s name and the year it was
built.
Design a CruiseShip class that extends the Ship class. The
CruiseShip class should have the following members:
• A field for the maximum number of passengers (an int).
• A constructor and appropriate accessors and mutators.
• A toString method that overrides the toString method in the base
class. The CruiseShip class’s
toString method should display only the ship’s name and the maximum
number of passengers.
Design a CargoShip class that extends the Ship class. The CargoShip
class should have the following members:
• A field for the cargo capacity in tonnage (an int).
• A constructor and appropriate accessors and mutators.
• A toString method that overrides the toString method in the base
class. The CargoShip class’s
toString method should display only the ship’s name and the ship’s
cargo capacity.
Demonstrate the classes in a program that has a Ship array. Assign
various Ship, CruiseShip, and CargoShip objects to the array
elements. The program should then step through the array and print
each object.
PLEASE DO THE QUESTION IN A SIMPLER WAY
In: Computer Science
finish the java programming
Create a new class named MyCharacterListTools that provides the API shown below.
This class does not need a constructor nor will any user-defined constructor be called by the
provided code in MainClassQ1.java.
◦ MyLinkedList createCharacterList(String str) – This method is to
return a MyLinkedList whose data items are the characters of str. All of the
characters must appear in the list and in the same order as they are given in str.
◦ void removeNonLetters(MyLinkedList list) – This method is to remove
from the list any spaces, numbers and punctuation characters (this is to be done inplace).
Letters of the alphabet are to be left in the list in the same order they were given.
For example, if the list contained {H_e_l_l_o_ _W_o_r_l_d_!} then after calling this
function, the list would hold {H_e_l_l_o_W_o_r_l_d}. You may use the built-in Java
static method Character.isLetter(char ch) to test whether the list items are
letters.
◦ boolean testEquality(MyLinkedList l1, MyLinkedList l2) – This
method is to compare two MyLinkedLists for equality. Two lists are considered
equal if their contents are the same and in the same order. Letter case should not be
observed (i.e. 'A' is equal to 'a', 'B' is equal to 'b', etc...). If the two lists are equal then
return true. Return false otherwise. The static built-in Java methods
Character.toLowerCase(char ch) and Character.toUpperCase(char
ch) may be used in this method.
In: Computer Science
Dear Colleague, Earlier today I built my seventh website using
HTML5, CSS3, and Bootstrap4. Bootstrap seems amazing, but it never
did what it should do – make my website look better. Also, my page
should have a blue theme that was provided in the CSS folder. This
also didn’t work. My website is supposed to look like what is shown
in Figure 1 (see below). Someone told me that there are exactly 10
errors on index.html, 10 errors on contact.html, and 10 errors on
events.html. Yes, 30 errors total! Can you help me find all of the
errors? Hint: You should not add ANY LINES to the code. There will
never be more than one error per line number.
contact.html ( HELP FIND the 10 ERRORS IN THIS CODE )
<!doctype html>
<html>
<body>
<title>Try Boro Kids Race Series</title>
<!-- Font Awesome -->
<rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.6.3/css/all.css">
<!-- Bootstrap CSS -->
<href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css"
rel="stylesheet">
<!-- JQuery -->
<type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Bootstrap core JavaScript -->
<type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.min.js"></script>
</head>
<head>
<div class="container-fluid">
<nav class="navbar navbar-expand-lg navbar-dark
bg-primary">
<a class="navbar-brand" href="#">
<img src="images/HeaderBoroRunningMan2.gif" width="auto"
height="30" alt="Running Man Logo">
</a>
<button class="navbar-toggler" type="button"
data-toggle="collapse" data-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle
navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="events.html">Events <span
class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link"
href="contact.html">Contact</a>
</li>
</ul>
<ul class="navbar-nav ml-auto">
<li class="nav-item"><a class="nav-link"
href="http://www.tryborokidstri.org/" target="_blank">Try
Boro</a></li>
<li class="nav-item"><a class="nav-link"
href="https://www.facebook. com/TryBoroKids/"
target="_blank"><img src="images/IconFacebook.png"
class="iconsocial" alt="Facebook" width="auto"
height="30"></a></li>
</ul>
</div>
</nav>
<div class="row p-5">
<div class="row">
<h2>Want to register?</h2>
<h3>Try Boro Kids 2.5K/5K Run</h3>
<p>May 13, 2020</p>
<p><a href="http://www.tryborokidstri.org"
target="_blank">Click here more
information</a></p>
<p> <a href="docs/2016TryBoroRunRegistrationForm.pdf"
target="_blank">Download a registration
form</a></p>
<h3>Try Boro Kids Trail Run</h3>
<p>October 17, 2020</p>
<p><a href="http://www.tryborokidstri.org"
target="_blank">Click here more
information</a></p>
<p> <a
href="mailto:[email protected]">Interested? Click here to
email us</a></p>
<!-- Modal Button -->
<button type="button" class="btn btn-info" data-toggle="modal"
data-target="#myModal">Register Today</button>
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="ModalLabel">Try Boro
Registration</h5>
<button type="button" class="close" data-dismiss="modal"
aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<img src="images/Modal_TryBoroLogo.gif" class="img-fluid"
alt="Placeholder image">
<p>Great job! Through the magic of make-believe, you are now
registered.</p>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<img src="images/Swap1_kidstri_CuteLook.jpg" alt="Kid athlete
with a cute look." class="img-fluid" id="cute">
</div>
</div> <!--end of row-->
<footer class="footer bg-primary text-center
text-black">Copyright Try Boro</footer>
</div>
</body>
</html>
In: Computer Science
Dear Colleague, Earlier today I built my seventh website using HTML5, CSS3, and Bootstrap4. Bootstrap seems amazing, but it never did what it should do – make my website look better. Also, my page should have a blue theme that was provided in the CSS folder. This also didn’t work. My website is supposed to look like what is shown in Figure 1 (see below). Someone told me that there are exactly 10 errors on index.html, 10 errors on contact.html, and 10 errors on events.html. Yes, 30 errors total! Can you help me find all of the errors? Hint: You should not add ANY LINES to the code. There will never be more than one error per line number.
events.html ( HELP FIND the 10 ERRORS IN THIS CODE )
<!doctype html>
<html>
<head>
<title>Try Boro Kids Race Series</title>
<!-- Font Awesome -->
<link rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.6.3/css/all.css">
<!-- Bootstrap CSS -->
<link
href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css"
rel="stylesheet">
<!-- JQuery -->
<script type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Bootstrap core JavaScript -->
<script type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container-fluid">
<nav class="navbar navbar-expand-lg navbar-dark
bg-danger">
<a class="navbar-brand" href="#">
<img src="" width="auto" height="30" alt="Running Man
Logo">
</a>
<button class="navbar-toggler" type="button"
data-toggle="collapse" data-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle
navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="events.html">Placeholder Text
<span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="contact.html">Placeholder
Text</a>
</li>
</ul>
<ul class="navbar-nav ml-auto">
<li class="nav-item"><a class="nav-link"
href="http://www.tryborokidstri.org/" target="_blank">Try
Boro</a></li>
<li class="nav-item"><a class="nav-link"
href="https://www.facebook. com/TryBoroKids/"
target="_blank"><img src="images/IconFacebook.png"
class="iconsocial" alt="Facebook" width="auto"
height="30"></a></li>
</ul>
</div>
</nav>
<div class="row">
<div class="col-1"><h2>Try Boro Events</h2>
</div>
</div>
<div class="rows">
<div class="col-md-6">
<img src="images/Tri_Left_KidBikeBlur.jpg" class="img-fluid
rounded-circle" alt="Placeholder image">
<h3>Biking is a blur </h3>
<p>Triathlete rushing to get started in the transition. Kids
get the whole experience of swimming, biking, and
running.</p>
</div>
<div class="col-md-6">
<img src="images/Tri_Mid_TransDrink.jpg" class="img-fluid
rounded-circle" alt="Placeholder image">
<h3>A triathlon can be exhausting</h3>
<p>When returning to transition, this participant gets some
much deserved water before hitting the run.</p>
</div>
<div class="col-md-6">
<img src="images/Tri_Right_trans.jpg" class="img-fluid
rounded-circle" alt="Placeholder image">
<h3>Time to get changed </h3>
<p>It not easy to get out of the pool, run down to
transition, and get ready for the bike - all while soaking
wet!</p>
</div>
</div>
<!-- #BeginLibraryItem "/Library/footer.lbi" -->
<footer class="footer bg-primary text-center
text-white"></footer>
</div>
</body>
</html>
In: Computer Science
Fruit flies, like almost all other living organisms, have built-in circadian rhythms that keep time even in the absence of external stimuli. Several genes have been shown to be involved in internal timekeeping, including per (period) and tim (timeless). Mutations in these two genes, and in other genes, disrupt timekeeping abilities. Interestingly, these genes have also been shown to be involved in other time-related behavior, such as the frequency of wingbeats in male courtship behaviors. Individuals that carry particular mutations of per and tim have been shown to copulate for longer than individuals that have neither mutation. But do these two mutations affect copulation time in similar ways? The following table summarizes some data on the duration of copulation for flies that carry either the tim mutation or the per mutation (Beaver and Giebultowicz 2004):
| Mutation | Mean copulation duration (min) | Standard deviation of copulation duration | Sample size, n |
| per | 17.5 | 3.37 | 14 |
| tim | 19.9 | 2.47 | 17 |
b) Do the populations carrying these mutations have different variances in copulation duration? Enter the calculated F-value.
c) Do the populations carrying these mutations have different variances in copulation duration? Finish this hypothesis test and describe your conclusion.
In: Statistics and Probability
A newly built old age home has 50 townhouses. Residents may only plant clivias, rose bushes and lavenders in their gardens. Of the 50 gardens 20 grow clivias, 22 grow roses, and 24 grow lavenders. (Residents do not necessarily plant only one of the kinds of plants.) Furthermore, some gardens grow the following: 6 grow clivias and rose bushes 8 grow clivias and lavenders, (Residents do not necessarily plant only two of the kinds of plants.) 4 grow clivias, rose bushes and lavenders. How many gardens have rose bushes and lavenders, but no clivias?
In: Computer Science
1) A burial mound built by the Etruscans a) dromos b)tumulus c)sarcophagus d)tholos
2)The 5th c. BC Athenian statesman who commissioned the Parthenon was a)Praxiteles b)Augustus c) Pericles d)Diocletian
3)Multistoried Roman apartments are a)insulae b)citadels c)villas d)forums
4)A public square in a Roman city is a)acropolis b)agora c)forum d)basilica
5) A rectangular Roman building used for public gatherings/governmental function is a)temple b)tumulus c)basilica d)forum
6)An arch extended is a a)cyclopean wall b)barrel vault c)corbelled arch d)groin vault
7)A volcanic eruption in 79 preserved the city of a)Rome b)Ostia c)Pompeii d)Syracuse
8) The Pont du Gard serves as a)bridge b)aqueduct c)both a and b
9)The two main orders of Greek temple design are a)Pompeii and Herculaneum b)Doric and Ionic c)Doric and Corinthian d)Ionic and Corinthian
10) What significant early Christian church located in Rome was commissioned by Constantine a)Hagia Sophia b)Santa Constanza c)Old St. Peter’s d)St. Peter’s and St. Paul’s
11) Etruscans placed temple decoration on the a)roof b) pediments c) frieze d)they did not decorate temples
12) The underground burial sites of the early Christians are called a)insulae b)cemeteries c)catacombs d)tumulus
13)What former Roman city (in Syria) contained both a synagogue and a Christian community house a)Dura-Europos b)Ravenna c)Constantinople d)Rome
14)Romans invented a)concrete b)tufa c)terracotta d)asphalt
15)The sculptor of the Man Scraping Himself/ The Scraper (Apoxymenos) was a)Praxiteles b) Pericles c)Polykleitos d)Lysippos
16)The semicircular recess at one end of a Christian church, usually indicating the location of the altar is a)basilica b)apse c)nave d)baldacchino
17)Thought to be first Christian Roman emperor a)Diocletian b)Constantine c)Trajan d)Augustus
18)The Etruscans lived in a)Greece b)Italy c)Turkey d)France
19) Roman copies of Greek sculptures are a)bronze b)marble c)terracotta d)sandstone
20) Macedonian leader who expanded the borders of the Greek world a)Pericles b)Alexander the Great c)Augustus e)Julius Caesar
21) A stone coffin a)tumulus b)tufa c)sarcophagus d)insula
22) Roman architect/engineer who described a typical Etruscan temple a)Augustus b)Vitruvius c)Palladio d)Virgil
23) Roman emperor who returned to Rome with treasures from Jerusalem a)Vespasian b)Hadrian c)Titus d)Diocletian
24) The last period of Greek art and architecture is known as a)Archaic b)Classical c)Hellenistic d)Geometric
25)Greeks would put sculpture on the a)pediments b)metopes c)frieze d)all of the above
26)The Greeks exaggerated features in their art (muscles and anatomy) A) True B) False
27)The top of a column is a a)styobate b)pediment c)capital d)metope
28) In early Christian Art, a figure with both hands raised a)worshipper b)plebe c)orant
d)believer
29) The Etruscans came/lived before the Romans A) True B) False
30) Early images of Jesus in art show him as a shepherd A) True B) False
In: Psychology
Information: Thomas Perdue had built up a successful development company. When he became city commissioner, everyone said it was good to have a businessperson on the commission. They said businesspeople know how to control costs and make sound economic decisions, and Thomas could help the city tighten its belt. One of his first projects was an analysis of the human resources department. He claimed that if the whole function was outsourced, it would save the taxpayers money. A year later, after painful layoffs and a bumpy transition, the new contractor, NewSoft, was in place. Two years later, NewSoft’s billing rates had steadily increased, and there were complaints about service. After five years, the supposed savings had vanished, and Thomas had moved on to state government, his campaigns fueled by “generous” campaign contributions from companies like NewSoft. Requirement: After reading all differential analysis resources and viewing the videos, answer the following question 2 questions in your own words, using complete sentence structure and grammar. Please use citations if applicable. The attached rubric displays grading criteria. For this specific assignment, feedback will be given 24 hours after the due date. There is one attempt on this assignment. This assignment should be submitted based on individual knowledge and is not group based. Questions 1.Although this case differs from “fraud” in the usual sense, describe the conflict of interest in this case. Who benefitted, and who did not?. 2.When making business decisions of this sort, some factors are quantitative, and some are qualitative factors. Discuss some of the qualitative factors related to this case.
In: Accounting
Tough-Built Corporation produces specialized truck body
components, specializing in hydraulic lifts for dump trucks.
Founded 35 years ago by George Halloway, the firm now employs 150
workers and has annual sales of over $10 million. George operates
the firm in a highly centralized way, and retains control over all
changes in operations. He is a regular visitor to the production
area, which helps him "keep his finger on the pulse of the
firm."
Although George Halloway is now 67 years old, he has no apparent
management successor, and has always hand-picked his department
heads and staff personnel. He has been generous to those who worked
for him, paying substantial bonuses each year to the employees
based on his personal evaluation of each worker. Just six weeks
ago, a heart attack convinced George to consider retirement, and he
decided to sell the firm to his employees. You are assigned the
task of recommending a set of strategic performance measures for
the firm, assuming that the new worker management wants to operate
as a decentralized firm.
Required:
What major management problems do you foresee in the transition
from sole owner to employee ownership?
In: Accounting