Gelöst


Integrate a product of gamma functions
Write a function to compute the following integral: where and is the gamma function, the subject of Cody Problem 46025.

etwa 3 Jahre vor

Gelöst


Determine whether a number is prome
In discussing the unique factorization of numbers in Elementary Number Theory, Underwood Dudley devised a new number system: “C...

etwa 3 Jahre vor

Gelöst


Classify water surface profiles
Problem statement Write a function to classify the water surface profile starting at depth in a channel with longitudinal slop...

etwa 3 Jahre vor

Gelöst


Draw '5' in Chinese.
Draw a x-by-x matrix '五' using 1s and 0s. Example: x=5 ans= [1 1 1 1 1 0 1 0 0 0 1 1 1 1 0 0 1 0 1 0 1 1 1 1 1] x=7...

etwa 3 Jahre vor

Gelöst


Compute the critical depth of a channel
Problem statement Write a function to compute the critical depth of a channel with discharge . The unit system will be specifie...

etwa 3 Jahre vor

Gelöst


Remove runs of at least n consecutive NaNs
This problem is inspired by Dyuman Joshi's problem 58329. Given a row vector x and a natural number n, remove all runs of at lea...

etwa 3 Jahre vor

Gelöst


Find the circle inscribed in a triangle
Write a function that takes the x- and y-coordinates of three points describing the vertices of a triangle and returns the cente...

etwa 3 Jahre vor

Gelöst


Suma de Gauss
¿Cuál es la suma de los primeros enteros positivos?

etwa 3 Jahre vor

Gelöst


Decode a message encrypted with the square root of 2
Cody Problem 58299 asks you to encrypt a message by changing all letters to uppercase and randomly choosing a position of the AS...

etwa 3 Jahre vor

Gelöst


Continuous NaNs - I
Remove any continuous NaNs that appear in the array - %Example 1 input = [1 NaN 2 NaN NaN 3 NaN NaN NaN] output = [1 NaN 2 ...

etwa 3 Jahre vor

Gelöst


Encrypt a message with the square root of 2
Suppose you want to encrypt the word ‘TWIN’. The ASCII codes for the four letters are 84, 87, 73, and 78. If you consider the fr...

etwa 3 Jahre vor

Gelöst


Compute the normal depth of a channel
For steady uniform flow in a channel of constant cross section and slope, the depth does not change with distance or time. In th...

etwa 3 Jahre vor

Gelöst


Calculate the Voltage Through a Step-Up Transformer
Given a step-up transformer has a primary coil with A number loops, a secondary coil with B number loops, and a primary voltage ...

etwa 3 Jahre vor

Gelöst


Easy Sequences 116: Summation involving nthroot, floor, and ceiling functions
Given a postive integers and , we are asked to evaluate the following summation: ...

etwa 3 Jahre vor

Gelöst


factorial_calc(n)
Write a MATLAB function called factorial_calc(n) that takes a positive integer n as input and calculates the factorial of n. The...

etwa 3 Jahre vor

Gelöst


Easy Sequences 114: Counting Unique Numbers
A Unique Number is defined as a positive integer with no repeated digits. This means that and are unique numbers, but and ar...

etwa 3 Jahre vor

Gelöst


Find the mean of the magic x
Given a x term, find the magic x, then find the mean/average of any one row or column.

etwa 3 Jahre vor

Gelöst


Find circular arc length, sector area and segment area
Given a circular arc passing through the points P = [ x1 y1 ] and Q = [ x2 y2 ] such that the center angle of the arc (in degree...

etwa 3 Jahre vor

Gelöst


CMPSC 200 help(2)
Use this problem to earn some easy points towards your 1,000! Just hit submit. function y = your_fcn_name(x) y = x^2 + 32; e...

etwa 3 Jahre vor

Gelöst


COMPSC 200 help
Use this problem to earn some free points towards your 1,000. Just hit submit! function y = your_fcn_name(x) y = x^2 + 50; e...

etwa 3 Jahre vor

Gelöst


Easy Function(4)
Use the submit button to earn points function y = your_fcn_name(x) y = x^2 + 40; end

etwa 3 Jahre vor

Gelöst


Easy Function(3)
Hit submit for some free points. function y = your_fcn_name(x) y = x^2 + 30; end

etwa 3 Jahre vor

Gelöst


Easy Function(2)
Hit the submit button for some cody points! function y = your_fcn_name(x) y = x^2 + 20; end

etwa 3 Jahre vor

Gelöst


Easy Function(1)
Use this function to earn some cody points! function y = your_fcn_name(x) y = x^2 - 1; end

etwa 3 Jahre vor

Gelöst


Function(4)
Hit submit for some points! function y = your_fcn_name(x) y = x^2 - 4; end

etwa 3 Jahre vor

Gelöst


Function(3)
Use this function to earn some points on your cody journey! function y = your_fcn_name(x) y = x^2 - 12; end

etwa 3 Jahre vor

Gelöst


Function(2)
Use this function to earn a few points. function y = your_fcn_name(x) y = x^2 - 8; end

etwa 3 Jahre vor

Gelöst


Easy Function
Use this function to earn some points (hit submit): function y = your_fcn_name(x) y = x^2 + 10; end

etwa 3 Jahre vor

Gelöst


Functions For Points
Use this fucntion to earn some free points! function y = your_fcn_name(x) y = x^2 + 5; end

etwa 3 Jahre vor

Gelöst


Function(1)
Use this function for some points (free) function y = your_fcn_name(x) y = x^2 + 2; end

etwa 3 Jahre vor

Mehr laden