Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Pritom M.
Tutor for three years
Tutor Satisfaction Guarantee
Java Programming
TutorMe
Question:

Write a java program to check whether a given number is even or odd

Pritom M.
Answer:

import java.io.*; import java.util.*; class Test{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); System.out.println("Enter a number : "); int x=sc.nextInt(); if(x%2==0){ System.out.println(x+" is an even number"); } else { System.out.println(x+" is an odd number"); } } }

Calculus
TutorMe
Question:

The two functions f and g defined by f(x) = 3x + 3 for x real and g(t) = 3t + 3 for t real and positive are equal?

Pritom M.
Answer:

False. Two functions are equal if their rules are equal and their domains are the same.

Algebra
TutorMe
Question:

Find the value of x from the given equation 5(-3x - 2) + (x + 3) = -4(4x + 5) + 13

Pritom M.
Answer:

First, we need to simplify the left and right-hand side of the equal sign, so that no bracket remains. => -15x-10+x+3 = -16x-20+13 [ here normal multiplication was done] Second, we need to put all the "x" terms on the left-hand side and all the remaining terms which do not contain "x" on the right-hand side. =>-15x+x+16x=-20+13+10-3 [we need to remember that on changing sides,the sign changes, here the sign of -16x changed to +16x, it doesn't matter on which side you are shifting, the sign will always change, negative will become positive and positive will become negative] Then we simplify the expression, =>-15x+17x=-20+23-3 {we are first adding] =>2x=-23+23 =>2x=0 =>x=0

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