Riemann sum III: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 2: Line 2:
<math>f: R\to R, x\mapsto x^2 </math>
<math>f: R\to R, x\mapsto x^2 </math>
<html>
<html>
<form>Riemann sum type: <select id="sumtype" >
<form>Riemann sum type: <select id="sumtype" onChange="brd.update()">
<option value='left' selected> left
<option value='left' selected> left
<option value='right'> right
<option value='right'> right
Line 35: Line 35:
<source lang="xml">
<source lang="xml">
<jsxgraph width="800" height="400" box="box">
<jsxgraph width="800" height="400" box="box">
</source>
<source lang="javascript">
</source>
<source lang="xml">
</jsxgraph>
</jsxgraph>
</source>
</source>

Revision as of 15:29, 2 February 2010

Appromximate the integral of [math]\displaystyle{ f: R\to R, x\mapsto x^2 }[/math]

Riemann sum type:

The underlying JavaScript code

<jsxgraph width="800" height="400" box="box">
</jsxgraph>