Diode+ON-OFF+Model

Diode+ON-OFF+Model - (* Content-type:...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
(* Content-type: application/mathematica *) (*** Wolfram Notebook File ***) (* http://www.wolfram.com/nb *) (* CreatedBy='Mathematica 6.0' *) (*CacheID: 234*) (* Internal cache information: NotebookFileLineBreakTest NotebookFileLineBreakTest NotebookDataPosition[ 145, 7] NotebookDataLength[ 860569, 14172] NotebookOptionsPosition[ 859933, 14148] NotebookOutlinePosition[ 860462, 14167] CellTagsIndexPosition[ 860419, 14164] WindowFrame->Normal*) (* Beginning of Notebook Content *) Notebook[{ Cell[CellGroupData[{ Cell["\<\ Diode Resistor Circuit: Calculating Vd vs Vs the On-Off Model with Vf=0.7\ \>", "Section", CellChangeTimes->{{3.456772757477298*^9, 3.4567727627548866`*^9}, { 3.457657540762216*^9, 3.457657546270136*^9}, {3.4576972822520494`*^9, 3.4576972860374928`*^9}, {3.4578734790444765`*^9, 3.4578734863750176`*^9}, {3.4579198589651456`*^9, 3.457919868669099*^9}, { 3.4893548093919425`*^9, 3.489354810960032*^9}, {3.489354967826004*^9, 3.489354969432096*^9}, {3.489355155044712*^9, 3.4893551631421757`*^9}, 3.4893553329238863`*^9, {3.489355737222011*^9, 3.4893557467755575`*^9}, { 3.4905550226689014`*^9, 3.4905550236129556`*^9}, {3.4905567868638077`*^9, 3.4905568080310183`*^9}, {3.4905589949991055`*^9, 3.490559002723548*^9}, { 3.5127357661904707`*^9, 3.5127357713540792`*^9}, {3.51273615890337*^9, 3.5127361635833783`*^9}, {3.512754290884514*^9, 3.5127543259065757`*^9}, { 3.512905030518097*^9, 3.512905040268114*^9}}], Cell[CellGroupData[{ Cell[BoxData[{ RowBox[{"Clear", "[", "Id", "]"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Id", "[", "Vd_", "]"}], ":=", RowBox[{"\[Piecewise]", GridBox[{ {"0", RowBox[{"Vd", "\[LessEqual]", "0.7"}]}, { RowBox[{"10000", "*", RowBox[{"(", RowBox[{"Vd", "-", "0.7"}], ")"}]}], RowBox[{"Vd", ">", "0.7"}]} }]}]}], "\[IndentingNewLine]", RowBox[{"Plot", "[", RowBox[{ RowBox[{"Id", "[", "x", "]"}], ",", RowBox[{"{", RowBox[{"x", ",", RowBox[{"-", "5"}], ",", "0.8"}], "}"}], ",", RowBox[{"PlotRange", "\[Rule]", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
RowBox[{"-", "5"}], ",", "2"}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"-", "1"}], ",", "1"}], "}"}]}], "}"}]}], ",", RowBox[{"PlotPoints", "\[Rule]", "100000"}], ",", RowBox[{"PlotStyle", "\[Rule]", "Thick"}], ",", RowBox[{"AxesLabel", "\[Rule]", RowBox[{"{", RowBox[{"\"\<Vd (V)\>\"", ",", "\"\<Id (A)\>\""}], "}"}]}]}], "]"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Vs", "=", "0.5"}], ";", RowBox[{"R", "=", SuperscriptBox["10", "3"]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"FindRoot", "[", RowBox[{ RowBox[{"Vs", "\[Equal]", RowBox[{ RowBox[{ RowBox[{"Id", "[", "Vd", "]"}], "*", "R"}], "+", "Vd"}]}], ",", RowBox[{"{", RowBox[{"Vd", ",", "0"}], "}"}]}], "]"}], " "}]}], "Input", CellChangeTimes->CompressedData[" 1:eJwd0FtIU3EAx/E1dc4KFFcEWsimUV4ycD3IsNXJS1qwcKat4VZrapRzQmg1 HIXIhJYPXUZpmptkIYFW2jbUSW5O89b0IcNGDy4qdk5ols1Bdvv/zsOPz9Pv 5Ss8Vyuv5HI4nHQyyCt4Js930xR/r6IECipaFSEPTf3sLjwNp+MKR/ljNJUi drMqdYFJNXE3Z3YKGj6q9fXE+a72u1Bk37DCqZinNtgmfe+A03+DTtjy4Zc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+sEaf21wI8Fbki ogfO+L5SeQGca0BDKAGWVmY14AUf0VF2YgQz1zR/IgW/SJbUXN/ac2hSa+AP 8F/ai52fwEXPpoc6wIHJI/yvwIv730YUgrMi35WngmdiqmcjwJqL+20egHfs bhXYg+UsWzbMwe2u0rTaYNcZEgcFcEVPy2dR8LmP6TRcYD1De41D4GjxuCFi 8GHhfu4/m3vmzybxmQGHSuilD4PdFRO62sDh+UIXasGzQt98C8CDgsHvU8CU l9Q+hYGtGs1P3wdrVtgl3wb7Nsc2mYAvaBVtaYIFxNgeyIONz+S3CINZy08w c4J5td6J0YEvXyhNIgIfqkggX93YM8v5eLnv4PKLwX6DYIei3gOtYGchcYsq
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 222

Diode+ON-OFF+Model - (* Content-type:...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online