Enable contrast version

# Tutor profile: Harsh B.

Inactive
Harsh B.
Physics and Math Enthusiast
Tutor Satisfaction Guarantee

## Questions

### Subject:Calculus

TutorMe
Question:

How to differentiate $$\frac{sin(x)}{x}$$?

Inactive
Harsh B.

We need to use the quotient rule here $$(\frac{f}{g})\prime = \frac{f\prime g - g\prime f}{g^2}$$ Using that we get the derivative as $$\dfrac{\cos\left(x\right)}{x}-\dfrac{\sin\left(x\right)}{x^2}$$

### Subject:C++ Programming

TutorMe
Question:

How can I sort an array?

Inactive
Harsh B.

There are various approaches to sorting data like bubble sort, merge sort etc. Bubble sort being the simplest. In this method we just check if two adjacent elements are sorted. If they are not we sort them. We continue this for all pairs of adjacent elements until the whole array is not sorted.

### Subject:Physics

TutorMe
Question:

Why do things weigh less on the moon?

Inactive
Harsh B.

First of all one need to make a clear line between mass and weight. Mass is the amount of "stuff" that an object has. Mass doesn't change wherever you go. If you have 3 potatoes in a bag it doesn't matter if the bag is on the moon or on earth the amount of potato content in the bag doesn't change. Weight on the other hand is how strongly is an object being pulled gravitationally. Since heavier object have a stronger gravitational pull and moon being lighter than earth has a weaker pull and therefore things weigh less on the moon, even though they posses the same mass.

## Contact tutor

Send a message explaining your
needs and Harsh will reply soon.
Contact Harsh