<< Chapter < Page Chapter >> Page >

Having done that, you can rotate the axis by the same amount in the opposite direction at the end to cause the final solution to apply to the original axes.I will present an example of this in the next section.

Example scenarios

Several examples

I will use the information in Figure 1 to analyze several scenarios involving collisions in both one dimension and two dimensions in this section.

The use of JavaScript

All of these examples could be solved using the Google calculator. However, several steps are involved and I find it easier to keep things organized andperform the steps in the correct order by using JavaScript to compute and display the solution.

Note, however, that JavaScript will only do the arithmetic for you. You must still do the algebra/trigonometry yourself. In these examples, I willusually work through the algebra in comment sections and switch to actual code when it is time to compute and display one or more values.

One-dimensional scenarios

The first one-dimensional scenario involves an automobile accident.

The rear end car crash

The description as well as the solution to the problem are shown in Listing 1 .

Listing 1 . The rear end car crash.
<!---------------- File JavaScript01.html ---------------------><html><body><script language="JavaScript1.3">/* This script simulates car #2 rear-ending car #1 in aone-dimensional elastic collision while car #1 was stopped. The script computes and displays the speed of car #2immediately before the collision under the assumption that car #1 was moving at 20 m/s just after the collision.Using conservation of momentum alone, we have two equations, allowing us to solve for two unknowns.m1*u1x + m2*u2x = m1*v1x + m2*v2x m1*u1y + m2*u2y = m1*v1y + m2*v2yUsing conservation of kinetic energy for the elastic case gives us one additional equation, allowing usto solve for three unknowns. 0.5*m1*u1^2 + 0.5*m2*u2^2 = 0.5*m1*v1^2 + 0.5*m2*v2^2Variables: m1, m2, u1, u2, v1, v2, a1, a2, b1, b2*/ document.write("Start Script</br>"); //Solve for u2 and v2 for an elastic collisionvar m1 = 1500;//kg var m2 = 2000;//kg//Velocities before the collision var u1 = 0;//meters per second - standing stillvar u2;//unknown value to be determined //Velocities after the collisionvar v1 = 20;//meters/second var v2;//unknown value to be determined//Angles var a1 = 0;//car was not movingvar a2 = 0;//moving straight ahead var b1 = 0;//moving straight aheadvar b2 = 0;//moving straight ahead //Convert angles to radiansA1 = a1*Math.PI/180; A2 = a2*Math.PI/180;B1 = b1*Math.PI/180; B2 = b2*Math.PI/180;//Compute and print the x and y components of velocity u1x = u1*Math.cos(A1)u1y = u1*Math.sin(A1) //u2x = u2*Math.cos(A2)//unknown//u2y = u2*Math.sin(A2)//unknown v1x = v1*Math.cos(B1)v1y = v1*Math.sin(B1) //v2x = v2*Math.cos(B2)//unknown//v2y = v2*Math.sin(B2)//unknown document.write("x and y components of velocity</br>"); document.write("u1x = " + u1x.toFixed(3) + "</br>"); document.write("u1y = " + u1y.toFixed(3) + "</br>"); document.write("v1x = " + v1x.toFixed(3) + "</br>"); document.write("v1y = " + v1y.toFixed(3) + "</br>"); document.write("==============================="+ "</br>"); /*Prepare the equations for use in solving the problem. Given the following three equationsm1*u1x + m2*u2x = m1*v1x + m2*v2x m1*u1y + m2*u2y = m1*v1y + m2*v2y0.5*m1*u1^2 + 0.5*m2*u2^2 = 0.5*m1*v1^2 + 0.5*m2*v2^2 Eliminate all of the components for which the above printoutshows zero or for which the given values show zero. 0 + m2*u2x = m1*v1x + m2*v2x0 + m2*u2y = 0 + m2*v2y 0 + 0.5*m2*u2^2 = 0.5*m1*v1^2 + 0.5*m2*v2^2Although it isn't totally obvious from the equations, at this point we need to recognize that because all velocities aredefined to occur along the x-axis, all of the terms in the middle equation above that deals with the y-component ofvelocity must be zero. Therefore, we can eliminate that equation entirely.We also need to recognize that because there are no velocity components along the y-axis, the velocity components alongthe x-axis are actually the magnitudes of those velocity components. Thus, u2x = u2.Now we will make the substitutions and eliminate terms with a value of 0 in the process, yieldingm2*u2 = m1*v1 + m2*v2 0.5*m2*u2^2 = 0.5*m1*v1^2 + 0.5*m2*v2^2Substituting known values into the two equations yields 2000*u2 = 1500*20 + 2000*v22000*u2^2 = 1500*20*20 + 2000*v2^2 Simplifying the two equations yieldsu2 = 15 + v2 u2*u2 = 300 + v2*v2Now we need to eliminate one equation through substitution v2 = u2 - 15u2*u2 = 300 + (u2 - 15)*(u2 - 15) u2*u2 = 300 + u2*u2 - 30*u2 +225u2*u2 - 300 - u2*u2 + 30*u2 -225 = 0 u2*u2 - u2*u2 + 30*u2 - 300 -225 = 030*u2 - 525 = 0 30*u2 = 525*/ //Compute and print the first speed valuedocument.write("Speed values</br>"); u2 = 525/30;document.write("u2 = " + u2.toFixed(2) + " m/s</br>"); /*Substituting this value back into an earlier energy equation yieldsv2*v2 = u2*u2 - 300; *///Compute and display the second speed value v2 = Math.sqrt(u2*u2 - 300);document.write("v2 = " + v2.toFixed(2) + " m/s</br>"); document.write("==============================="+ "</br>"); //Check the answers for conservation of momentumdocument.write("Check for conservation of momentum</br>"); var mou = m1*u1 + m2*u2;var mov = m1*v1 + m2*v2; document.write("mou = " + mou.toFixed(0) + " Kg*m/s</br>"); document.write("mov = " + mov.toFixed(0) + " Kg*m/s</br>"); document.write("==============================="+ "</br>"); //Check the answer for elastic collisionvar keIn = 0.5*m1*u1*u1 + 0.5*m2*u2*u2; var keOut = 0.5*m1*v1*v1 + 0.5*m2*v2*v2;document.write("Check for conservation of energy</br>"); document.write("keIn = " + keIn.toFixed(0)+ " Kg*m^2/s^2</br>"); document.write("keOut = " + keOut.toFixed(0)+ " Kg*m^2/s^2</br>"); document.write("End Script");</script></body></html>

Questions & Answers

what is microbiology
Agebe Reply
What is a cell
Odelana Reply
what is cell
Mohammed
how does Neisseria cause meningitis
Nyibol Reply
what is microbiologist
Muhammad Reply
what is errata
Muhammad
is the branch of biology that deals with the study of microorganisms.
Ntefuni Reply
What is microbiology
Mercy Reply
studies of microbes
Louisiaste
when we takee the specimen which lumbar,spin,
Ziyad Reply
How bacteria create energy to survive?
Muhamad Reply
Bacteria doesn't produce energy they are dependent upon their substrate in case of lack of nutrients they are able to make spores which helps them to sustain in harsh environments
_Adnan
But not all bacteria make spores, l mean Eukaryotic cells have Mitochondria which acts as powerhouse for them, since bacteria don't have it, what is the substitution for it?
Muhamad
they make spores
Louisiaste
what is sporadic nd endemic, epidemic
Aminu Reply
the significance of food webs for disease transmission
Abreham
food webs brings about an infection as an individual depends on number of diseased foods or carriers dully.
Mark
explain assimilatory nitrate reduction
Esinniobiwa Reply
Assimilatory nitrate reduction is a process that occurs in some microorganisms, such as bacteria and archaea, in which nitrate (NO3-) is reduced to nitrite (NO2-), and then further reduced to ammonia (NH3).
Elkana
This process is called assimilatory nitrate reduction because the nitrogen that is produced is incorporated in the cells of microorganisms where it can be used in the synthesis of amino acids and other nitrogen products
Elkana
Examples of thermophilic organisms
Shu Reply
Give Examples of thermophilic organisms
Shu
advantages of normal Flora to the host
Micheal Reply
Prevent foreign microbes to the host
Abubakar
they provide healthier benefits to their hosts
ayesha
They are friends to host only when Host immune system is strong and become enemies when the host immune system is weakened . very bad relationship!
Mark
what is cell
faisal Reply
cell is the smallest unit of life
Fauziya
cell is the smallest unit of life
Akanni
ok
Innocent
cell is the structural and functional unit of life
Hasan
is the fundamental units of Life
Musa
what are emergency diseases
Micheal Reply
There are nothing like emergency disease but there are some common medical emergency which can occur simultaneously like Bleeding,heart attack,Breathing difficulties,severe pain heart stock.Hope you will get my point .Have a nice day ❣️
_Adnan
define infection ,prevention and control
Innocent
I think infection prevention and control is the avoidance of all things we do that gives out break of infections and promotion of health practices that promote life
Lubega
Heyy Lubega hussein where are u from?
_Adnan
en français
Adama
which site have a normal flora
ESTHER Reply
Many sites of the body have it Skin Nasal cavity Oral cavity Gastro intestinal tract
Safaa
skin
Asiina
skin,Oral,Nasal,GIt
Sadik
How can Commensal can Bacteria change into pathogen?
Sadik
How can Commensal Bacteria change into pathogen?
Sadik
all
Tesfaye
by fussion
Asiina
what are the advantages of normal Flora to the host
Micheal
what are the ways of control and prevention of nosocomial infection in the hospital
Micheal
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Accessible physics concepts for blind students. OpenStax CNX. Oct 02, 2015 Download for free at https://legacy.cnx.org/content/col11294/1.36
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Accessible physics concepts for blind students' conversation and receive update notifications?

Ask