TutorMe homepage

SIGN IN

Start Free Trial

Jonah B.

Experienced Tutor

Tutor Satisfaction Guarantee

Java Programming

TutorMe

Question:

Write a function that solves the recursive equation a(n) = a(n-1) + a(n-2)%4, given a(0) = 1 and a(1) = 1. The function should take in one parameter and return an integer. Test the function with these inputs: 0, 1, 4, 10.

Jonah B.

Answer:

int myFunction (int n) { if (n == 0 || n == 1) return 1; return myFunction(n-1) + myFunction(n-2)%4; } myFunction(0): 1; myFunction(1): 1; myFunction(4): 5 myFunction(10): 13

Music

TutorMe

Question:

Write the interval between the following 3 pairs of notes (assume that the first note is lower and intervals are less than 1 octave): C - F, G# - D, Bb - Ab

Jonah B.

Answer:

4, dim 5, and dominant (minor) 7

Calculus

TutorMe

Question:

Consider the region in the plane enclosed by the equations y = (x - 1)(x - 1) and y = x(1-2x) + 1. Given the intersection points, (0, 1) and (1, 0), calculate the area of the enclosed region.

Jonah B.

Answer:

1/2 square units

Send a message explaining your

needs and Jonah will reply soon.

needs and Jonah will reply soon.

Contact Jonah

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.

Made in California

© 2018 TutorMe.com, Inc.