Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Jayeeta C.
Electronics and Telecommunication Engineer at Jadavpur University,Kolkata
Tutor Satisfaction Guarantee
Java Programming
TutorMe
Question:

Write a java program to check prime number. Input: 44 Output: not prime number Input: 7 Output: prime number

Jayeeta C.
Answer:

public class PrimeExample{ public static void main(String args[]){ int i,m=0,flag=0; int n=3;//it is the number to be checked m=n/2; if(n==0||n==1){ System.out.println(n+" is not prime number"); }else{ for(i=2;i<=m;i++){ if(n%i==0){ System.out.println(n+" is not prime number"); flag=1; break; } } if(flag==0) { System.out.println(n+" is prime number"); } }//end of else } }

Algebra
TutorMe
Question:

If x <2, simplify : |x - 2| - 4|-6|

Jayeeta C.
Answer:

Given the expression |x - 2| - 4|-6| If x < ;2 then x - 2 < 2 and if x - 2 < 2 the |x - 2| = -(x - 2). Substitute |x - 2| by -(x - 2) and |-6| by 6 . |x - 2| - 4|-6| = -(x - 2) -4(6) = -x -22

Physics
TutorMe
Question:

Why do Boomerangs Come Back?

Jayeeta C.
Answer:

Boomerangs work on the same principles of aerodynamics as any other flying object; the key to how a boomerang works is the airfoil. An airfoil is flat on one side but curved on the other with one edge thicker than the other - this subjects the boomerang to lift, keeping it in the air. The lift is generated because the air flowing up over the curve of the wing has further to travel than the air flowing past the flat side. The air moving over the curve travels faster in order to reach the other side of the wing, creating lift. A boomerang has two airfoils, each facing in a different direction. This makes the aerodynamic forces acting on a thrown boomerang uneven. The section of the boomerang moving in the same direction as the direction of forwarding motion moves faster than the section moving in the opposite direction. Just like tank tracks moving at different speeds, this causes the boomerang to turn in the air and return to the thrower.

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