Python code for ACOS function in excel

How to plot Y=ACOS(X) with python code in excel

import math 

import numpy as np

import matplotlib.pyplot as plt

x =np.linspace(–1,+1, 100)



for i in range(lenx):     


i +=1    


ACOS function

Acos function returns the arccosine of a number, in radians in the range 0 to Pi. The arccosine is the angle whose cosine is the Number.

ACOS arguments 

This function has just 1 Argument.

The argument of ACOS function is number.

Number field is the cosine of the angle you want and must be from -1 to +1.

The argument of ACOS function is required and not optional.

ACOS(number) = number

Leave a Reply

Your email address will not be published. Required fields are marked *