## BASIC PROGRAMMING II

BASIC PROGRAMS FIND SUQARE ROOT OF NUMBERS 10 REM FIND SUQARE ROOT OF NUMBERS 20 INPUT “ENTER FIRST NUMBER OF RANGE”; A 30 INPUT “ENTER LAST NUMBER OF RANGE”; B 40 FOR I = A TO B 50 PRINT “THE SUARE ROOT OF “; A; “IS “;SQR(A) 60 NEXT A 70 END FIND SQUARE ROOT OF S ROUNDED UP TO AN INTEGER 10 REM FIND SUQARE ROOT S 20 INPUT “ENTER NUMBER”; A 30 S = INT(SQR(A)) 40 PRINT “THE SQUARE ROOT OF S ROUNDED OFF “;A; “IS “; S 50 END FIND THE COSINE OF KNOW VALUES 10 REM FIND TANGENT OF GIVEN ANGLE 20 INPUT “ENTER NUMBER”; A 30 S = TAN(A) 40 PRINT “THE TANGENT OF “;A; “IS “; S 50 END PLOT SINE WAVE CURVE We can get the y position of sine wave at any of these 360 points by using the… Read More »BASIC PROGRAMMING II