No BSD License  

Highlights from
Alternative Mathematics using MATLAB 7

image thumbnail

Alternative Mathematics using MATLAB 7

by

 

13 Mar 2003 (Updated )

Self-instructive text on undergraduate algebra, statistics, differential and integral calculus.

ex162.m
% ex162.m:  Simpson Formula
syms x x1 h f1 f2 f3 A B C
eq1=A*x1^2+B*x1+C-f1;									% eq1=0
eq2=A*(x1+h)^2+B*(x1+h)+C-f2;
eq3=A*(x1+2*h)^2+B*(x1+2*h)+C-f3;
[A0 B0 C0]=solve(eq1,eq2,eq3, A,B,C);
integral=int(A0*x^2+B0*x+C0, x, x1, x1+2*h);
area=simplify(integral)

Contact us