ee231_HW8 - EE 231_B1 Numerical Analysis for Electrical and...

Info icon This preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
EE 231_B1 Numerical Analysis for Electrical and Computer Engineers Course Instructor: Dr. Sergiy Vorobyov Damir Iraliyev, 1246540 Assignment 8 13.2 Code used: >> y=[8.8 9.5 9.8 9.4 10.0 9.4 10.1 9.2 11.3 9.4 10.0 10.4 7.9 10.4 9.8 9.8 9.5 8.9 8.8 10.6 10.1 9.5 9.6 10.2 8.9]; >> hist(y) >> grid >> xlabel('range, from 7.5 to 11.5 with 0.5 intervals'); >> ylabel('frequency'); 1 | P a g e
Image of page 1

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

View Full Document Right Arrow Icon
13.7 = y α4 * x * eβ4 * x We take natural logarithm on both sides: = lny ln + + ( α4 lnx ln eβ4 * ) x => lny - lnx = ln + α4 β4 * x Thus, we plot: lny - lnx = ln + α4 β4 * x Matlab code used >> x=[0.1 0.2 0.4 0.6 0.9 1.3 1.5 1.7 1.8]'; >> y=[0.75 1.25 1.45 1.25 0.85 0.55 0.35 0.28 0.18]'; >> plot(x,y); >> q=log(y); >> plot(x,q) >> t=log(x); >> plot(y,t) >> z=q-t; >> plot(x,z); >> grid >> title('ln(y)-ln(x) vs. x'); >> xlabel('x'); >> ylabel('ln(y)-ln(x)'); We approximate ( )=[ - ( )]-[ - ( )] - = . -- . . - =- β4 slope lny1 ln x1 lny2 ln x2 x1 x2 1 78 0 260 22 1 . 2 6154 2 | P a g e
Image of page 2
We approximate : = . -- . . intercept a4 e1 981 2 61540 11686 = . 9 8418 3 | P a g e
Image of page 3

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

View Full Document Right Arrow Icon
13.10 = => = ( )+ y α510β5x logy log α5 β5x t(hour) 4 8 12 16 20 24 c(CFU/100mL ) 1590 1320 1000 900 650 560 note: CFU-Colony Forming Unit. Code used: >> t=[4 8 12 16 20 24]'; >> c=[1590 1320 1000 900 650 560]'; >> t1=log10(t); >> c1=log10(c); >> q=polyfit(t1,c1,1) q = -0.5808
Image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '10
  • Vorobyov
  • Natural logarithm, Logarithm, Common logarithm, Binary logarithm, Sergiy Vorobyov Damir, Dr. Sergiy Vorobyov Damir Iraliyev

{[ 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