Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


Adding each element
Add the each element of the matrix.

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


Non trivial identities - round
Return x after rounding it.

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


Nth root
Nth root of a number x

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


Non trivial identities - division
Return x after dividing it.

casi 10 años hace

Resuelto


Non trivial identities - multiplication
Return x after multipying it.

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


Add 2
Add 2 to the input x

casi 10 años hace

Cargar más