MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Generate pi using logarithm

91 correct solutions
12 incorrect solutions

Last solution submitted on May 01, 2015

1 player likes this problem

1 player likes this solution

4 Comments

Show
1 older comment

HARISANKAR PS
on 31 Dec 2012

read question carefully!!!

Khaled Hamed
on 31 Dec 2012

Design test case carefully....

Richard Zapor
on 1 Jan 2013

To avoid non-desired usages, like pi, it is necessary to not place pi in the function name. The function can be searched for forbidden function usages. There is an aspect of cat and mouse in Cody Challenges.

David
on 7 Jan 2013

I agree. Disallow usage of PI for fairer scoring of your problem. Neat question!

1 Comment