Define the variables a and b:


Use these to calculate y:

Hint: remember that:
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers541
Suggested Problems
-
Program an exclusive OR operation with logical operators
803 Solvers
-
Project Euler: Problem 5, Smallest multiple
1685 Solvers
-
862 Solvers
-
6051 Solvers
-
346 Solvers
More from this Author26
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!