Resuelto


Find the "ordinary" or Euclidean distance between A and Z
A, B and Z define three points in the 3D _Euclidean_ space of the form: A = [x1;y1;0]; B = [x2;y2;0]; Z = [x2;y2;z]; Find th...

más de 5 años hace

Resuelto


Similar Triangles - find the height of the tree
Given the height, h1, of a power pole, shorter than a tree, a given distance, x2 away, please find h2, height of the tree. Pleas...

más de 5 años hace

Resuelto


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

más de 5 años hace

Resuelto


calculate the length of matrix
input 1 array, calculate the length

más de 5 años hace

Resuelto


to the 2 all elements
to the 2 all elements

más de 5 años hace

Resuelto


Converts numbers into characters
Converts numbers into characters

más de 5 años hace

Resuelto


How to get the additive inverse of a uint8.
Given x as a uint8 find the additive inverse y.

más de 5 años hace

Resuelto


Accessing elements on the diagonal
Access the diagonal elements of a matrix without 'diag' function

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


Free-time Equation
Given a 7-day week, an *_nc_* -number of *_tc_* -hour classes, *_ta_* -hours awake in a day, and *_tw_* -hours that you work in ...

más de 5 años hace

Resuelto


Create a constant offset.
Add a constant offset to an array. Example a = [1 3 5 9] offset = 2 y = [3 5 7 11]

más de 5 años hace

Resuelto


Datetime basics
Generate the datetime scalar representing the current date

más de 5 años hace

Resuelto


ASCII sum of phrases
Find the sum of the numeric equivalents of all characters entered in a phrase. For example: for the phrase 'My name is test', th...

más de 5 años hace

Resuelto


Dial Up
Each number on telephone keypads, except 0 and 1, corresponds to a set of uppercase letters as shown in this list: 2 ABC, 3 DEF...

más de 5 años hace

Resuelto


surface areas of a cylinder
There are 3 inputs: option, radius and height. If option= '1', compute the lateral surface area of the cylinder, for option 2 ca...

más de 5 años hace

Resuelto


Number of vertices of a hypercube
Return the number of vertices of a n-dimensional hypercube.

más de 5 años hace

Resuelto


Volume of Equilateral Triangle Prism
Find volume of equilateral triangle prism x = side of triangle l = length of prism

más de 5 años hace

Resuelto


Percentage
There is x liter water and y gram => z is percentage of salt in water

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


Sort accordingly

más de 5 años hace

Resuelto


step function

más de 5 años hace

Resuelto


Sudoku

más de 5 años hace

Resuelto


Card games

más de 5 años hace

Resuelto


Compare two strings.
Compare two strings, whether they are equal or not.

más de 5 años hace

Resuelto


Next Lower Power of B
Given a number _n_ and a base _B_ greater than 1, return the lowest integer power of _B_ that is less than or equal to _n_. E...

más de 5 años hace

Resuelto


Find cosine between two given vectors u and v.
Find cosine between two given vectors u and v. Example u = [5 2 0 5 3 0]; v = [3 2 5 1 ...

más de 5 años hace

Resuelto


Hardy-Ramanujan number
Find the first Hardy-Ramanujan number.

más de 5 años hace

Resuelto


Carnot cycle
Carnot engine is considered the most efficient heat engine.When operated between two temperatures T1 and T2, the efficiency is g...

más de 5 años hace

Resuelto


iteration of N blank spot
we have N spot which can be blank o filled calculate the number of iteration for these spots. e.g. N=2 1- blank blank 2- bl...

más de 5 años hace

Resuelto


To convolve two vectors
To convolve two vectors

más de 5 años hace

Cargar más