Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Tristan U.
Tutor for 3 years and counting
Tutor Satisfaction Guarantee
Driver's Safety
TutorMe
Question:

When is it okay to pass a car that is going slow and is in front of you?

Tristan U.
Answer:

When it is a broken yellow line in the center, and you have at least 5 seconds to allow for ample time to make sure a car is not coming into the oncoming lane.

C++ Programming
TutorMe
Question:

Write a basic input/output program in C++.

Tristan U.
Answer:

#include <iostream> using namespace std; int main () { int i; cout << "Please enter an integer value: "; cin >> i; cout << "The value you entered is " << i; cout << " and its double is " << i*2 << ".\n"; return 0; }

Arduino Programming
TutorMe
Question:

Write a basic arduino program to test a ping sensor.

Tristan U.
Answer:

const int pingPin = 7; void setup() { Serial.begin(9600); } void loop() { pinMode(pingPin, OUTPUT); digitalWrite(pingPin, LOW); delayMicroseconds(2); digitalWrite(pingPin, HIGH); delayMicroseconds(5); digitalWrite(pingPin, LOW); pinMode(pingPin, INPUT); duration = pulseIn(pingPin, HIGH); inches = microsecondsToInches(duration); cm = microsecondsToCentimeters(duration); Serial.print(inches); Serial.print("in, "); Serial.print(cm); Serial.print("cm"); Serial.println(); delay(100); } long microsecondsToInches(long microseconds) { return microseconds / 74 / 2; } long microsecondsToCentimeters(long microseconds) { return microseconds / 29 / 2; }

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