<< 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 does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
What would be the best educational aid(s) for gifted kids/savants?
Heidi Reply
treat them normal, if they want help then give them. that will make everyone happy
Saurabh
What are the treatment for autism?
Magret Reply
hello. autism is a umbrella term. autistic kids have different disorder overlapping. for example. a kid may show symptoms of ADHD and also learning disabilities. before treatment please make sure the kid doesn't have physical disabilities like hearing..vision..speech problem. sometimes these
Jharna
continue.. sometimes due to these physical problems..the diagnosis may be misdiagnosed. treatment for autism. well it depends on the severity. since autistic kids have problems in communicating and adopting to the environment.. it's best to expose the child in situations where the child
Jharna
child interact with other kids under doc supervision. play therapy. speech therapy. Engaging in different activities that activate most parts of the brain.. like drawing..painting. matching color board game. string and beads game. the more you interact with the child the more effective
Jharna
results you'll get.. please consult a therapist to know what suits best on your child. and last as a parent. I know sometimes it's overwhelming to guide a special kid. but trust the process and be strong and patient as a parent.
Jharna
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