TutorMe homepage
Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Ross E.
Third-year computer science student, math tutor for 1 year
Tutor Satisfaction Guarantee
Java Programming
TutorMe
Question:

What is the purpose of implementing the Comparable interface in Java?

Ross E.
Answer:

The purpose is to be able to compare Objects of the same type to one another which don't have the typical ordering scheme as for example integers (1 < 2 < 3, etc).

Calculus
TutorMe
Question:

Given: $(f(x)=14x^2+8x$) Find the first and second derivatives of f(x)

Ross E.
Answer:

To find both the first and second derivatives, we must use the power rule: $(\frac{d}{dx}[x^n]=nx^{n-1}$) Thus: $(f'(x)=28x+8$) $(f''(x)=28$)

Algebra
TutorMe
Question:

Find the x-intercepts of the function: $(f(x)=-3x^2+4x+5$)

Ross E.
Answer:

Finding the x-intercepts means we are finding where: $(f(x)=0$) Setting the given function equal to zero gives us: $(0=-3x^2+4x+5$) Now that we have just one variable, we can solve for x using the quadratic formula: $(\begin{array}{*{20}c} {x = \frac{{ - b \pm \sqrt {b^2 - 4ac} }}{{2a}}} & {{\rm{when}}} & {ax^2 + bx + c = 0} \\ \end{array}$) From the given function we can determine the following: $(\begin{array}{*{20}c} {x = \frac{{ - 4 \pm \sqrt {4^2 - 4(-3)(5)} }}{{2(-3)}}} \\ \end{array}$) $(\begin{array}{*{20}c} {x = \frac{{ - 4 \pm \sqrt {76} }}{{-6}}} \\ \end{array}$) Now it's just arithmetic to determine the two x-intercepts:$(x_1\approx-0.79$) $(x_2\approx2.12$)

Send a message explaining your
needs and Ross will reply soon.
Contact Ross
Ready now? Request a lesson.
Start Session
FAQs
What is a lesson?
A lesson is virtual lesson space on our platform where you and a tutor can communicate. You'll have the option to communicate using video/audio as well as text chat. You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.
How do I begin a lesson?
If the tutor is currently online, you can click the "Start Session" button above. If they are offline, you can always send them a message to schedule a lesson.
Who are TutorMe tutors?
Many of our tutors are current college students or recent graduates of top-tier universities like MIT, Harvard and USC. TutorMe has thousands of top-quality tutors available to work with you.