Cody

Problem 45406. Yoonir - 01

Solution 2187366

Submitted on 1 Apr 2020 by Gergely Patay
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
assert(abs(yoonir_02(10)-112.257)<0.001)

ans = 112.2570

2   Pass
assert(abs(yoonir_02(3)-10.1031)<0.001)

ans = 10.1031

3   Pass
assert(abs(yoonir_02(pi)-11.0793)<0.001)

ans = 11.0793

4   Pass
assert(abs(yoonir_02(pi^5)-105126.4832)<0.001)

ans = 1.0513e+05

Suggested Problems

More from this Author149

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!