Register to reply

Another matlab question; triple integrals

by lmannoia
Tags: integrals, matlab, triple
Share this thread:
Apr18-11, 11:25 AM
P: 32
1. The problem statement, all variables and given/known data
The question is to use matlab to evaluate a triple integral in spherical coordinates to find the mass density of the solid inside the cone z = (3x^2 + 3y^2)^.5 and below z = 5 where the mass density at (x,y,z) is equal to the z coordinate of the point.

2. Relevant equations
This is what I was doing. I'm using p for rho, f for phi, and t for theta to type it into matlab. I'm saying that p goes from 3 (or 0, i'm not sure....) to 5sec(f). Then f goes from 0 to pi/6 and t goes from 0 to 2pi. I'm integrating p^3*cos(f)*sin(t). I typed it in as:
syms p f t
but matlab tells me that the answer is 0, which definitely isn't true, which means that I did something wrong somewhere! I know this might be hard to follow, but can someone spot my mistake?

3. The attempt at a solution
Phys.Org News Partner Science news on
Mysterious source of ozone-depleting chemical baffles NASA
Water leads to chemical that gunks up biofuels production
How lizards regenerate their tails: Researchers discover genetic 'recipe'

Register to reply

Related Discussions
Triple Integrals Calculus & Beyond Homework 4
Triple integrals Calculus & Beyond Homework 2
Question about double (and triple) integrals over a symmetric area Calculus & Beyond Homework 2
Triple Integrals. Need help ASAP! I cant figure out why 2 integrals arent matching up Calculus & Beyond Homework 1
Using Triple Integrals Calculus 5