Community Profile

# Tara Sherbondy

Last seen: 26 Tage ago Active since 2022

#### Content Feed

View by

Solved

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:...

etwa 2 Monate ago

Solved

Given input in radians, output to degrees

etwa 2 Monate ago

Solved

Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

etwa 2 Monate ago

Solved

Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

etwa 2 Monate ago

Solved

Narcissistic problem
How many likes has this problem?

etwa 2 Monate ago

Solved

Basic commands - Greatest common divisor
Please write a function, which, will put as output greatest common divisor. Example: A = [-5 17; 10 0];...

etwa 2 Monate ago

Solved

Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

etwa 2 Monate ago

Solved

Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

etwa 2 Monate ago

Solved

Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

etwa 2 Monate ago

Solved

Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

etwa 2 Monate ago

Solved

Square a Number
Given an input x, return y, which is equal to the square of x.

etwa 2 Monate ago

Solved

Calculate the sum of two numbers. Example input = [2 3] output = 5

etwa 2 Monate ago

Solved

Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

etwa 2 Monate ago

Solved

Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

etwa 2 Monate ago

Solved

Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

2 Monate ago

Solved

Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

2 Monate ago

Solved

Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

2 Monate ago

Solved

MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

2 Monate ago

Solved

multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

2 Monate ago

Solved

MATLAB Basic: rounding III

2 Monate ago

Solved

MATLAB Basic: rounding IV

2 Monate ago

Solved

The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

2 Monate ago

Solved

Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<https://imgur...

2 Monate ago

Solved

Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...

2 Monate ago

Solved

Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<https://imgur.com/x6hT6mm.png>> ...

2 Monate ago

Solved

Back to basics 12 - Input Arguments
Covering some basic topics I haven't seen elsewhere on Cody. Return a value equal to the number of input arguments to the fun...

2 Monate ago

Solved

Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

2 Monate ago

Solved

Determine the square root
Determine the square root of the value the user has entered, n.

2 Monate ago

Solved

find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

2 Monate ago

Solved

kmph to mps
convert kilometer per hour to meter per second

2 Monate ago