find code for divergence and curl

10 vues (au cours des 30 derniers jours)
Almuathir Alkindi
Almuathir Alkindi le 14 Avr 2018
Commenté : John BG le 14 Avr 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 commentaires
the cyclist
the cyclist le 14 Avr 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.
John BG
John BG le 14 Avr 2018

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by