Gelöst


Hamming Weight - Fast
The Hamming Weight, <http://en.wikipedia.org/wiki/Hamming_weight wiki Hamming Weight>, in its most simple form is the number of ...

mehr als 3 Jahre vor

Problem


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...

mehr als 3 Jahre vor | 1 | 10 Lösungsvorschläge

Gelöst


Easy Sequences 5: Project Euler Problem 1 - Again!
We are all familiar with Project Euler Problem 1. This time let's try it on bigger multiples and larger range. Find the sum of ...

mehr als 3 Jahre vor

Gelöst


Easy Sequences 6: Coefficient sums of derivatives
Consider the polynomial function and its first-order derivative . The sums of the coefficients of P and P', are and , respecti...

mehr als 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...

mehr als 3 Jahre vor

Problem


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

mehr als 3 Jahre vor | 1 | 6 Lösungsvorschläge

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 ...

mehr als 3 Jahre vor

Gelöst


Orientation of a 3D coordinate frame
The orientation of a body-fixed frame {B} with respect to the world frame {W} is described by an SO(3) rotation matrix. Compute...

mehr als 3 Jahre vor

Problem


List numbers that cannot be expressed as the sum of fewer than four squares
Lagrange proved that all positive integers can be expressed as the sum of four squares. For example, 27 = 16 + 9 + 1 + 1. Howeve...

mehr als 3 Jahre vor | 1 | 6 Lösungsvorschläge

Problem


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...

mehr als 3 Jahre vor | 0 | 12 Lösungsvorschläge

Gelöst


Create an empty array
Suppose you need an empty array. e = [] will give you one, but it's a double array, which may not help if you need a differen...

mehr als 3 Jahre vor

Gelöst


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

mehr als 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...

mehr als 3 Jahre vor

Problem


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...

mehr als 3 Jahre vor | 1 | 8 Lösungsvorschläge

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 ...

mehr als 3 Jahre vor

Problem


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...

mehr als 3 Jahre vor | 1 | 8 Lösungsvorschläge

Problem


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...

mehr als 3 Jahre vor | 0 | 5 Lösungsvorschläge

Problem


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...

mehr als 3 Jahre vor | 0 | 5 Lösungsvorschläge

Gelöst


Use this function for some points
Hit submit if you'd like to earn some points! function y = your_fcn_name(x) y = x^2 - 3; end

mehr als 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

mehr als 3 Jahre vor

Gelöst


Utilizing Functions
Use this function to work for some points: function y = fcn_of_your_choice(x) y = x^2 + 2; end

mehr als 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

mehr als 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

mehr als 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

mehr als 3 Jahre vor

Gelöst


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

mehr als 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...

mehr als 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

mehr als 3 Jahre vor

Gelöst


Utilize this function
Press submit for some points function y = your_fcn_name(x) y = x^2 - 2; end

mehr als 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

mehr als 3 Jahre vor

Gelöst


Create Function
Use the equation below to earn some points! function y = fcn_of_your_choice(x) y = x^2; end

mehr als 3 Jahre vor

Mehr laden