Find Logic 19 - MATLAB Cody - MATLAB Central

Problem 47340. Find Logic 19

Difficulty:Rate
Guess the logic!
logic(0,1) = 1
logic(1,1) = 4
logic(1,2) = 9
logic(2,2) = 16
logic(2,3) = 25
logic(4,1) = 25
logic(5,1) = 36
Make a function logic(a,b) which will return value according to problem.

Solution Stats

52.07% Correct | 47.93% Incorrect
Last Solution submitted on Feb 27, 2025

Problem Comments

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
2
4

Problem Recent Solvers550

Suggested Problems

More from this Author40

Community Treasure Hunt

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

Start Hunting!
Go to top of page