find code for divergence and curl

10 visualizzazioni (ultimi 30 giorni)
Almuathir Alkindi
Almuathir Alkindi il 14 Apr 2018
Commentato: John BG il 14 Apr 2018
6- (a)Write a MATLAB code that can find the divergence of a velocity vector field A from a closed cylinder encloded by ρ = 5, 0 ≤ φ ≤ 2π, and z = 5, where A = ρ^2 aρ + 2z az. Plot the vector field A and its divergence. Comment on your results.
(b)Write a MATLAB code to find the curl of vector field H = x^3 ax + 2xyz ay. Plot the vector field H and its curl, ∇ × H. Comment on your results.
  2 Commenti
the cyclist
the cyclist il 14 Apr 2018
This looks like your homework is to write the code, not find the code. You'll learn more that way.
If you post what you have tried yourself, people on this forum will generally try to help you. But they will not do your homework for you.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by