Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


square root
Find square root of given number

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


Add 2 Vectors

10 meses hace

Resuelto


Size

10 meses hace

Resuelto


Real

10 meses hace

Resuelto


Dot Product

10 meses hace

Resuelto


Distance Travelled by Vehicle

10 meses hace

Resuelto


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;

10 meses 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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


Area of rhombus
Calculate the rhombus area

10 meses hace

Cargar más