Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


Adding each element
Add the each element of the matrix.

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


Non trivial identities - round
Return x after rounding it.

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


Nth root
Nth root of a number x

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


Non trivial identities - division
Return x after dividing it.

fast 10 Jahre vor

Gelöst


Non trivial identities - multiplication
Return x after multipying it.

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


Add 2
Add 2 to the input x

fast 10 Jahre vor

Mehr laden