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
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?
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
Thanks a lot sir for considering request to start FORTRAN series. I am following this
Great!
Python and R is better option for solving mathematical and statistical problems, nowadays.
Also Julia
Should you learn the Julia programming language?
th-cam.com/video/8jRyHBrwwTs/w-d-xo.html
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.
Great Job!
Thanks
Sr, when is forman new lecture coming!!
Saturday
@@Drganguli thank you sr
Sr is coming is (-) 1.19644. 1st Where P value .
If there is a problem try other values
@@Drganguli okay! Let try once again! It
Sir, at 8.03 , i think IDEN = MOD(I/J)
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.
@@Drganguli Thanks for correcting me sir
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.
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.
There are bindings for C and Fortran, do some online searching and you will find them.
@@ssmith5048 ok great
@@Drganguli Thank you for explaining.
@@ssmith5048 Thanks for the tip.