Homework 2.pdf - HW 2 Problem 1c 2 3 Question 1c In[1:=...

This preview shows 1 out of 4 pages.

HW 2 Problem 1c, 2, 3 Question 1c In[1]:= Clear [ "Global` * " ] Izd [ Vd _] : = 10000 *( Vd - .7 ) Vd .7 0 Vd < .7 Plot Izd [ Vd ] , { Vd, - 10,10 } ,PlotRange {{- 10,10 } , {- 10,10 }} ,PlotPoints 5000 ; R2 = 10; data1 = Table  R2,Vo, 10 - Vo R2 + 4 ,Izd [- Vo ] / .Solve 10 - Vo R2 + 4 Izd [- Vo ]+ Vo R2 ,Vo [[ 1 ]] , { R2,0.1,10,0.1 } ; data2 = Table  R2,Vo, 3 - Vo R2 + 1 ,Izd [- Vo ] / .Solve 3 - Vo R2 + 1 Izd [- Vo ]+ Vo R2 ,Vo [[ 1 ]] , { R2,0.1,10,0.1 } ; TableForm data1,TableHeadings { None, { "R2 ( k Ω ) ", "Vo ( volt ) ","Isupply ( mA ) ","Id1 ( mA ) " }} ; Izd1VersusR2 = Table  data1  i,1  ,data1  i,4  , i,1,Length [ data1 ]  ; Print [ "Id1 vs. R2:" ] ListPlot [ Izd1VersusR2,PlotRange {{ 0,10 } , { 0,11 }} ,AxesLabel { "R2 ( k Ω ) ","Id1 ( mA } " }] Id1 vs. R2: Out[10]= 0 2 4 6 8 10 R2 ( k Ω ) 0 2 4 6 8 10 Id1 ( mA }
Image of page 1

Subscribe to view the full document.

In[11]:= TableForm data2,TableHeadings { None, { "R2 ( k Ω ) ", "Vo ( volt ) ","Isupply ( mA ) ","Id2 ( mA ) " }} ; Izd2VersusR2 = Table  data2  i,1  ,data2  i,4  , i,1,Length [ data2 ]  ; Print [ "Id2 vs. R2:" ] ListPlot [ Izd2VersusR2,PlotRange {{ 0,10 } , { 0,11 }} ,AxesLabel { "R2 ( k Ω ) ","Id2 ( mA } " }] Id2 vs. R2: Out[14]= 0 2 4 6 8 10 R2 ( k Ω ) 0 2 4 6 8 10 Id2 ( mA } 2 Homework 2.nb
Image of page 2
Question 2 In[ ]:= Clear [ "Global` * " ] Izd [ Vd _] : = 10000 *( Vd - .7 ) Vd .7 0 - 5 < Vd < .7 10000 *( Vd -(- 5 )) Vd - 5 Plot Izd [ Vd ] , { Vd, - 10,10 } ,PlotRange {{- 10,10 } , {- 10,10 }} ,PlotPoints 5000 ; (* check if Izd [ Vd ] is correctly defined *) V1 = Solve
Image of page 3

Subscribe to view the full document.

Image of page 4
You've reached the end of this preview.
  • Spring '08
  • LEE
  • Isupply, PlotIzd

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern