Recent content by rk2ray

  1. R

    Complete Random Design vs RCBD

    I want to understand the difference between Completely Randomized Design and Randomized Complete Block Design. Say for this example how we can categorize? An experiment is conducted to compare the starting salaries of male and female college graduates who find jobs. Pairs are formed by...
  2. R

    How Do You Calculate Fields of a Hertzian Dipole Using MATLAB?

    Homework Statement a hertzian dipole antenna has a length of 5 mm and carries a 50 MHz current of 2 A. Find the magnitude of the electric and magnetic fields at a distance 15 cm away from the antenna and theta=30 degree. Homework Equations Attached the equations The Attempt at a...
  3. R

    Fortran Why Is My FORTRAN If/Else Statement Not Working Correctly?

    thank you borg. I am learning about Fortran. I'm a rookie here. But your tip really helps.
  4. R

    Comp Sci Fortran DO Statements (how many loop times)

    Hello, Examining the following DO statements and determining how many times each loop will be executed. Assume that all loop index variables are integers. (a) DO irange = -32768, 32767 (b) DO j = 100, 1, -10 (c) DO count = 2, 3, 4 (d) DO index = -4, -7 (e) DO i = -10, 10, 10 The loop will...
  5. R

    Fortran Why Is My FORTRAN If/Else Statement Not Working Correctly?

    So it should be...the following code..am i right? IF ( temp > 103 ) THEN WRITE (*, *) NTemperature dangerously highN ELSE IF ( temp > 99.5) THEN WRITE (*, *) NTemperature slightly highN ELSE IF ( temp > 97.5) THEN WRITE (*, *) NTemperature normalN ELSE IF ( temp < 97.5) THEN...
  6. R

    Fortran Why Is My FORTRAN If/Else Statement Not Working Correctly?

    I am not able to get what's wrong in below. IF ( temp < 97.5 ) THEN WRITE (*, *) NTemperature below normalN ELSE IF ( temp > 97.5) THEN WRITE (*, *) NTemperature normalN ELSE IF ( temp > 99.5) THEN WRITE (*, *) NTemperature slightly highN ELSE IF ( temp > 103.0) THEN WRITE (*, *)...
  7. R

    Fortran FORTRAN PROGRAM FOR MEANS (Beginner)

    I am learning Fortran and I am able to write code for 3 number means. Now For computing it for set of numbers is not getting in my mind. I am not able to do it. Writing a single Fortran program that calculates the arithmetic mean, rms (root-mean-square) average, geometric mean, and harmonic...
  8. R

    Fortran How Can I Improve My Fortran Program for Calculating Different Types of Means?

    I am aware of the hand calculations. I am new to fortran programming language and I have written basic programs for average calculation of three number. But I am stuck with this. I was trying to write single Fortran program that calculates the arithmetic mean, rms (root-mean-square) average...
  9. R

    Fortran How Can I Improve My Fortran Program for Calculating Different Types of Means?

    Trying to write a single Fortran program that calculates the arithmetic mean, rms (root-mean-square) average, geometric mean, and harmonic mean for a set of numbers (for example - 4 4 4 4 4). I don't know if I am doing the write way. Please guide me. PROGRAM ComputingMeans IMPLICIT...
Back
Top