Solved


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

4 years ago

Solved


Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

4 years ago

Solved


Determine the length of a string of characters
Determine the length of a string of characters

4 years ago

Solved


square of a number
find square of a given number

4 years ago

Solved


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

4 years ago

Solved


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

4 years ago

Solved


Volume of this donut
Given hole diameter a, and outermost diameter b, determine the volume y of the resulting donut.

4 years ago

Solved


Determine if input is divisible by three.
Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.

4 years ago

Solved


poll: would you like the regexp (?@cmd) functionality to be banned in Cody?
This problem is a poll (and a little bit of "white hat hacktivism" as well) regarding Cody users sentiment about the use of rege...

4 years ago

Solved


metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

4 years ago

Solved


Calculate the height of an object dropped from the sky
Assume that an object is dropped from 1000 meters above the surface of the earth at time t=0. The object is dropped such that t...

4 years ago

Solved


Matlab Basics II - Extract last 3 elements of a vector
Let x be a vector of unknown length, we are always interested in the last 3 numbers in the vector, write a function that gives t...

4 years ago

Solved


Sum the squares of numbers from 1 to n
For a given value of n return the sum of square of numbers from 1 to n. Example For n = 2 then sum of squares = 5 (1^2 + ...

4 years ago

Solved


Similar Triangles - find the height of the tree
Given the height, h1, of a power pole, shorter than a tree, a given distance, x2 away, please find h2, height of the tree. Pleas...

4 years ago

Solved


Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

4 years ago

Solved


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

4 years ago

Solved


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

4 years ago

Solved


Product of Array
Given an array of numbers. Get the product of the array.

4 years ago

Solved


Convert degrees to radians
Given input in degrees, output to radians

4 years ago

Solved


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

4 years ago

Solved


Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...

4 years ago

Solved


Add consecutive integer numbers
Given consecutive numbers, add the numbers *without using the sum command in MATLAB.*

4 years ago

Solved


Falling on the Moon.

4 years ago

Solved


Wind outward from the center ...
Create an n-by-n matrix with elements ranging from 1 to n^2 in a rectangular spiral pattern. Example if n = 5 : 21 ...

4 years ago

Solved


Siren frequency and Doppler effect.
The Doppler effect is described on OpenStax University Physics at https://openstax.org/books/university-physics-volume-1/pages/1...

4 years ago

Solved


World Cup 2018 Prediction!
Which team will be the winner?

4 years ago

Solved


unsolvable

4 years ago

Solved


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

4 years ago

Solved


Modulation index
The amplitude of the carrier signal is 2V and the amplitude of the modulating signal is 8V. Find its modulation index.

4 years ago

Load more