Capacitor - Least squares fitting

Click For Summary
SUMMARY

The discussion focuses on applying the least squares method to determine the relative permittivity (ε_r) of a parallel plate capacitor filled with plastic plates. Participants clarify that the capacitance (C) is related to the distance (d) and area (A) through the equation C = ε0εrA/d. The provided data points include distances of 2mm, 4mm, 6mm, 8mm, and 10mm, with corresponding capacitance values of 353pF, 197pF, 141pF, 112pF, and 97pF. The correct approach involves using 1/d as the x-values and C as the y-values for linear regression, resulting in a slope (k) of 644pFmm and a y-intercept (m) of 32pF.

PREREQUISITES
  • Understanding of capacitance and its relationship to physical parameters (C = ε0εrA/d)
  • Familiarity with linear regression techniques
  • Basic knowledge of MATLAB for data analysis
  • Concept of least squares fitting in statistical analysis
NEXT STEPS
  • Learn MATLAB's built-in functions for linear regression analysis
  • Study the least squares fitting method in detail
  • Explore the implications of ε_r in different dielectric materials
  • Investigate error analysis techniques in experimental physics
USEFUL FOR

Students in physics or engineering courses, particularly those involved in experimental design and data analysis, as well as educators teaching concepts related to capacitors and least squares fitting.

Woozah

Homework Statement


We had a laboration for calculating ε_r in a parallel plate capacitor which we stuffed with plastic plates. All data we picked up was the area A, the distance d (and thus 1/d) and the capacitance C. We are now supposed to use the least squares-method to find ε_r, something we have never done before. She sent us a pdf regarding the least-squares but I am having it extremt hard understanding how to use it.

In an example (an example, so we can check our MATLAB code before using our own data) she has put d=2mm,4mm,6mm,8mm,10mm and C=353pF, 197pF, 141pF, 112pF, 97pF. She now states that using a linear regression you should get k=644pFmm and m=32pF.

Homework Equations



C=ε0εrA/d

The Attempt at a Solution



What I don't understand is that if we want to try and find a linear fitting, what will i put as (k) (x) and m?
Since C=ε0εrA/d, I am assuming that my x will be 1/d and k is ε0εr, or am I wrong? No idea how to do this. They had forgotten that we were in the class and had not taken the course in which you learn this. :cry:
 
Physics news on Phys.org
Welcome to PF!

Yes, your x values will be 1/d. Your y values will be C. So, if you plotted your data with x-axis horizontal and y-axis vertical, your data points would be of the form (x, y) = (1/d, C). The least-squares fit will produce the best straight line that fits the data. This line will have a slope k and a y-intercept m. (Apparently your class is using "k" for the slope and "m" for the y-intercept. In algebra classes, you usually use "m" for the slope of a line. Oh, well.)

According to your equation C = ε0εrA/d, what should be the "theoretical" values for k and m? Hint: Replace C by y and 1/d by x.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
6
Views
1K
  • · Replies 10 ·
Replies
10
Views
4K
Replies
8
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K