Calculation on Euler Arithmetic Complexity using Big O Notation
算术
符号
欧拉公式
计算机科学
数学
数学分析
作者
Nooraida Samsudin
出处
期刊:International journal of advanced trends in computer science and engineering [The World Academy of Research in Science and Engineering] 日期:2020-09-15卷期号:9 (1.4): 460-464
标识
DOI:10.30534/ijatcse/2020/6591.42020
摘要
Compute the complexity of algorithm is such way to describe it efficiency.Algorithm complexity computes the total time taken by an algorithm.It computes the time of the algorithm to run as the length of the input in the function.This paper describes the efficiency of algorithm complexity of Euler Arithmetic.The efficiency is determines by analyzing the run time of the algorithm using Big O.It only compared the complexity of the algorithm using notation of O(1) and O(n).Then, the result is analyzed using best case and worst case.As the result, the algorithm can be solving using both O(1) and O(n).However worst case gives better complexity for thisalgorithm even in small or higher step size compare to best scenario.This is because time taken on the size of the data N decreases as the value of N increases in O(n).