A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


to the 2 all elements
to the 2 all elements

plus de 5 ans il y a

A résolu


Converts numbers into characters
Converts numbers into characters

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Datetime basics
Generate the datetime scalar representing the current date

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Sort accordingly

plus de 5 ans il y a

A résolu


step function

plus de 5 ans il y a

A résolu


Sudoku

plus de 5 ans il y a

A résolu


Card games

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


To convolve two vectors
To convolve two vectors

plus de 5 ans il y a

Charger plus