# 2.5 Game 2302-0350 units and dimensional analysis  (Page 8/10)

 Page 8 / 10

Compute, save, and apply the conversion factor f2

Following that, a conversion factor named f2 is computed that can be used to convert a value expressed in inches to the same value expressed in feet. Thisconversion factor is based on the known fact that there are 12 inches in a foot.

The factor named f2 is applied to the distance that is now expressed in inches converting it to a new value that expresses the same distance in feet(5280 feet).

Analysis of the units

The comment that reads

//inch*feet/inch = feet

is an analysis that shows the units that will result from applying the conversion factor to the distance at this point. As you can see, the inchterms will cancel and the result will be in feet.

Compute, save, and apply the conversion factor f3

Following that, a conversion factor named f3 is computed that can be used to convert a value expressed in feet to the same value expressed in miles. Thisconversion factor is based on the known fact that there are 5280 feet in a mile.

The factor named f3 is applied to the distance that is now expressed in feet converting it to a new value that expresses the same distance in miles (1mile).

Analysis of the units

The comment that reads

//feet*mile/feet = mile

is an analysis that shows the units that will result from applying the conversion factor to the distance at this point. As you can see, the feet termswill cancel and the result will be in miles.

That satisfies the specifications

That satisfies the original program specification. However, I mentioned earlier that if a conversion factor X can be used to convert from A-units toB-units, the reciprocal of X can be used to convert from B-units back to A-units.

Reversing the process

Continuing with Listing 1 , the comment that reads

//(pace/inch)*(inch/foot)*(foot/mile) = pace/mile

shows the units that survive from a product of the reciprocals of f1 , f2 , and f3 . As you can see, after canceling out inches and feet, the result of multiplying the reciprocals of those three conversion factors is a new conversionfactor that can be used to convert a value expressed in miles to a new value that represents the same distance expressed in paces.

That conversion factor is applied to the distance in miles producing an output of 2112, which unsurprisingly, is the distance in paces that we startedoff with.

## More substantive JavaScript examples

Assume that you drop a rock from a balloon at a height of 10000 feet above the ground, Further assume that the positive direction is up and the negativedirection is down.

What would be the height of the rock above the ground at the end of ten seconds? What would be the height of the rock at the end of twenty seconds?

An equation relating distance, acceleration, and time

As you will learn in a future module, the following equation gives the distance that the rock will travel as a function of time assuming that the initial velocity is zero . (The assumption is that the rock was simply dropped and not thrown .)

d = 0.5 * g * t^2

where

• d is the distance traveled
• g is the acceleration of gravity (approximately -32.2 ft/s^2)
• t is time is seconds

#### Questions & Answers

encoding is the last step in memory stracture
crow and angle have feathers and can fly " it is a connective concept
FARWA
my mother always take decision based on reasoning ; she is practicng realistic thinking .
FARWA
all human are mortal is a formal concept
FARWA
sparrow is a best prototype of reptile
FARWA
echoic memory reflect humans visual system
getting the information back from stored area of brain is called retrieval
FARWA
no , echoic memory reflect upon things you hear , that's Iconic memory which deals with visual information
Nancy
I'll be studying psychology soon. Where do I start?
I would start by learning basic terminology and definitions cause there's a lot of it and learning the different concepts behind psychology and there meanings and there use then go onto introduction into psychology
why is psychology a science?
it's a social science
Alex
what we define as science is a systematic arrangement of knowledge based on experimental and observational data.so psychology is a science. as for what kind of science it is depends on how and what information are you using in your approach towards understanding the said data and to what conclusion.
imirror
depending on your approach and understanding Psychology can classify as medical or social science like anthropology
imirror
your friend is under stress because she has not prepared well for the examination what strategies would you suggest her? express in 100 or 150 words
hello
Masi
yess
dcs
where on the disorders does paranoid thought come in?
hot shots will give you paranoid thoughts
Kimberly
Kimberly 😂😆😂 yes hot shots will give you paranoid thoughts
Brandon
what compound motivation is attention extension
what is psychology
The scientific study of the mind
Gina
scientific study of mind and behaviour
Siva
...
Saeed
Scientific study of mind soul behaviour and experiences
Ayush
scientific srtudy of behaviour and cognitive processes
Reshmi
Apply social psychology on real life in Nigerian universities campus
what is the meaning of an idiosyncratic pattern
I am here for the first time just here to learn...
hi I'm new on here first time
Lisa
hello
GOPAL
hi,am new here
jennifer
what is this group all about
jennifer
Suppose an individual with OCD experiences obsessive thoughts about germs, contamination, and disease whenever she encounters a doorknob. What might have constituted a viable unconditioned stimulus?
What are factors that influence learning?
Environment Heredity(I am not sure about heredity)
Tusita
Enos
Sure, anytime
Tusita
I have other questions also
Enos
Based on the factors affecting learning, how do we improve learning
Enos
I think that addressing that everyone learns in their own time
James
Peer group influence can also be another reason
Sorie
Also knowing what's going on at home. what pressure are the parents putting on them.
James
am I close or no
James
also is there a lack of care? going one more step. with peer groups do an activity that shows how much they have in common
James
I think one's society has a big role to play in determining what/when & how he/she learns.
BECHEM
multiple reasons at different stages. at the earliest stages of development in a child is behaviour of people around. A baby starts learning basic social expressions and actions by mimicking the people around it. further social and cultural practices enforces learning and behaviour
imirror
from need to nutrition everything affect development and learning when choosing on a single factor of influence it is necessary to keep these other factors in the mind as environment around people is very plastic and flexible and there are many variables playing active role
imirror
social interaction is surely a big influence hence can be used to improve learning.
imirror
to encourage learning it is important to establish curiosity and notion of possibility for more perspectives habit of questioning possibilities and cause and effect in a great way to encourage learning in my opinion. language is another important factor
imirror
under what schedule of reinforcement do animals learn from ?
the role of emotional intelligence in a courtship behavior
1
Got questions? Join the online conversation and get instant answers!