Thursday, 2024-12-12, 7:51 AM

Main Sign Up Login
Welcome, Guest · RSS
Site menu
Search
Site friends
  • acmgmat
  • nano-unt
  • fc-unt
  • accf
  • Statistics

    Total online: 1
    Guests: 1
    Users: 0
     Publisher
    Main » Articles » E-Learn » Calculus II

    Integration as a sum

    ===================================================

     

     

     

    Manipulate[
     With[{ans = Integrate[func, {x, x1, x2}]}, 
      Show[Graphics[
        Plot[func, {x, -2, 2}, 
         PlotLabel -> 
          Style[Framed[Row[{"Area = ", NumberForm[ans, {2, 4}]}]], 
           If[ans > 0, RGBColor[1, .47, 0], RGBColor[.12, .61, .78]], 12, 
           "Label"] ]], 
       Graphics[
        If[x1 == x2, {}, 
         Plot[func, {x, x1, x2}, Filling -> 0 , 
          FillingStyle -> 
           If[ans > 0, RGBColor[1, .47, 0], RGBColor[.12, .61, .78]]]]], 
       ImageSize -> {350, 350}]], {{x1 , 0, "x1"}, -2, 2, 
      Appearance -> "Labeled"}, {{x2, 1, "x2"}, -2, 2, 
      Appearance -> "Labeled"} , {{func , f1, 
       "curve"} , {f1 -> "constant line", f2 -> "sine wave", 
       f3 -> "parabola"}, ControlType -> SetterBar}, 
     SaveDefinitions -> True ]

    Category: Calculus II | Added by: webmaster (2016-02-13)
    Views: 408 | Tags: integration as a sum, área, la integración como suma
    SOFT JAR © 2024
    Create a free website with uCoz