Showing posts with label Practice Problems (Solved). Show all posts
Showing posts with label Practice Problems (Solved). Show all posts

How to Find the Roots of a Quadratic Equation

Fomula for Roots of a Quadratic Equation
Solving a quadratic equation for real and complex solutions is at the core of mathematics. Let us see how carry out this process in Fortran.

How to Find the Product of Two 3x3 Matrices

Fortran has an inbuilt function to calculate the matrix product of two matrices. This function is MATMUL( MatrixA,MatrixB). In this post, we will study the simple logic behind how this works. For simplicity, we choose two square matrices  of order 3, so that we do not have to bother about whether the multiplication is feasible. Let us see how this works.