Using least square method , determining unknown values ?
Afficher commentaires plus anciens
Hello, I have a question which i couldn't solve. Please help me.
The table shows the experimental results of the measured Coulomb Force, F, between two charges, (q1 and q2) corresponding to distance r. General form of the Coulomb Force is:
F = (1/4*pi*ε0)*q1*q2/(r^n)
Write a program to determine values of ε0 and n using least-square method.
r(cm) | F (N)
-------+------------
40 | 2.5 +- 0.1
30 | 4.5 +- 0.1
20 | 10.1 +- 0.2
10 | 40.5 +- 0.4
5 |162.0 +- 0.9
q1 = 5 μC q2 = 9 μC
2 commentaires
Wayne King
le 30 Déc 2011
What have you done to solve your homework problem?
Show the MATLAB code you have written and any error messages you are getting.
osman
le 30 Déc 2011
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Systems of Nonlinear Equations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!