Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

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

3 years ago | 1 | 6 solvers

Solved


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

3 years ago

Solved


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

3 years ago

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

3 years ago | 1 | 6 solvers

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

3 years ago | 0 | 12 solvers

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

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

3 years ago | 1 | 8 solvers

Solved


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

3 years ago

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

3 years ago | 1 | 7 solvers

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

3 years ago | 0 | 5 solvers

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

3 years ago | 0 | 5 solvers

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Load more