Skip to main content

Posts

Showing posts from February, 2018

ELECTROMAGNET SMALL PARAGRAPH

                        ELECTROMAGNET An electromagnet is a type of magnet in which the magnetic field is produced by an electric current. The magnetic field disappears when the current is turned off. Electromagnets usually consist of a large number of closely spaced turns of wire that create the magnetic field. The wire turns are often wound around a magnetic core made from a ferromagnetic or ferromagnetic material such as iron; the magnetic core concentrates the magnetic flux and makes a more powerful magnet. The main advantage of an electromagnet over a permanent magnet is that the magnetic field can be quickly changed by controlling the amount of electric current in the winding. However, unlike a permanent magnet that needs no power, an electromagnet requires a continuous supply of current to maintain the magnetic field. Electromagnets are widely used as components of other electrical devices, such as motors, generators, relays, loudspeakers, hard disks,MRI machines, scientific

Qbasic code for a simple calculator

CLS SCREEN 13 PRINT "CALCULATOR-" PRINT "ENTER YOUR EXPRESSION" PRINT "EXAMPLE-58 * 20" PRINT "THE TERMS SHOULD BE SEPARATED BY SPACE OR ERROR WILL OCCUR" INPUT "ENTER YOUR EXPRESSION-" ; EXP$ EXP$ = EXP$ + " " INDEX = 1 DIM TERMS( 3 ) AS INTEGER FOR I = 1 TO LEN(EXP$)      CURRENTTOKEN$ = MID$(EXP$, I, 1 )      IF CURRENTTOKEN$ = " " THEN          IF INDEX = 2 AND OPERATION$ = "" THEN              OPERATION$ = TERMCURRENT$          ELSE              TERMS(INDEX) = VAL(TERMCURRENT$)              INDEX = INDEX + 1          END IF          TERMCURRENT$ = ""      ELSE          TERMCURRENT$ = TERMCURRENT$ + CURRENTTOKEN$      END IF NEXT I SELECT CASE OPERATION$      CASE "+"          R = TERMS( 1 ) + TERMS( 2 )      CASE "*"          R = TERMS( 1 )

Infinity war

1.https://youtu.be/yDKfzqHAEW0 2.https://youtu.be/F1XwIgIPx0g 3.https://youtu.be/MTd-LWeBbKo 4.https://youtu.be/w2ICSJ-WYL0 5.https://youtu.be/zyObfAHmYyE 6.https://youtu.be/A6FS2UoWtBs 7.https://youtu.be/7aID_MvRIF4 8.https://youtu.be/OocIP_ZpvxY 9.https://youtu.be/IFl9miYlq40 10.https://youtu.be/KjanXzRhhlw

HTML

Basic Tags <html> </html> Creates an HTML document <head> </head> Sets off the title & other info that isn't displayed <body> </body> Sets off the visible portion of the document <title> </title> Puts name of the document in the title bar; when bookmarking pages, this is what is bookmarked Body attributes (only used in email newsletters) <body bgcolor=?> Sets background color, using name or hex value <body text=?> Sets text color, using name or hex value <body link=?> Sets color of links, using name or hex value <body vlink=?> Sets color of visited links, using name or hex value <body alink=?> Sets color of active links (while mouse-clicking) Text Tags <pre> </pre> Creates preformatted text <h1> </h1> --> <h6> </h6> Creates headlines -- H1=largest, H6=smallest <b> </b> Creates bold text (s