(************** Content-type: application/mathematica ************** CreatedBy='Mathematica 5.2' Mathematica-Compatible Notebook This notebook can be used with any Mathematica-compatible application, such as Mathematica, MathReader or Publicon. The data for the notebook starts with the line containing stars above. To get the notebook into a Mathematica-compatible application, do one of the following: * Save the data starting with the line of stars above into a file with a name ending in .nb, then open the file inside the application; * Copy the data starting with the line of stars above to the clipboard, then use the Paste menu command inside the application. Data for notebooks contains only printable 7-bit ASCII and can be sent directly in email or through ftp in text mode. Newlines can be CR, LF or CRLF (Unix, Macintosh or MS-DOS style). NOTE: If you modify the data for this notebook not in a Mathematica- compatible application, you must delete the line below containing the word CacheID, otherwise Mathematica-compatible applications may try to use invalid cache data. For more information on notebooks and Mathematica-compatible applications, contact Wolfram Research: web: http://www.wolfram.com email: info@wolfram.com phone: +1-217-398-0700 (U.S.) Notebook reader applications are available free of charge from Wolfram Research. *******************************************************************) (*CacheID: 232*) (*NotebookFileLineBreakTest NotebookFileLineBreakTest*) (*NotebookOptionsPosition[ 8316, 257]*) (*NotebookOutlinePosition[ 8982, 280]*) (* CellTagsIndexPosition[ 8938, 276]*) (*WindowFrame->Normal*) Notebook[{ Cell[CellGroupData[{ Cell["Boundary Value problem in an open region", "Subsection"], Cell[BoxData[ \(Clear["\<`*\>"]\)], "Input"], Cell[TextData[{ StyleBox["The solution to Laplace's Equation in an open channel with \ boundary conditions \[CapitalPhi][0,y] = 0, \[CapitalPhi][a,y] = 0, and \ \[CapitalPhi][x,0] = f[x], where ", FontFamily->"Arial"], Cell[BoxData[ \(TraditionalForm\`f[x]\ = \(\(2\ x\)\/a\) V\)], FontFamily->"Arial"], StyleBox[" for 0 \[LessEqual] x \[LessEqual] a/2 and ", FontFamily->"Arial"], Cell[BoxData[ \(TraditionalForm\`f[x]\ = \(\(2 \((a - x)\)\)\/\[Placeholder]\) V\)], FontFamily->"Arial"], StyleBox[" for a/2 \[LessEqual] x \[LessEqual] a is\n\n\[CapitalPhi][x,y] \ = ", FontFamily->"Arial"], Cell[BoxData[ \(TraditionalForm\`\(8\ V\)\/\[Pi]\^2\)], FontFamily->"Arial"], StyleBox[" ", FontFamily->"Arial"], Cell[BoxData[ \(TraditionalForm\`\[Sum]\+\(m = 0\)\%\[Infinity]\ \ \ \((\(-1\))\)\^m\/\((2 m + 1)\)\^2\ Sin[\ \(\((2 m + 1)\)\ \[Pi]\ x\)\/a]\ \ Exp[\(-\(\(\((2 m + 1)\)\ \[Pi]\ y\)\/a\)\)]\)], FontFamily->"Arial"], StyleBox["\n\nLet us look at this for the case V = 1 and a = 1. We take 25 \ terms in the series", FontFamily->"Arial"] }], "Text"], Cell[BoxData[ \(\[CapitalPhi] := 8/\[Pi]^2\ Sum[\((\(-1\))\)^ m/\((2 m + 1)\)^2\ Sin[\((2 m + 1)\)\ \[Pi]\ x]\ Exp[\(-\((2 m + 1)\)\) \[Pi]\ y], {m, 0, 25}]\)], "Input"], Cell[BoxData[ \(\(\(Plot3D[\[CapitalPhi], {x, 0, 1}, {y, 0, 1}, ViewPoint \[Rule] {1.2, 1.2, 1}, PlotRange \[Rule] {0, 1}, Boxed \[Rule] False, Ticks \[Rule] {Automatic, Automatic, {0, .5, 1}}, PlotLabel \[Rule] "\<\[CapitalPhi](x,y)\>", AxesLabel \[Rule] {"\", "\", "\<\>"}]\)\(\n\) \)\)], "Input"], Cell[BoxData[ StyleBox[ RowBox[{\(Examine\ the\ charge\ on\ the\ surface\ y\), "=", RowBox[{ RowBox[{"0.", " ", FormBox[\(\[Sigma]\_x\), "TraditionalForm"]}], " ", "=", RowBox[{ FormBox[ RowBox[{ FormBox[\(\[Epsilon]\_\(\(0\)\(\ \)\)\), "TraditionalForm"], \(E\_x\)}], "TraditionalForm"], "[", \(x, 0\), "]"}]}]}], FontFamily->"Arial"]], "Text"], Cell[BoxData[ \(Ex := \(-D[\[CapitalPhi], y]\)\)], "Input"], Cell[BoxData[ \(\[Sigma]x[x_] := Ex /. y \[Rule] 0\)], "Input"], Cell[BoxData[ \(Plot[\[Sigma]x[x], {x, 0, 1}, PlotRange \[Rule] {{0, 1}, {0, 5}}, PlotStyle \[Rule] {Thickness[0.008], RGBColor[1, 0, 0]}]\)], "Input"], Cell[TextData[{ StyleBox["\nThe irreularities in ", FontFamily->"Arial"], Cell[BoxData[ \(TraditionalForm\`\[Sigma]\_x\)], FontFamily->"Arial"], StyleBox[" near x=", FontFamily->"Arial"], Cell[BoxData[ \(TraditionalForm\`1\/2\)], FontFamily->"Arial"], StyleBox[" are characteristic of Fourier Serirs near points of sudden \ change in value or slope. This behavior is referred to as the Stoke's \ phenomenon. Charge is seen to accumulate near sharp changes of potential. \ The total charge on the surface is still integrable and has the folliring \ value. (This is the charge/length of the cylindrical region).", FontFamily->"Arial"] }], "Text"], Cell[BoxData[ \(Qx = Integrate[\[Sigma]x[x], {x, 0, 1}] // N\)], "Input"], Cell[BoxData[ StyleBox[ RowBox[{ RowBox[{\(The\ capacitanve\ is\ Q/V . Therefore\ find\ C/L\), "=", RowBox[{"1.485", FormBox[\(\[Epsilon]\_\(\(0\)\(\ \)\(.\)\)\), "TraditionalForm"], "Now"}]}], ",", \(look\ at\ the\ charge\ distribution\ on\ the\ x = 0\ face\)}], FontFamily->"Arial"]], "Text"], Cell[BoxData[ \(Ey := \(-D[\[CapitalPhi], x]\)\)], "Input"], Cell[BoxData[ \(\[Sigma]y[y_] := Ey /. x \[Rule] 0\)], "Input"], Cell[BoxData[ \(Plot[\[Sigma]y[y], {y, 0, 2}, PlotStyle \[Rule] {Thickness[0.008], RGBColor[0, 1, 0]}]\)], "Input"], Cell[BoxData[ \(Qy = Integrate[\[Sigma]y[y], {y, 0, Infinity}] // N\)], "Input"], Cell[TextData[{ "\nThe charge on the face x=1 must be the same as the charge on x=0. \ Furthermore, the sum of the charges on all faces, Q = ", Cell[BoxData[ FormBox[ RowBox[{ FormBox[\(Q\_x\), "TraditionalForm"], "+", \(2 Q\_y\)}], TraditionalForm]]], ", must vanish. We find" }], "Text", FontFamily->"Arial"], Cell[BoxData[ \(Q = Qx + 2 Qy\)], "Input"] }, Open ]], Cell[CellGroupData[{ Cell["Green Function in the plane", "Subsection"], Cell["\<\ Use the Green Function method to solve the 2D Laplace equation with boundary \ conditions \[CapitalPhi](0,y) = \[CapitalPhi](a,y) = \[CapitalPhi](x,b) =0 and \ \[CapitalPhi](x,0) = V. (Set V=1, a=1, b=1/2)\ \>", "Text"], Cell["Solution at y=0", "Text"], Cell[BoxData[ \(\(\(\ \)\(\[CapitalPhi]0 := \ \((4/\[Pi])\)\ Sum\ [\ Sin[\((2 m + 1)\)\ \[Pi]\ x]/\((2\ m + 1)\), {m, 0, 25}]\)\)\)], "Input"], Cell[BoxData[ \(Plot[{\[CapitalPhi]0, 1}, {x, 0, 1}, PlotRange \[Rule] \ {0, 1.2}, PlotStyle \[Rule] {{Thickness[0.007], RGBColor[0, 0, 1]}, Thickness[0.005]\ }]\)], "Input"], Cell["Solution inside box", "Text"], Cell[BoxData[ \(\[CapitalPhi]\ := \ \((4/\[Pi])\)\ Sum\ [\ Sin[\((2 m + 1)\)\ \[Pi]\ x]/\((\((2\ m + 1)\)\ Sinh[\ \((2 m + 1)\)\ \[Pi]\ / 2])\)\ Sinh[\((2\ m + 1)\)\ \[Pi] \((1/2 - y)\)], {m, 0, 20}]\)], "Input"], Cell[BoxData[ \(Plot3D[\[CapitalPhi], {x, 0, 1}, {y, 0, 1/2}, ViewPoint \[Rule] \ {1.2, 1.2, 1.2}, Ticks \[Rule] {Automatic, Automatic, {0.5, 1}}]\)], "Input"], Cell[BoxData[ \(Charge\ distribution\ on\ upper\ face\)], "Input"], Cell[BoxData[ \(\[Sigma]x\ = \ \(-D[\[CapitalPhi], y]\)\ /. \ y \[Rule] \ 0\)], "Input"], Cell[BoxData[ \(Plot[\[Sigma]x, {x, 0, 1}]\)], "Input"], Cell[BoxData[ \(Q1\ = \ Integrate[\[Sigma]x, {x, 0, 1}] // N\)], "Input"], Cell[BoxData[ \(\[Sigma]y\ = \ \(-D[\[CapitalPhi], x]\)\ /. \ x \[Rule] \ 0\)], "Input"], Cell[BoxData[ \(Q2\ = \ Integrate[\[Sigma]y, {y, 0, 1/2}] // N\)], "Input"], Cell[BoxData[ \(\[Sigma]xx\ = \ D[\[CapitalPhi], y] /. \ y \[Rule] 1/2\)], "Input"], Cell[BoxData[ \(Q3\ = \ Integrate[\[Sigma]xx, {x, 0, 1}] // N\)], "Input"], Cell[BoxData[ \(Q1 + \ 2\ Q2\ + \ Q3\)], "Input"] }, Closed]] }, FrontEndVersion->"5.2 for Microsoft Windows", ScreenRectangle->{{0, 1024}, {0, 685}}, WindowSize->{862, 527}, WindowMargins->{{22, Automatic}, {Automatic, 36}}, Magnification->1.25 ] (******************************************************************* Cached data follows. If you edit this Notebook file directly, not using Mathematica, you must remove the line containing CacheID at the top of the file. The cache data will then be recreated when you save this file from within Mathematica. *******************************************************************) (*CellTagsOutline CellTagsIndex->{} *) (*CellTagsIndex CellTagsIndex->{} *) (*NotebookFileOutline Notebook[{ Cell[CellGroupData[{ Cell[1776, 53, 62, 0, 48, "Subsection"], Cell[1841, 55, 48, 1, 35, "Input"], Cell[1892, 58, 1142, 29, 157, "Text"], Cell[3037, 89, 233, 5, 35, "Input"], Cell[3273, 96, 344, 6, 98, "Input"], Cell[3620, 104, 494, 13, 38, "Text"], Cell[4117, 119, 63, 1, 35, "Input"], Cell[4183, 122, 67, 1, 35, "Input"], Cell[4253, 125, 162, 2, 56, "Input"], Cell[4418, 129, 689, 17, 127, "Text"], Cell[5110, 148, 77, 1, 35, "Input"], Cell[5190, 151, 365, 8, 38, "Text"], Cell[5558, 161, 63, 1, 35, "Input"], Cell[5624, 164, 67, 1, 35, "Input"], Cell[5694, 167, 126, 2, 35, "Input"], Cell[5823, 171, 84, 1, 35, "Input"], Cell[5910, 174, 358, 10, 80, "Text"], Cell[6271, 186, 47, 1, 35, "Input"] }, Open ]], Cell[CellGroupData[{ Cell[6355, 192, 49, 0, 48, "Subsection"], Cell[6407, 194, 234, 5, 59, "Text"], Cell[6644, 201, 31, 0, 38, "Text"], Cell[6678, 203, 171, 3, 35, "Input"], Cell[6852, 208, 196, 3, 56, "Input"], Cell[7051, 213, 35, 0, 38, "Text"], Cell[7089, 215, 290, 5, 77, "Input"], Cell[7382, 222, 177, 3, 56, "Input"], Cell[7562, 227, 70, 1, 35, "Input"], Cell[7635, 230, 103, 2, 35, "Input"], Cell[7741, 234, 59, 1, 35, "Input"], Cell[7803, 237, 78, 1, 35, "Input"], Cell[7884, 240, 103, 2, 35, "Input"], Cell[7990, 244, 80, 1, 35, "Input"], Cell[8073, 247, 88, 1, 35, "Input"], Cell[8164, 250, 79, 1, 35, "Input"], Cell[8246, 253, 54, 1, 35, "Input"] }, Closed]] } ] *) (******************************************************************* End of Mathematica Notebook file. *******************************************************************)