A résolu


Find Logic 9
Guess the Logic! logic(1) = 4 logic(2) = 1 logic(3) = 10 logic(4) = 2

plus de 3 ans il y a

A résolu


Replace secondary diagonal elements of a square array
Replace all the secondary diagonal elements of the square array A with the number n Example: A = [1 2 3 4 5 6 ...

plus de 3 ans il y a

A résolu


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

plus de 3 ans il y a

A résolu


Evened up (or not)
You will be provided with an array or matrix that contains various numbers, in addition to an evening variable, e, set to 1 or 0...

plus de 3 ans il y a

A résolu


De-primed
Write a function that will multiply every prime number in the array or matrix by two, leaving all other numbers the same, and re...

plus de 3 ans il y a

A résolu


Mysterious digits operation (easy)
What is this digit operation? 0 -> 0 1 -> 9 121 -> 9 44 -> 6 15 -> 5 1243 -> 7 ...

plus de 3 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...

plus de 3 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...

plus de 3 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...

plus de 3 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...

plus de 3 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...

plus de 3 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 ...

plus de 3 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...

plus de 3 ans il y a

A résolu


Find Logic 14
Guess the Logic! logic(1) = 100 logic(2) = 96 logic(3) = 105 logic(4) = 89 logic(5) = 114 Make a function logic(x) which w...

plus de 3 ans il y a

A résolu


Find Logic 15

plus de 3 ans il y a

A résolu


Find Logic 12

plus de 3 ans il y a

A résolu


Find Logic 7

plus de 3 ans il y a

A résolu


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

plus de 3 ans il y a

A résolu


Find Logic 1

plus de 3 ans il y a

A résolu


Find Logic 31

plus de 3 ans il y a

A résolu


Find Logic 32

plus de 3 ans il y a

A résolu


Find Logic 30

plus de 3 ans il y a

A résolu


Find Logic 28

plus de 3 ans il y a

A résolu


Find Logic 21

plus de 3 ans il y a

A résolu


Find Logic 26

plus de 3 ans il y a

A résolu


Find Logic 27

plus de 3 ans il y a

A résolu


Find Logic 25

plus de 3 ans il y a

A résolu


Find Logic 23

plus de 3 ans il y a

A résolu


Find Logic 22

plus de 3 ans il y a

A résolu


Find Logic 20

plus de 3 ans il y a

Charger plus