Gelöst


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

11 Monate vor

Gelöst


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

11 Monate vor

Gelöst


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

11 Monate vor

Gelöst


find the value

11 Monate vor

Gelöst


Summy's odd sum

11 Monate vor

Gelöst


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

11 Monate vor

Gelöst


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

11 Monate vor

Gelöst


Sort in descending order.

11 Monate vor

Gelöst


size

11 Monate vor

Gelöst


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

11 Monate vor

Gelöst


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

11 Monate vor

Gelöst


Seperate 2nd column in a matrix

11 Monate vor

Gelöst


imaginary

11 Monate vor

Gelöst


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

11 Monate vor

Gelöst


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

11 Monate vor

Gelöst


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

11 Monate vor

Gelöst


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

11 Monate vor

Gelöst


sign function

11 Monate vor

Gelöst


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

11 Monate vor

Gelöst


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

11 Monate vor

Gelöst


Summation of integers

11 Monate vor

Gelöst


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

11 Monate vor

Gelöst


Real

11 Monate vor

Gelöst


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

11 Monate vor

Gelöst


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

11 Monate vor

Gelöst


Insert zeros

11 Monate vor

Gelöst


Number Power
Raise a number to itself.

11 Monate vor

Mehr laden