What is the difference between an elastic and an inelastic collision?
In both collisions momentum is conserved, but in an elastic collision kinetic energy is conserved as well. Elastic collisions are somewhat rare in the real world as collisions tend to cause a build up of some form of energy in the objects colliding (i.e. heat energy, or potential energy). In inelastic collisions, kinetic energy is not conserved as is all but stated above.
Why is java one of the leading coding languages used by many companies and development teams?
There are many answers to this question, but one of the largest reasons is because of its versatility. Java is designed in such a way that it can easily be deployed to a variety of systems and computers without many changes needing to be made on the developer end in order to port to the new OS. This is because the Java virtual machine translates the code for the system the code is being run on and handles most of the differences.
How do you find the derivative of an equation raised to a power? i.e. (x^2 + 4x + 4)^2
You use the chain rule. The chain rule works essentially like the exponential rule, you just have to pretend that the entire equation is a variable. The exponential rule says to multiply the variable by its power and then reduce the power by one i.e. x^4 becomes 4x^3. This is not the entire exponential rule. The part left out is to multiply by the derivative of the variable. It is left out because the derivative of the variable is always one and 4x^3 * 1 = 4x^3. When doing the chain rule, we will pretend the entire internal equation is a variable. Lets call (x^2 + 4x + 4), A. That makes the entire equation A^2. The derivative becomes 2A*(The derivative of A), which by replacing A with the original equation and using the exponent rule gives us. 2(x^2 + 4x + 4)*(2x + 4) which can then be reduced using distribution to get 4x^3 + 24x^2 + 48x +32.