Community Profile

# Chellammai C

198 total contributions since 2015

Interested in coding!

View details...

Contributions in
View by

Solved

Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

meer dan 4 jaar ago

Solved

Concatenate two strings
Its very easy. Just concatenate two strings.

meer dan 4 jaar ago

Solved

What is the distance from point P(x,y) to the line Ax + By + C = 0?
Given a point, P(x,y), find the distance from this point to a linear line. INPUTS: x, y, A, B, C OUTPUTS: d, the distance ...

meer dan 4 jaar ago

Solved

Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

meer dan 4 jaar ago

Solved

Test if two numbers have the same digits
Given two integers _x1_ and _x2_, return |true| if the numbers written with no leading zeros contain the same digits. That is, t...

meer dan 4 jaar ago

Solved

if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;

meer dan 4 jaar ago

Solved

Circle area using pi
Write a statement that assigns circleArea with the circle's area given circleRadius. Use the built-in mathematical constant pi. ...

meer dan 4 jaar ago

Solved

Plus x: A first program
_Solve this problem in Mathwork's online Cody system._ Write a statement that assigns y with 5 plus x. Ex: If input x = 2,...

meer dan 4 jaar ago

Solved

04 - Scalar Equations 1
Define the variable a: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> Use this to calculate x: <<http://samle.dk/STTBD...

meer dan 4 jaar ago

Solved

Celcius to Kelvin
Convert Celsius degrees to Kelvin temperature.

meer dan 4 jaar ago

Solved

Equal to their cube
Tell me three real numbers that are equal to their cubes?

meer dan 4 jaar ago

Solved

Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

meer dan 4 jaar ago

Solved

y equals x divided by 2
function y = x/2

meer dan 4 jaar ago

Solved

Area of a rectangle
Find the area of a rectangle with sides a and b

meer dan 4 jaar ago

Solved

Times 3 problem
When you enter the number, it should return the number multiplied by 3

meer dan 4 jaar ago

Solved

Create a vector
Create a vector from 0 to n by intervals of 2.

meer dan 4 jaar ago

Solved

Area of a circle
Find the value for area of the circle if diameter is given

meer dan 4 jaar ago

Solved

Double colon operator: Counting up
* Construct a row array countValues from 1 to endValue, using the double colon operator. Ex: If endValue is 5, countValues s...

meer dan 4 jaar ago

Solved

Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2

meer dan 4 jaar ago

Solved

* Fix the syntax errors.

meer dan 4 jaar ago

Solved

Reverse a matrix
Its simple. You have to reverse a given matrix.

meer dan 4 jaar ago

Solved

Population growth
Assign finalPopulation with the population size given an initial population, population growth rate, and number of years. The fi...

meer dan 4 jaar ago

Solved

Area of rhombus
Calculate the rhombus area

meer dan 4 jaar ago

Solved

Find the logic
There exists one logic in between input and output. Find it (easy math). Example 1: x=13 then y=339; Example 2: x=26...

meer dan 4 jaar ago

Solved

Write an expression
Assigns finalResult with firstSample plus secondSample, squared, then divided by 3. Ex: If firstSample is 18 and secondSample is...

meer dan 4 jaar ago

Solved

Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

meer dan 4 jaar ago

Solved

matlab indian players
answer is one of the indian matlab player(just for fun dont take serious)

meer dan 4 jaar ago

Solved

Create a Multiplication table matrix...
Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...

meer dan 4 jaar ago

Solved

Assigning a sum
* Write a statement that assigns numCoins with numNickels + numDimes.

meer dan 4 jaar ago

Solved

Vectorize the digits of an Integer
Create a vector of length N for an integer of N digits. x=123045; x_vec=[1 2 3 0 4 5]; I happened upon a trick to do ...

meer dan 4 jaar ago