1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Time averaged intensity, derivation and vector plot

  1. Sep 27, 2015 #1
    1. The problem statement, all variables and given/known data
    I'm trying to graph this equation:

    upload_2015-9-27_10-2-53.png

    I'm trying to use the champ command in scilab to graph this from -π to π on the kx and ky axes.
    But this requires the x and y components of the vector as arguments. How do I get those components, is there a command for that? There's also the quiver command in matlab but that also requires components. I have scilab so that would help more, but you can use matlab if you really want to.

    I'm also trying to figure out how to get that equation from this one upload_2015-9-27_10-18-21.png and this one upload_2015-9-27_10-18-35.png
    Any pointers in that area would be much appreciated.


    2. Relevant equations
    See above



    3. The attempt at a solution

    For the derivation, I don't really know but this might be helpful: 6289Q.jpg
    Also it might use euler's identity, the one that relates complex exponential as cos + j*sin.

    This is how the graph is supposed to look.

    upload_2015-9-27_10-15-21.png

    The following scilab code doesn't work:

    po=1;
    rho= 1.21 //kg/m^3
    c=343 //m/s

    I=po^2/(2*rho*c);
    kx=-%pi:%pi;
    ky=-%pi:%pi;
    Ix=-sin(kx).*cos(ky);
    Iy=cos(kx).*sin(ky);
    champ(kx, ky, I.*Ix, I.*Iy )



     
    Last edited: Sep 27, 2015
  2. jcsd
  3. Oct 2, 2015 #2
    Thanks for the post! This is an automated courtesy bump. Sorry you aren't generating responses at the moment. Do you have any further information, come to any new conclusions or is it possible to reword the post?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Time averaged intensity, derivation and vector plot
Loading...