Search This Blog

Featured Post

Machine Learning, Big Data, AI, Deep Learning

Thursday, May 17, 2018

18/5/2018 Electricity

Voltage

newton - The newton (symbol: N) is the International System of Units (SI) derived unit of force. One newton is the force needed to accelerate one kilogram of mass at the rate of one metre per second squared in direction of the applied force.


F = m ⋅ a
1N = 1 kg ⋅ 1 m/s2


Joule - is a derived unit of energy.  It is equal to the energy transferred to (or work done on) an object when a force of one newton acts on that object in the direction of its motion through a distance of one metre

Watt - a unit of power. It is defined as a derived unit of 1 joule per second,[1] and is used to quantify the rate of energy transfer.

Ohm's law -  states that the current through a conductor between two points is directly proportional to the voltage across the two points.

I = V / R

dBm - unit of level used to indicate that a power ratio is expressed in decibels (dB) with reference to one milliwatt (mW)

Rectifier -  is an electrical device that converts alternating current (AC), which periodically reverses direction, to direct current (DC), which flows in only one direction.

AC (Alternating Current)

DC (Direct Current)

Sunday, May 13, 2018

14/5/2018 Communication using waves

Frequency, wavelength, amplitude and wave speed



The amplitude, a, of a wave is the distance from the centre line (or the still position) to the top of a crest or to the bottom of a trough. Be careful with this quantity - the centre line is not always given in a diagram. Amplitude is measured in metres (m). The greater the amplitude of a wave then the more energy it is carrying.

The wavelength, λ, of a wave is the distance from any point on one wave to the same point on the next wave along. (The symbol is a Greek letter, 'lambda'.) To avoid confusion, it is best to measure wavelength from the top of a crest to the top of the next crest, or from the bottom of a trough to the bottom of the next trough. Wavelength is also measured in metres (m) - it is a length after all.

The frequency, f, of a wave is the number of waves passing a point in a certain time. We normally use a time of one second, so this gives frequency the unit hertz (Hz), since one hertz is equal to one wave per second.

Don't get confused with this quantity frequency. It is not a distance traveled by waves, nor is it a speed, although it is linked to both of these quantities. For water waves and sound waves the unit hertz is usually good enough but radio and TV waves have such a high frequency that the kilohertz (kHz) or even the megahertz (MHz) are better units.

1 kHz = 1,000 Hz
1 MHz = 1,000,000 Hz

The speed (or sometimes you might see it called velocity) of a wave, v, is how far the wave travels in a certain time.

Wave speed is measured in metres per second (m/s).

All the electromagnetic waves travel at 300,000,000 metres per second (3 x 108 m/s). Sound travels at about 340 metres per second.

Copy out the following table and complete it to give you a summary of these four important quantities used in waves.
Quantity Symbol Unit
amplitude
wavelength
frequency
wave speed

Wednesday, May 9, 2018

09/05/2018 Database SQL

SQL command


DDL: Data Definition Language

Command Description
create To create new table or database
alter For alteration
truncate Delete data from table
drop To drop a table
rename To rename a table


DML: Data Manipulation Language

Command Description
insert To insert a new row
update To update existing row
delete To delete a row
merge Merging two rows or two tables


TCL: Transaction Control Language

Command Description
commit to permanently save
rollback to undo change
savepoint to save temporarily


DCL: Data Control Language

Command Description
grant grant permission of right
revoke take back permission.


DQL: Data Query Language

Command Description
select retrieve records from one or more table