Solved


Calculate temperature of object
An object that have initial temperature T0 is in a room that has temperature Ts. The object's temperature in time t is T=Ts+(...

9 years ago

Solved


Calculate some equation
Using given inputs x and z, make two outputs that are y1=(xz)/(x/z)^2+14x^2-0.8z^2 y2=x^z-z^x+(x/z)^2-(z/x)^2

9 years ago

Solved


Calculate triangle's hypotenuse
There are 634 eggs. A box can take 18 eggs. How many boxes are needed? Input is number of eggs and output is number of needed...

9 years ago

Solved


Calculate triangle's hypotenuse
There are 634 eggs. A box can take 18 eggs. How many boxes are needed? Input is number of eggs and output is number of needed...

9 years ago

Solved


How to check matrix's size?
x=randi(100) y=randi(100) A=zeros(x,y) Can you measure size of matrix A?

9 years ago

Solved


How to calculate log?
There is a log that have base 5. How to calculate? log5(x)?

9 years ago

Solved


Create given matrix
y = 0 0 1 1 0 0 0 0 1 1 0 0 1 1 1 1 1 1 ...

9 years ago

Solved


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

9 years ago

Solved


Change matrix to vector2
From x = 4 3 5 1 5 1 To y = 4 3 5 1 ...

9 years ago

Solved


Display positive elements of matrix.
Display positive elements of matrix.

9 years ago

Solved


Сoncatenate two strings.
Сoncatenate two strings. Example s1='Hello' s2='world' result='Hello world'

9 years ago

Solved


Select primes from the matrix.
Select primes from the matrix.

9 years ago

Solved


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

9 years ago

Solved


Expand a term
Given a term, as a string, expand it. e. g. f = '2(x + y)';

9 years ago

Solved


Adding each element
Add the each element of the matrix.

9 years ago

Solved


A quadrant matrix
Write a function called quadrants that takes as its input argument a scalar integer named n. The function returns Q, a 2n-by-2n ...

9 years ago

Solved


While I am not equal
Iterate by z(input) until not equal to baseline. Output will be equal to number of iterations x = -5 y = 8 z = 3 output = 5

9 years ago

Solved


Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

9 years ago

Solved


Non trivial identities - round
Return x after rounding it.

9 years ago

Solved


cross in array
Make a cross from "1" in odd size array. Other value from array should be equal to "0"; As input you get length of side of arra...

9 years ago

Solved


Strangest ways to get 0
Propose your non-trivial way to get 0. Look mine's, and try to do your best!

9 years ago

Solved


Add the even numbers
Add only the even numbers of x example: x = [1 2 3 4 5] the positive numbers are: 2 4, so their sum is 6

9 years ago

Solved


Calculate vowel / consonant ratio of a string
Given a string, calculate the ratio of vowels to consonants for example : x = 'This is a very good Day!' y = 7/11

9 years ago

Solved


Nth root
Nth root of a number x

9 years ago

Solved


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

9 years ago

Solved


Performance - summation
Given a vector of natural numbers x = [1,2,3,...,N] compute the sum of its elements by not stressing the machine too much...

9 years ago

Solved


Non trivial identities - division
Return x after dividing it.

9 years ago

Solved


Non trivial identities - multiplication
Return x after multipying it.

9 years ago

Solved


Find the numeric characters in a string and return their index
Given a string S, return the index of any numeric characters. S = 'The next meeting will be held in 2 weeks.'; idx = fin...

9 years ago

Solved


Add 2
Add 2 to the input x

9 years ago

Load more