A résolu


Percentage profit
If you are buying at x dollar, what will be the selling price for making the r% profit?

plus d'un an il y a

A résolu


metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

plus d'un an il y a

A résolu


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

plus d'un an il y a

A résolu


find the value

plus d'un an il y a

A résolu


Summy's odd sum

plus d'un an il y a

A résolu


Kelvin to Fahrenheit
You can find a doc about it in here => https://www.rapidtables.com/convert/temperature/how-kelvin-to-fahrenheit.html x is kelvi...

plus d'un an il y a

A résolu


Set x value to each odd index of vector y.
Set x value to each odd index of vector y.

plus d'un an il y a

A résolu


Sort in descending order.

plus d'un an il y a

A résolu


Generate a list of composite numbers

plus d'un an il y a

A résolu


size

plus d'un an il y a

A résolu


Total resistance of resistors in parallel
What is the total resistance of a number of resistors in parallel? A vector R contains the resistances (in Ohm) of n resistors,...

plus d'un an il y a

A résolu


Fizz
Dado um número inteiro n, retorne 'fizz' se esse valor for multiplo de 3, ou retorne o valor caso contrario. Fizz(3) = 'fizz'; ...

plus d'un an il y a

A résolu


Seperate 2nd column in a matrix

plus d'un an il y a

A résolu


imaginary

plus d'un an il y a

A résolu


determine if
determine if the elements of a matrix is a nan and return true

plus d'un an 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 d'un an il y a

A résolu


Vector indexing: lower than mean
Find indices of values in a vector lower than the mean of the vector

plus d'un an il y a

A résolu


Cube root of max value in a vector
Find the cube root of the maximum value in a vector

plus d'un an il y a

A résolu


sign function

plus d'un an il y a

A résolu


Calculating Ring Area
In two-dimensional space, a ring can be constructed by using two concentric circles. Determine the area of a ring which has r1 ...

plus d'un an il y a

A résolu


Odd row
Create a row 'y' with odd numbers where the potential maximum number is given by 'x' and the space between them by 'm'. The firs...

plus d'un an il y a

A résolu


Summation of integers

plus d'un an il y a

A résolu


Magnitude of a vector
Given a vector x, what is its magnitude?

plus d'un an il y a

A résolu


Real

plus d'un an il y a

A résolu


Make an identity matrix whose diagonal elements are 1:n
For a given input n, make an n by n identity matrix that contains the elements 1:n along its diagonal. For example, if input=5: ...

plus d'un an il y a

A résolu


non-repitition of numbers in a vector

plus d'un an il y a

A résolu


Sum sum!!!
Sum the numbers from 1 to n

plus d'un an il y a

A résolu


Insert zeros

plus d'un an il y a

A résolu


Number Power
Raise a number to itself.

plus d'un an il y a

Charger plus