Gelöst


Project Euler: Problem 7, Nth prime
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the Nth prime nu...

mehr als 3 Jahre vor

Gelöst


Volume of Spherical Shell
In three-dimensional space, a spherical shell can be constructed from two concentric spheres. Determine the volume of a spheric...

mehr als 3 Jahre vor

Gelöst


leap year
find the number of leap years within the given time interval

mehr als 3 Jahre vor

Gelöst


Sum of series VII
What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?

mehr als 3 Jahre vor

Gelöst


Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)

mehr als 3 Jahre vor

Gelöst


Basic Mathematics 4
Team #1 is in first place but only one point higher than Team #2. The sum of their two scores is N. What are each team’s scores...

mehr als 3 Jahre vor

Gelöst


UICBioE240 problem 1.17
In the expression (2+5i), how does MATLAB read the expressions A = 2+5i B = 2+5*i C = both are okay Write capital letter a...

mehr als 3 Jahre vor

Gelöst


Happy Free Wednesday!
Just submit your solution on any Wednesday. *Related Challenges:* # Happy Free Wednesday! # Happy Free 2019! # Happy Fr...

mehr als 3 Jahre vor

Gelöst


Good Morning :)
Just submit your solution between 05:00:00 and 10:00:00 (AM = Ante Meridiem = Before Noon). _Note : Consider Cody Server Time...

mehr als 3 Jahre vor

Gelöst


Replace all odd numbers with NaN
Replace all odd numbers in the vector or matrix with NaN. For example, if x = [1 3 4 5 8 11]; then return y = [NaN Na...

mehr als 3 Jahre vor

Gelöst


Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

mehr als 3 Jahre vor

Gelöst


Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

mehr als 3 Jahre vor

Gelöst


Put Two 1D matrices into one 1D matrix
Example: If input a = [1 2 3 4 5]; input b = [10 9 8 7 6]; then output will be, y_correct = [1 10 2 9 3 8 4 7 5...

mehr als 3 Jahre vor

Gelöst


UICBioE240 2.3
Make a 4D matrix of 4x4x3x4 containing all zeros.

mehr als 3 Jahre vor

Gelöst


UICBioE240 problem 1.16
sin^2(pi/6) + cos^2(pi/6)

mehr als 3 Jahre vor

Gelöst


Specific Element Count
Given a vector _v_ and a element _e_, return the number of occurrences of _e_ in _v_. Note: NaNs are equal and there may be n...

mehr als 3 Jahre vor

Gelöst


first element of matrix
find the first elements of a column matrix

mehr als 3 Jahre vor

Gelöst


UICBioE240 2.2
Make a 3x4 matrix that contains all ones.

mehr als 3 Jahre vor

Gelöst


Number of digits in an integer
Specifies how many digits in a given integer. Example: in=100 ==> out=3

mehr als 3 Jahre vor

Gelöst


Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

mehr als 3 Jahre vor

Gelöst


UICBioE240 problem 1.15
Calculate: sin(pi/6) cos (pi) tan(pi/2)

mehr als 3 Jahre vor

Gelöst


UICBioE240 problem 1.18
exp(pi/5*i) and exp(pi/5i). Is there any difference in result? Write yes or no as a string.

mehr als 3 Jahre vor

Gelöst


UICBioE240 problem 1.6
Find the tangent line of a right triangle given the two of the sides. So if A = [1 1] B = sqrt(2)

mehr als 3 Jahre vor

Gelöst


UICBioE240 problem 1.5
Find the size of the matrix, then multiply both values by 10 and make it into a column vector. So if A = [ 1 2 3; ...

mehr als 3 Jahre vor

Gelöst


UICBioE240 problem 1.1
Remove the middle row from a matrix, assuming # of rows is odd. So if A = [ 1 2 3; 4 5 6; 7 8 9] the...

mehr als 3 Jahre vor

Gelöst


UICBioE240 problem 1.4
So if A = [ 1 2 3; 4 5 6; 7 8 9] B = [ 3 3]

mehr als 3 Jahre vor

Gelöst


UICBioE240 problem 1.3
Find the length of a vector. So if A = [1 1 1 1 1] Then B = 5

mehr als 3 Jahre vor

Gelöst


UICBioE240 problem 1.2
Convert a column vector into a row vector. So if A = [1; 2; 3] Then B = [ 1 2 3]

mehr als 3 Jahre vor

Gelöst


UICBioE240 2.1
This will be useful later in the course, in conjunction to clc and clear all, what is the command to close all figure windows th...

mehr als 3 Jahre vor

Gelöst


Count ones
Write a program to count number of ones (1s) in an integer variable input. For example: Input x=2200112231 output y=3 I...

mehr als 3 Jahre vor

Mehr laden