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 Solvers540
Suggested Problems
-
Swap the first and last columns
22655 Solvers
-
2540 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2840 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1309 Solvers
-
Number of 1s in a binary string
11083 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!