Solved


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

1 month ago

Solved


Find and replaces spaces from a input string with *
For a given input string str, find how many spaces are there in the string and replace those spaces with * e.g. str = 'this is ...

1 month ago

Solved


Special Relativity 101.
Special relativity states that the effective mass of an object varies as a function of its velocity. If *c* is the speed of ligh...

1 month ago

Solved


Find the distance traveled by a car given velocity and time.
A car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and ti...

1 month ago

Solved


Compound Interest: Present Value
Theorem : Compound Interest where, F : Future value at the end of n periods P : Present value r : Annual nominal rate n :...

1 month ago

Solved


Simple Interest : Calculate time in years
Theorem : Simple Interest where; F : Future Value P : Present Value r : Annual simple interest rate (decimal) t : Time in...

1 month ago

Solved


Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

1 month ago

Solved


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

1 month ago

Solved


currency converter
given a rate of exchange calculate the equivalent units of 100 USD

1 month ago

Solved


Test
Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...

1 month ago

Solved


Matlab Basics II - Determine if an array has a 3rd dimension
For an array A, determine whether it has 3 dimensions, return 0 if x is only 2D, and 1 if x is 3D

1 month ago

Solved


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

1 month ago

Solved


square root
Find square root of given number

1 month ago

Solved


Basic Quadratic Equation
Create the equation: y=(3x)^2+(5x)+35 and compute y for various values of x

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago

Solved


Do Fast Fourier Transformation
Example Fast Fourier Transformation from vector [2,1]) ans = 3 1

1 month ago

Solved


Add 2 Vectors

1 month ago

Solved


Size

1 month ago

Solved


Real

1 month ago

Solved


Dot Product

1 month ago

Solved


Distance Travelled by Vehicle

1 month ago

Solved


Solve expression II
Solve given expression. alpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1) beta=5exp((-x+y-60)/20) result=alpha+beta;

1 month 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

1 month ago

Solved


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

1 month ago

Solved


Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

1 month ago

Solved


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

1 month ago

Solved


Perfect Square
Determine if the input is a perfect square (square of an integer) or not. Example - If input is 25(==5^2), return 1. If input...

1 month ago

Solved


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

1 month ago

Solved


Area of rhombus
Calculate the rhombus area

1 month ago

Load more