Home Page


BASIC Handbook

Basic2 Commands
Disk Drives
PEEK's and POKE's
RAM Memory Map
ROM Memory Map
Screen Display
Sprite
ASCII and CHR$ Codes

eMail
email5-commodorecheetah.co.uk

Note: You will need to replace the '-' with the @ symbol.
This is to minimize spam.

My BASIC Quick Reference Guide

COS()
Abbreviation:

TYPE: Function
FORMAT: COS (<number>)

Action: This mathematical function calculates the cosine of the number, where the number is an angle in radians.

EXAMPLES of COS Function:

10 PRINT COS(0)
20 X = COS(Y* {pi} /180) : REM CONVERT DEGREES TO RADIANS


Commodore Cheetah made by Allen Monks, started in the year 2000.