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.

ex212.m
% ex212.m:  Solve y+2*y-2*sin(x)^2=0
clear all 
y=dsolve('D2y+2*y-2*sin(x)^2=0','x')  
y=simple(y); pretty(y)			 
% Solve and plot solution with initial conditions
y=dsolve('D2y+2*y-2*sin(x)^2=0', 'y(0)=1, Dy(0)=0' , 'x');  
ezplot(y, [0 10], 1),  grid on,  title('y(0)=1, Dy(0)=0');
y=dsolve('D2y+2*y-2*sin(x)^2=0', 'y(0)=0, Dy(0)=1' , 'x');  
ezplot(y, [0 10], 2),  grid on,  title('y(0)=0, Dy(0)=1');

Contact us