Author: misamaliraza94
-
Extensive Libraries
Dart consists of many useful inbuilt libraries including SDK (Software Development Kit), core, math, async, math, convert, html, IO, etc. It also provides the facility to organize the Dart code into libraries with proper namespacing. It can reuse by the import statement.
-
Concurrency
Dart is an asynchronous programming language, which means it supports multithreading using Isolates. The isolates are the independent entities that are related to threads but don’t share memory and establish the communication between the processes by the message passing. The message should be serialized to make effective communication. The serialization of the message is done…
-
Object-Oriented
Dart is an object-oriented programming language and supports all oops concepts such as classes, inheritance, interfaces and optional typing features. It also supports advance concepts like mixin, abstract, classes, reified generic, and robust type system.
-
Platform Independent
Dart supports all primary operating systems such as Windows, Linux, Macintosh, etc. The Dart has its own Virtual Machine which known as Dart VM, that allows us to run the Dart code in every operating system.
-
Open Source
Dart is an open-source programming language, which means it is freely available. It is developed by Google, approved by the ECMA standard, and comes with a BSD license.
-
Dart Features
The Dart is an object-oriented, open-source programming language which contains many useful features. It is the new programming language and supports an extensive range of programming utilities such as interface, collections, classes, dynamic and optional typing. It is developed for the server as well as the browser. Below is the list of the important Dart…
-
Coulomb’s Law
Coulomb’s law formula Coulomb’s law calculates the electric force F in newtons (N) between two electric charges q1 and q2 in coulombs (C) with a distance of r in meters (m): F is the force on q1 and q2 measured in newtons (N). k is Coulomb’s constant k = 8.988×109 N⋅m2/C2 q1 is the first charge in coulombs (C). q2 is the second charge in coulombs (C). r is the distance between the 2 charges…
-
Kirchhoff’s Laws
Kirchhoff’s Current Law (KCL) This is Kirchhoff’s first law. The sum of all currents that enter an electrical circuit junction is 0. The currents enter the junction have positive sign and the currents that leave the junction have a negative sign: Another way to look at this law is that the sum of currents that…
-
Voltage Divider
Voltage divider rule for DC circuit For a DC circuit with constant voltage source VT and resistors in series, the voltage drop Vi in resistor Ri is given by the formula: Vi – voltage drop in resistor Ri in volts [V]. VT – the equivalent voltage source or voltage drop in volts [V]. Ri – resistance of resistor Ri in ohms [Ω]. R1 – resistance…
-
Ohm’s Law
Ohm’s law shows a linear relationship between the voltage and the current in an electrical circuit. The resistor’s voltage drop and resistance set the DC current flow through the resistor. With water flow analogy we can imagine the electric current as water current through pipe, the resistor as a thin pipe that limits the water…