This preview shows page 1. Sign up to view the full content.
Unformatted text preview: 3. Finally, evaluate df 3 for ( a,b,x ) = (1 , 2 ,π ). Solution: % 1 >> syms a b c x >> f = c*(sin(a*x)*cos(b*x)); % Do not have to have f; could put directly into int >> g = int(f,x,0,2*pi); >> h = simple(g); % or h = simplify(g) >> ans_1 = subs(h,[a,b,c],[1,2,3]);% 2 >> syms a b x >> f = a*x^3 + x*sin(b*x); % Do not have to have f; could put directly into diff >> df_3 = diff(f,x,3); >> df_3 = simple(df_3); % or df_3 = simplify(df_3) >> ans_2 = subs(df_3,[a,b,x],[1,2,pi]);...
View
Full
Document
This note was uploaded on 02/14/2010 for the course ASE 201 taught by Professor Hayes during the Spring '07 term at University of Texas.
 Spring '07
 Hayes

Click to edit the document details