TutorMe homepage
Subjects
PRICING
COURSES
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.

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.

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.

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