Vectors forms and partial derivatives?

1 次查看(过去 30 天)
Hella rusty folks! I'm trying to see if I can code this as a unsolved math function. Or would it be easier if I solved it on paper and then applied the written out formula?
For a scalar function ρ ( x , y , z ) = z^4 cos ( 3 π x ) and a vector v = ( 3 z , − 2 x , 4 y ) , derive the equation for ∇^2 ⋅ ρ. In your written work, write out the formula fully. Also, include a matlab code that allows you to solve for ∇^2 ⋅ ρ, given any values of [x,y,z]. Here enter the answer for [x=3,y=2,z=1]. Keep 3 sig figs.

回答(1 个)

Anas Deiranieh's
Anas Deiranieh's 2018-4-11
Ok, I figured it out.
laplacian works like the ∇^2 (del/nabla) operator and using syms this was do-able.

类别

Help CenterFile Exchange 中查找有关 Discrete Math 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by