Riemann integrability: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 12: Line 12:
var plot = brd.create('functiongraph',[f,-3,3]);
var plot = brd.create('functiongraph',[f,-3,3]);
   
   
/*
var os = brd.createElement('riemannsum',[f,  
var os = brd.createElement('riemannsum',[f,  
     function(){ return s.Value();}, function(){ return document.getElementById('sumtype').value;},
     function(){ return n.Value();}, 'upper'},
     function(){return a.Value();},  
     -3,3],  
    function(){return b.Value();}
    ],  
     {fillColor:'#ffff00', fillOpacity:0.3});
     {fillColor:'#ffff00', fillOpacity:0.3});
   
   
/*
brd.createElement('text',[-6,-3,function(){ return 'Sum='+(brd.riemannsum(f,s.Value(),document.getElementById('sumtype').value,a.Value(),b.Value())).toFixed(4); }]);
brd.createElement('text',[-6,-3,function(){ return 'Sum='+(brd.riemannsum(f,s.Value(),document.getElementById('sumtype').value,a.Value(),b.Value())).toFixed(4); }]);
brd.create('text',[3,-3,'`sum_(i=0)^n i^2`']);
brd.create('text',[3,-3,'`sum_(i=0)^n i^2`']);
*/
*/

Revision as of 12:39, 11 May 2010