Problem 1. Times 2 - START HERE
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Examples:
Input x = 2 Output y is 4
Input x = 17 Output y is 34
Solution Stats
Problem Comments
-
125 Comments
Show
122 older comments
Anand
on 6 Feb 2025
mast tha bhai
Ilya
on 26 Mar 2025 at 4:40
my dog solved this with his paws tied behind his back, easy
Emma
on 22 Apr 2025 at 1:00
Good Work!
Solution Comments
Show commentsGroup

University Union CODY event
- 14 Problems
- 9 Finishers
- Times 2 - START HERE
- Calculate Amount of Cake Frosting
- Convert from Fahrenheit to Celsius
- Find the Oldest Person in a Room
- Solve a System of Linear Equations
- Calculate a Damped Sinusoid
- Plot Damped Sinusoid
- Crop an Image
- Find the Best Hotels
- Calculate Inner Product
- Rescale Scores
- Longest run of consecutive numbers
- Find the longest sequence of 1's in a binary sequence.
- Draw a '8' in a zero matrix!
Problem Recent Solvers105613
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!