# BASIC** PROGRAMMING LANGUAGE**

CONTENT

- BASIC Built-in Functions
- BASIC Notation/Symbols
- BASIC Programs to Solve Problems

** **

**BASIC Built-in Functions**

These are Mathematical functions that are built into BASIC. Some common BASIC functions are shown in the table below:

**BASIC Notation/Symbols**

(i)√b^{2 }-4ac/2a

**Solution:** `((b^2-4*a*c)^(1/2))/(2*a) or ((b**2-4*a*c)^(1/2))/(2*a)`

(ii) (x-y)/(x+y)

**Solution:** `(x-y)/(x+y)`

(iii) (a+b) + c/Sin d

**Solution:** `(a+b) + c/Sin (d)`

(iv)e^{x+y }–Sin (x +ny)

**Solution:** `(e^x+y- Sin(x+n*y))`

(v) b = 1/4ac

**Solution:** `b=1/4 (a*c)`

(vi) A=∏r²

**Solution:** `PI*r**2`

or `PI*r^2`

** **

**EVALUATION**

- What is the meaning of these BASIC functions? LOG, TAN, and ABS.
- Which Mathematical operator has two notations in BASIC?

**BASIC Programs to Solve Problems**

**Example 1**: Write a BASIC program to find the square root of numbers within a given range.

You are viewing an excerpt of this lesson. Subscribing to the subject will give you access to the following:

- NEW:
**Download**the entire term's content in**MS Word**document format (1-year plan only) - The complete lesson note and evaluation questions for this topic
- The complete lessons for the subject and class (First Term, Second Term & Third Term)
- Media-rich, interactive and gamified content
- End-of-lesson objective questions with detailed explanations to force mastery of content
- Simulated termly preparatory examination questions
- Discussion boards on all lessons and subjects
- Guaranteed learning