Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Ankita Saini has Published 319 Articles
Ankita Saini
232 Views
In this article, we will learn how to write a swift program to print the absolute value of complex numbers. Complex numbers are those numbers which express in the form of x+yi, where x and y are real numbers and ‘i’ is an imaginary number known as iota. For example ... Read More
Ankita Saini
164 Views
In this article, we will learn how to write a swift program to print a matrix in Z form. Here we traverse through the first row then the secondary diagonal and then the last row of the matrix to print the z form. For example, 4x4 Matrix − $\mathrm{\begin{bmatrix}4 & ... Read More
Ankita Saini
242 Views
In this article, we will learn how to write a swift program to print an identity matrix. Identity matrix is a square matrix in which the main diagonal elements contain only one and the rest of the elements are 0. For example − $\mathrm{Matrix\:=\:\begin{bmatrix}1 & 0 & 0 & 0 ... Read More
Ankita Saini
241 Views
In this article, we will learn how to write a swift program to multiply two matrices by passing the matrix to a function. A matrix is a mathematical structure in which the elements are present in rows and columns format. For example, the first element is present at the a00 ... Read More
Ankita Saini
850 Views
In this article, we will learn how to write a swift program to multiply two matrices using multi-dimensional arrays. A matrix is a mathematical structure in which the elements are present in rows and columns format. For example, the first element is present at the a00 location, the second ... Read More
Ankita Saini
328 Views
In this article, we will learn how to write a swift program to initialize and print complex numbers. Complex numbers are those numbers which express in the form of x+yi, where x and y are real numbers and ‘i’ is an imaginary number known as iota. Alternatively, we can say ... Read More
Ankita Saini
183 Views
In this article, we will learn how to write a swift program to get the real part from the complex number. Complex numbers are those numbers which express in the form of x+yi, where x and y are real numbers and ‘i’ is an imaginary number known as iota. For ... Read More
Ankita Saini
202 Views
In this article, we will learn how to write a swift program to get the numerator from a rational number. A rational number is a number which represents in the form of n/m where m is not equal to zero. Here n is known as the numerator and m is ... Read More
Ankita Saini
171 Views
In this article, we will learn how to write a swift program to get the imaginary part of the given complex number. Complex numbers are those number which express in the form of x+yi, where x and y are real numbers and ‘i’ is an imaginary number known as iota. ... Read More
Ankita Saini
320 Views
In this article, we will learn how to write a swift program to get the denominator from the rational number. A rational number is a number, which represents in the form of n/m where m is not equal to zero. Here n is known as the numerator and m is ... Read More