matlab3commands

matlab3commands - 1934613350591413/1125899906842624*exp(1)...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
syms x y int(int(x*(y^2-x^2)^(1/2),x,0,y),0,1) syms x y int(int(exp(x),x,1,log(y)),1,exp(1)) syms v u f = inline(vectorize((u*sqrt((v*u)^2-u^2))*u),'v','u') dblquad(f,0,1,0,1) f = inline(vectorize((sqrt(u^4+(u*v)^4))*u)) dblquad(f,0,1,0,1) >> syms x y >> int(int(x*(y^2-x^2)^(1/2),x,0,y),0,1) ans = 1/12 >> syms x y >> int(int(exp(x),x,1,log(y)),1,exp(1)) ans = 8099090798701270632748702911993/2535301200456458802993406410752-
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1934613350591413/1125899906842624*exp(1) >> syms v u >> f = inline(vectorize((u*sqrt((v*u)^2-u^2))*u),'v','u') f = Inline function: f(v,u) = u.^2.*(v.^2.*u.^2-u.^2).^(1./2) >> dblquad(f,0,1,0,1) ans = 0.0000 + 0.1963i >> f = inline(vectorize((sqrt(u^4+(u*v)^4))*u)) f = Inline function: f(u,v) = (u.^4+v.^4.*u.^4).^(1./2).*u >> dblquad(f,0,1,0,1) ans = 0.2724...
View Full Document

This note was uploaded on 04/09/2008 for the course MATH 241 taught by Professor Wolfe during the Spring '08 term at Maryland.

Ask a homework question - tutors are online