%% IDENTIFICATION % Autar Kaw % Section 002 % Fall 2012 % Due Date and Time: September 9, 2012 clc clear all %% Chapter 5 - Exercise X A=[2 3 4 ; 5.2 6 7; 8 9 1]; disp('A matrix') disp(A) B=[4 6; 78 5;1 1]; disp('B matrix') disp(B) C=A*B; disp('A*B') disp(C) %% Chapter 6 - Exercise XX syms t v=t^2+log(2*t); fprintf('Expression for velocity %s',char(v)) tt=5; v5=double(subs(v,t,tt)); fprintf('\nValue of velocity at t= %g is = %g',tt,v5)