<< Chapter < Page Chapter >> Page >

The least squares approach to calculating the actual values of k fits the experimental data best. We run the calculations described in "An Inverse Problem" three times, using the values of k from each of these approaches as the actual value once. The error from each of these methods is recorded in [link] .

Error in Methods of Computing Spring Constants
Method % Error
Least Squares 235.4
Total Least Squares 237.9
Normal Equations 246.6

Mathematically, the total least squares approach should be the most accurate (again, see "Total Least Squares" for a description of this approach), but the least squares approach gives the least error. The computations for total least squares and the normal equations both require subtracting off the first entry from the displacement and force vector from the rest of the vectors, so these two computations work with one less data point. This may result in less accurate results, so we will use the values of k that we compute with the least squares approach when we need the “measured” values of k , such as when we compute percent error.

Throughout this report, we will refer to the “percent error” in the results of a particular method. To compute this, we consider first the percent error in each spring, ( k i , a c t u a l - k i , m e a s u r e d ) / k i , a c t u a l , arrange these into a vector, take the norm of the error, and multiply by 100. For reference, if the result has 100% error in each spring, the percent error of the entire result will be 400%.

Linear algebra approaches

Conditioning

The condition number, C , of a matrix A is the ratio of the largest singular value to the smallest singular value. If C = , A is singular; the closer C is to one, the better conditioned A is. In a linear equation of the form A x = b , C gives a bound for how sensitive x is to small changes in b . If C is large, then even a small perturbation in b can produce a large change in x .

Our equation, B k = f , has some error in f , so we are interested in the condition number of B . The smaller C of B is, the more confident we can be in our results.

Of the sixteen springs in the network, the twelve along the horizontal and vertical are important for holding the structure in place. The four diagonal springs can easily be switched back and forth from π / 4 to 3 π / 4 without significantly changing the stability of the network. Switching these four back and forth creates 16 different networks. We would like to find the network with the lowest condition number and use that for our experiments.

16 Possible Networks

Because B = A T d i a g A x , B depends on the displacements x and so varies with each trial. Because we cannot compute it directly, we run a simulation that, given the measured spring constants, generates random forces of the correct size in the correct locations, finds the displacement of each node, then calculates B . We computed the average condition number of B over several thousand trials for each network.

However, there is a slight catch. For networks g, h, o, and p, B has a nullspace. This corresponds to rigid-body motion: that is, some of the nodes can move without the rest of the network being displaced. We find that all of the networks where the Spring 2 and Spring 12 are connected at the center node have a nullspace corresponding to the free motion of these two nodes. We correct this problem by adding a row to the bottom of B (a 1 in the column corresponding to spring 2 and a - 1 in the column corresponding to spring 12) and a 0 to the bottom of f that forces these two springs to have the same spring constant. [link] presents the results from these simulations.

Questions & Answers

what is mutation
Janga Reply
what is a cell
Sifune Reply
how is urine form
Sifune
what is antagonism?
mahase Reply
classification of plants, gymnosperm features.
Linsy Reply
what is the features of gymnosperm
Linsy
how many types of solid did we have
Samuel Reply
what is an ionic bond
Samuel
What is Atoms
Daprince Reply
what is fallopian tube
Merolyn
what is bladder
Merolyn
what's bulbourethral gland
Eduek Reply
urine is formed in the nephron of the renal medulla in the kidney. It starts from filtration, then selective reabsorption and finally secretion
onuoha Reply
State the evolution relation and relevance between endoplasmic reticulum and cytoskeleton as it relates to cell.
Jeremiah
what is heart
Konadu Reply
how is urine formed in human
Konadu
how is urine formed in human
Rahma
what is the diference between a cavity and a canal
Pelagie Reply
what is the causative agent of malaria
Diamond
malaria is caused by an insect called mosquito.
Naomi
Malaria is cause by female anopheles mosquito
Isaac
Malaria is caused by plasmodium Female anopheles mosquitoe is d carrier
Olalekan
a canal is more needed in a root but a cavity is a bad effect
Commander
what are pathogens
Don Reply
In biology, a pathogen (Greek: πάθος pathos "suffering", "passion" and -γενής -genēs "producer of") in the oldest and broadest sense, is anything that can produce disease. A pathogen may also be referred to as an infectious agent, or simply a germ. The term pathogen came into use in the 1880s.[1][2
Zainab
A virus
Commander
Definition of respiration
Muhsin Reply
respiration is the process in which we breath in oxygen and breath out carbon dioxide
Achor
how are lungs work
Commander
where does digestion begins
Achiri Reply
in the mouth
EZEKIEL
what are the functions of follicle stimulating harmones?
Rashima Reply
stimulates the follicle to release the mature ovum into the oviduct
Davonte
what are the functions of Endocrine and pituitary gland
Chinaza
endocrine secrete hormone and regulate body process
Achor
while pituitary gland is an example of endocrine system and it's found in the Brain
Achor
what's biology?
Egbodo Reply
Biology is the study of living organisms, divided into many specialized field that cover their morphology, physiology,anatomy, behaviour,origin and distribution.
Lisah
biology is the study of life.
Alfreda
Biology is the study of how living organisms live and survive in a specific environment
Sifune
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, The art of the pfug. OpenStax CNX. Jun 05, 2013 Download for free at http://cnx.org/content/col10523/1.34
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'The art of the pfug' conversation and receive update notifications?

Ask