Solved


Calculate the centroid of a triangle
Info: https://en.wikipedia.org/wiki/Centroid Example Input: x = [0 0 1]; % x-coordinate y = [0 1 0]; % y-coordinat...

nästan 6 år ago

Solved


Periodic Table 101.
Given the atomic number (z), answer the symbol for that particular element of the <http://en.wikipedia.org/wiki/Periodic_table/ ...

nästan 6 år ago

Solved


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

nästan 6 år ago

Solved


Create an m x n array consisting only of an input value.
Create an array with m rows and n columns wherein all entries are assigned the input value x.

nästan 6 år ago

Solved


Where is she?
Given the numbers 12, 3, 6, 9 Tell where the girl is located. That is: Look to your 3 o'clock = look right Example ...

nästan 6 år ago

Solved


find the relation...
if given input is 1, output is 4. if input is 55, output is 3136.

nästan 6 år ago

Solved


Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

nästan 6 år ago

Solved


Increment up an input vector
Increment up an input vector by adding the indices to the vector values. For example, if an input vector is [3, 2, 6, 1, 6], the...

nästan 6 år ago

Solved


Replace Negative(-) by 0 and positive by 1
In a given Matrix Replace all element having *Negative sign with 0* and *Positive elements with 1* .

nästan 6 år ago

Solved


Area of square
Find the area of a square whose diagonal length is given as x.

nästan 6 år ago

Solved


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

nästan 6 år ago

Solved


Create tangent function out of sine function only
Please don't use cosine and tangent functions

nästan 6 år ago

Solved


Dice face matrix!
This is dice simulator, but instead of making a random die number, you will receive an "pre-rolled" number in and spit out a mat...

nästan 6 år ago

Solved


UICBioE240 problem 1.7
Find the other two angles of a right triangle given the two of the sides. So if A = [1 1] B = [45 45]

nästan 6 år ago

Solved


Calculate Engine Power
Calculate Engine Power (P) in kW given the values of Torque(M) in Nm and Engine Speed(n) in rpm

nästan 6 år ago

Solved


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

nästan 6 år ago

Solved


Corresponding letter to ASCII code.
Given the letter, the output will show the corresponding ASCII code.

nästan 6 år ago

Solved


Calculate value of capacitor
Given the value of resistance and time at which capacitor charges to it's 99%. calculate the value of capacitor

nästan 6 år ago

Solved


Find the number that has most primes those less than it
Given an vector x of integer numbers, find the element of x that has the most primes less than it.

nästan 6 år ago

Solved


Radians to Degrees
Convert radians to degrees.

nästan 6 år ago

Solved


sum all digits
input = 123456789, output = 1+2+3+4+5+6+7+8+9 = 45

nästan 6 år ago

Solved


calculate the tangent of angle in radians
Calculate the tangent of angle in degrees

nästan 6 år ago

Solved


Find x in provided equation!
x^2-2*x+1=0 This polynomial can be expressed by using each term's coefficients, such as [1 -2 1]. Using the polynomial ...

nästan 6 år ago

Solved


cos for boss?
a programmer had too much coffee and his boss needs cos(alpha+beta) correctly, especially when alpha or beta are close to pi/2 a...

nästan 6 år ago

Solved


Calculate the probability that at least two people in a group share the same birthday.
Calculate the probability that at least two people in a group share the same birthday. Given an integer input n, return to 0.015...

nästan 6 år ago

Solved


average for three points
how to calculate the average (for each three values of y) y=[2 3 5 3 4 2 3 4 5 3 2 7 8 6 5 5 4 3 3 3 2 ] you ...

nästan 6 år ago

Solved


The Birthday Phenomenon
First off, leap years are not being considered for this. In fact the year that people are born shouldn't be taken into considera...

nästan 6 år ago

Solved


Annoying population
Every year the number of annoying persons in the office triples Found the population, given a(0) and t

nästan 6 år ago

Solved


Finding fourier transform of a given vector
Find the fourier transform of a given input vector for ex a=[1 2 3 4] then y=[ 10.0000 + 0.0000i -2.0000 +...

nästan 6 år ago

Solved


Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

nästan 6 år ago

Load more