Fortran Tutorial Math Functions, Complex Numbers: Lecture 2

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ก.ย. 2024
  • Fortran math functions performing exponential, log, trigonometric, hyperbolic, and integer to float conversions are explained with computer programs. The quadratic equation is solved using a Fortran code for the case where complex roots exist. The centigrade to Fahrenheit temperature conversion is also written as a Fortran program. An online Fortran compiler is used. Fortran is used in scientific and numerical computing and in many national labs.
    #fortran

ความคิดเห็น • 25

  • @academicgladiator
    @academicgladiator 6 วันที่ผ่านมา +1

    Sir, I am repeatedly receiving negative mails when I am trying to approach the European professors for a PhD position. How to handle so many rejections?

    • @Drganguli
      @Drganguli  6 วันที่ผ่านมา

      Unfortunately this is often the case as they are deluged with requests from students around the world. This video may help you
      How to avoid the PhD blues?
      th-cam.com/video/dmj0IgCNUKI/w-d-xo.html

  • @ALOKSRK1
    @ALOKSRK1 8 วันที่ผ่านมา +1

    Thanks a lot sir for considering request to start FORTRAN series. I am following this

    • @Drganguli
      @Drganguli  8 วันที่ผ่านมา

      Great!

  • @somnathghosal6954
    @somnathghosal6954 8 วันที่ผ่านมา +1

    Python and R is better option for solving mathematical and statistical problems, nowadays.

    • @Drganguli
      @Drganguli  8 วันที่ผ่านมา +1

      Also Julia
      Should you learn the Julia programming language?
      th-cam.com/video/8jRyHBrwwTs/w-d-xo.html

    • @ssmith5048
      @ssmith5048 8 วันที่ผ่านมา +1

      If you look under the hood of the "math" libraries of python such as Numpy and Scipy you will find C/C++ and , FORTRAN. I can only say that you must be doing fairly simple math and stats problems if you believe those two languages are better options. They are fine for most common number crunching (particulalry where performance is not an issue), but when you get into serious number crunching, neither of those languages are in the same league as Fortran. I believe R also has some libraries avail that use Fortran as well, but I may be mistaken on that point. Either way, Fortran will run circles around them both for seriousl calculation and performance intensive requirements.

  • @cordyjourvelitoua-tsele5415
    @cordyjourvelitoua-tsele5415 8 วันที่ผ่านมา +1

    Great Job!

    • @Drganguli
      @Drganguli  8 วันที่ผ่านมา

      Thanks

  • @Anirban2050
    @Anirban2050 2 วันที่ผ่านมา +1

    Sr, when is forman new lecture coming!!

    • @Drganguli
      @Drganguli  2 วันที่ผ่านมา +1

      Saturday

    • @Anirban2050
      @Anirban2050 2 วันที่ผ่านมา

      @@Drganguli thank you sr

  • @Anirban2050
    @Anirban2050 7 วันที่ผ่านมา +1

    Sr is coming is (-) 1.19644. 1st Where P value .

    • @Drganguli
      @Drganguli  7 วันที่ผ่านมา

      If there is a problem try other values

    • @Anirban2050
      @Anirban2050 6 วันที่ผ่านมา

      @@Drganguli okay! Let try once again! It

  • @ALOKSRK1
    @ALOKSRK1 8 วันที่ผ่านมา +1

    Sir, at 8.03 , i think IDEN = MOD(I/J)

    • @Drganguli
      @Drganguli  8 วันที่ผ่านมา

      See this link
      gcc.gnu.org/onlinedocs/gfortran/MOD.html#:~:text=Description%3A,division%20of%20A%20by%20P.&text=Shall%20be%20a%20scalar%20of%20type%20INTEGER%20or%20REAL%20.&text=Shall%20be%20a%20scalar%20of%20the%20same%20type%20and%20kind,and%20not%20equal%20to%20zero.

    • @ALOKSRK1
      @ALOKSRK1 8 วันที่ผ่านมา

      @@Drganguli Thanks for correcting me sir

  • @nireshmaharaj2682
    @nireshmaharaj2682 8 วันที่ผ่านมา +1

    This is a great language but is it better to do our math problems in fortran and then use that output in our c++ programs? I'm trying to figure out how can I use fortran if I already use C++. I want some way to use the internal math logic of fortran in C++. At the same time I wonder why scikit was developed in C++ when it should have been developed in Fortran.

    • @Drganguli
      @Drganguli  8 วันที่ผ่านมา

      Fortran and C++ have different aims. Fortran is only for numerical computing. C++ is a general purpose language. But there may be ways to use Fortran code with C++ externals. But most people go with one or the other.

    • @ssmith5048
      @ssmith5048 8 วันที่ผ่านมา +1

      There are bindings for C and Fortran, do some online searching and you will find them.

    • @Drganguli
      @Drganguli  8 วันที่ผ่านมา

      @@ssmith5048 ok great

    • @nireshmaharaj2682
      @nireshmaharaj2682 8 วันที่ผ่านมา

      @@Drganguli Thank you for explaining.

    • @nireshmaharaj2682
      @nireshmaharaj2682 8 วันที่ผ่านมา

      @@ssmith5048 Thanks for the tip.