TutorMe homepage
Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Matthew A.
Data Scientist/Developer
Tutor Satisfaction Guarantee
Python Programming
TutorMe
Question:

Write a function double100 that takes in a list of integers and returns True only if the list has two 100s next to each other.

Matthew A.
Answer:

def double100(nums): a=[] for i in np.arange(len(nums)): if nums[i]==100 and i==0: a+=[nums[i]==nums[i+1]] elif nums[i]==100 and i==len(nums)-1: a+=[nums[i]==nums[i-1]] elif nums[i]==100 and i!=1 and i!=len(nums)-1: a+=[nums[i]==nums[i+1] or nums[i]==nums[i-1]] b=[str(x) for x in list(set(a))] return('True' in b)

Physics (Newtonian Mechanics)
TutorMe
Question:

What makes a car accelerate, and what force do you feel when it does?

Matthew A.
Answer:

Of course the gas pedal/ breaks, but more uniquely, the steering wheel. Acceleration is a change in velocity, which is a vector. A change in direction still constitutes a change in velocity. When objects move, interita being present wants us to keep traveling in that direction, but the force of friction from the chair or the normal force from the side of the car that your body pushes against you.

Calculus
TutorMe
Question:

What can the integral tell us?

Matthew A.
Answer:

I've been asked many a time what is an integral. For the common man, I simply say it is the area under a curve or a infinite sum. To the students in introductory courses I explain it as not only an antiderivative or a way to calculate volume/area of complex shapes, but also as a window into seeing information in higher dimensions. For instance, when combine with vector calculus we can begin to look at questions in higher dimensions, but also reduce complex problems through integral relations: Green's Theorem or Stoke's Theorem.

Send a message explaining your
needs and Matthew will reply soon.
Contact Matthew
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.