Vectors forms and partial derivatives?

1 view (last 30 days)
Anas Deiranieh's
Anas Deiranieh's on 10 Apr 2018
Answered: Anas Deiranieh's on 11 Apr 2018
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.

Answers (1)

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

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!