A résolu


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

environ 2 ans il y a

A résolu


Return area of square
Side of square=input=a Area=output=b

environ 2 ans il y a

A résolu


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

environ 2 ans il y a

A résolu


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

environ 2 ans il y a

A résolu


Add two numbers
Given a and b, return the sum a+b in c.

environ 2 ans il y a

A résolu


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

environ 2 ans il y a

A résolu


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

environ 2 ans il y a

A résolu


Converts numbers into characters
Converts numbers into characters

environ 2 ans il y a

A résolu


Find the max element of the array
Find the max element of the array

environ 2 ans il y a

A résolu


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

environ 2 ans il y a

A résolu


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

environ 2 ans il y a

A résolu


to the 2 all elements
to the 2 all elements

environ 2 ans il y a

A résolu


the average value of the elements
Calculate the average value of the elements in the array

environ 2 ans il y a

A résolu


Double all elements in the array
Duplicate all elements in the array

environ 2 ans il y a

A résolu


calculate the length of matrix
input 1 array, calculate the length

environ 2 ans il y a

A résolu


Draw a '0' in a one matrix!

environ 2 ans il y a

A résolu


Snow Accumulation and Structural Risks To Residential Properties
The density of snow depends on the amount of liquid water it contains: Dry Snow is about 50 kg/m^3 Wet Snow is about 200 kg/m^...

environ 2 ans il y a

A résolu


Calculate Wind Chill Factor
The NWS Wind Chill Temperature (WCT) index formula for calculating the dangers from winter winds and freezing temperatures: Cal...

environ 2 ans il y a

A résolu


Partial Pressure of Water Vapor from Relative Humidity
Buck (1996, 1981) published the following constants for the saturation pressure of water*: 6.1121 (mb) The saturation pressur...

environ 2 ans il y a

A résolu


Pressure for a given Above Sea Level Altitude
For altitudes up to the stratosphere (around 11 km above mean sea level), the air pressure can be estimated from: with where...

environ 2 ans il y a

A résolu


Air Density from Temperature and Pressure
The density of air can be estimated from the product of molar mass and molar density: Write a function that finds the densi...

environ 2 ans il y a

A résolu


Air Mass to Star for an Observer at Mean Sea Level
Air mass is a measure of how much atmosphere light from a source above the atmosphere (eg sun, planet, star) has to travel throu...

environ 2 ans il y a

A résolu


Predict Cricket Stridulation Rate from Air Temperature
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

environ 2 ans il y a

A résolu


Find Air Temperature from Cricket Stridulation Rate
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

environ 2 ans il y a

A résolu


Molar Air Density from Temperature and Pressure
The molar density of air can be found from the Temperature and Pressure using the ideal gas law. where the Molar density STP ...

environ 2 ans il y a

A résolu


Convert Volume Mixing Ratio to Density
The partial pressure of a constituent gas species of the atmosphere can be expressed in parts per million by volume. For exampl...

environ 2 ans il y a

A résolu


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

environ 2 ans il y a