123.875
to base 2 (i.e. to binary form).
3
x + 3x = 6x - 1 .
x = 0 .
0
x = 1 ?
0
Explain why or why not.
| x | y |
|---|---|
| 0 | 0 |
| 1/2 | 1 |
| -1 | -1 |
2
/ dx
| ---
| 2
/ x
1
using lower sums with stepsize h=1/2.
function [f] = func(x), which can be used to evaluate the function f(x) at any real number x.
[I] = trap(a,b,n) % Inputs: % a is the left endpoint of the interval % b is the right endpoint of the interval % n is the no. of subintervals in the mesh % Output: % I is the approximation to the definite % integral h= (b-a)/n;