Solved


Let's see how peculiar we can get
The task is to multiply two numbers. But do it in the most peculiar possible way.

3 years ago

Solved


Largest Prime Number
Given a matrix X, find the largest prime number in X.

3 years ago

Solved


Sum of self power series
The series, 1^1,2^2,3^3,4^4,.... Find the sum of such series when x terms are given.

3 years ago

Solved


Geometric Series
Given x and n, give the sum of x ^ 1 to x ^ n. You should not have to use a loop for this.

3 years ago

Solved


Who have the chance?
Obtain a free 10 score in cody, if you have a chance don't change anything if you want to try or do what you can do to gain for ...

3 years ago

Solved


Even or Odd
Write a function which can tell us if the given value x is odd or even. So if x is even return true and if x is odd return false...

3 years ago

Solved


Divisible by 21
Write a function to determine if a number is divisible by 21.

3 years ago

Solved


Find the maxmum value of N*N Matrix
Input x=[1 2 3; 4 5 6; 7 8 9] output: y=9

3 years ago

Solved


Find the minimal value in N*N Matrix
Suppose that we have N by N matrix, we try to find the minimal value in that matrix. examples: Input A=[1 2 3 5 6;52 58 56 45...

3 years ago

Solved


Replace Nan!
Replace Nan in the given vector(v) with 9999.

3 years ago

Solved


Average of even-numbered columns
Given a vector, find the average of even-numbered columns. e.g x = [ 4 6 8 9 1 2 7 ] y = ( 6 + 9 + 2 ) / 3

3 years ago

Solved


Average of odd values
Find the average of odd values in given a matrix. e.g x=[ 4 11 8 ; 9 2 7 ] y =( 11 + 9+ 7 ) / 3

3 years ago

Solved


Determina el número de cifras de un número
Crea una función que te devuelva el número de cifras de un número. Algunos ejemplos para ayudarte serían: El número 125 tie...

3 years ago

Solved


Construyendo matrices parte 2
Construye la siguiente matriz a partir de otros tres vectores/matrices. [ 1 8 15 3 3 3 3 2 9 16 3 3...

3 years ago

Solved


Juego de posiciones
Crea una función que ordene vectores de tal manera que los primeros números sean negativos ordenados de menor a mayor. Y después...

3 years ago

Solved


Determina si el número es primo
Primero, antes que nada: ¿Qué es un número primo? Un número primo es cualquier número que solamente se puede dividir por 1 y ...

3 years ago

Solved


What's for Lunch?
Given b choices of beverages, e choices of entrees, s choices of sides (take two different sides total) and d choices of dessert...

3 years ago

Solved


Implement a ROT13 cipher
Replace each character in string s1 with the character that is shifted 13 positions from it (wrap back to the beginning if neces...

3 years ago

Solved


Volume difference between Ellipsoid and Sphere
Given an ellipsoid of semi principal axis (a,b,c) find the volume of the difference between this ellipsoid and the sphere with...

3 years ago

Solved


Test if a matrix is symmetric
Write a logical function that returns 1 if the input matrix is symmetric and 0 otherwise.

3 years ago

Solved


Calculate the square of a number (Super Easy)
The goal is to calculate the square (y) of a number (x). Good way to start MatLab for beginners.

3 years ago

Solved


Watt
Ampere x Volt = Watt

3 years ago

Solved


GPA
Math's credit is 5 and you got x | Physics's credit 7 and you got y what is your GPA

3 years ago

Solved


Times 5
Try out this test problem first. Given the variable x as your input, multiply it by five and put the result in y. Examples...

3 years ago

Solved


Bit to Gigabyte
1 bit = 1.25 × 10^-10 gigabytes | x is bit | y is gigabyte

3 years ago

Solved


Polygon Interior Angle Sum
Given the number of sides of a regular polygon, find the sum of interior angles. Return 0 for input for which regular polygon a...

3 years ago

Solved


Mile to Kilometer
x is mile and y is km

3 years ago

Solved


Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

3 years ago

Solved


Magnitude of a vector (★★★)
Given a vector x with values [ x1, x2, x3, ..., xn ], compute the magnitude (or length) of the vector which is given by href ...

3 years ago

Solved


Create logarithmically spaced values (★)
Given three numbers a,b,n with b>a, create a vector y with n logarithmic spaced values between 10^a and 10^b. Thus, if a = -2, ...

3 years ago

Load more