# Tutor profile: Jayeeta C.

## Questions

### Subject: Java Programming

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

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 } }

### Subject: Algebra

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

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

### Subject: Physics

Why do Boomerangs Come Back?

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.

## Contact tutor

needs and Jayeeta will reply soon.