Risolto


Geometric Series
Given x and n, give the sum of x ^ 1 to x ^ n. You should not have to use a loop for this.

oltre 8 anni fa

Risolto


Converting binary to decimals
Convert binary to decimals. Example: 010111 = 23. 110000 = 48.

oltre 8 anni fa

Risolto


Calculate the answer to life the universe and everything
<https://en.wikipedia.org/wiki/42_(number)>

oltre 8 anni fa

Risolto


Print the largest eigenvalue of A(500)
Write a function that prints the largest eigenvalue of A(500), without any extraneous output. For a positive integer n, let A...

oltre 8 anni fa

Risolto


Airline Ticket Mod7 Checksum
There are 13 digits in an airline ticket number. If an airline ticket number is valid, the 13th digit should be the remainder of...

oltre 8 anni fa

Risolto


Lowest sum from a group of digits
Hi there. It's James's daughter here again, and my third grade math teacher is up to her old tricks. This time, she's giving u...

oltre 8 anni fa

Risolto


Determine whether the number is multiple of 3 or not
Let a=6 and as 6 = 2*3 which means 6 is multiple of 3; return true if a is multiple of 3,otherwise false.

oltre 8 anni fa

Risolto


Solve expression III
Solve expression for given vector x. Expression = (tan(2*x^2+7*x-30.25)+log(x^3-2.25))/(nthroot(sin(x^3)^2+1/5*log(x^4-2.5),3))...

oltre 8 anni fa

Risolto


Solve expression II
Solve given expression. alpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1) beta=5exp((-x+y-60)/20) result=alpha+beta;

oltre 8 anni fa

Risolto


Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

oltre 8 anni fa

Risolto


is the number happy?
test is a given integer number is Happy of not? answer 1 if yes or 0 is no

oltre 8 anni fa

Risolto


Create cotangent function out of sine.
Please, don't use cos, tan, cot matlab functions.

oltre 8 anni fa

Risolto


Snakes on a plane
Given the dimensions of a 2-d plane, create a matrix where a "snake" of ones occupies the plane from top left to bottom right. ...

oltre 8 anni fa

Risolto


Simple polynomial evaluation
Compute the value of a polynomial of degree n with all coefficients '1', at value x. n is always n>=0. p(x)=1+x+x^2+...+x^n...

oltre 8 anni fa

Risolto


Check availability of a number in an array
An array is given A=[1 2 3 4 5 7 8 9 10]. Find whether the number n is present in given array or not. If the number n is prese...

oltre 8 anni fa

Risolto


Slope of the line passing through two points
Determine the slope of a line passing through the points a=[x1 y1] and b=[x2 y2].

oltre 8 anni fa

Risolto


wipe out!
make all the elements in given x zero.

oltre 8 anni fa

Risolto


Polynomial evaluation
Compute the value of a polynomial of degree n with coeffcients in vector a, at value x. p(x)=a(1)+a(2)x+a(3)x^2+...+a(n+1)x...

oltre 8 anni fa

Risolto


Set x value to each even index of vector y.
Set x value to each even index of vector y.

oltre 8 anni fa

Risolto


Rank of matrix
Find the rank of given matrix

oltre 8 anni fa

Risolto


Raise a polynomial to a power
In Matlab, polynomials are represented by a vector of coefficients. For example, the polynomial p=a*x^2 + b*x + c is represente...

oltre 8 anni fa

Risolto


MPS to MPH
Given the speed in miles per second, find the speed in miles per hour.

oltre 8 anni fa

Risolto


Calculate Simple Intrest for given data
P,N,R stands for Principle amount, No. of years and rate of intrest resp. Calculate intrest I

oltre 8 anni fa

Risolto


Identify the heavier bag
There are N=2^n bags of rice looking alike, N-1 of which have equal weight and one is slightly heavier. The weighing balance is ...

oltre 8 anni fa

Risolto


Octoberfest festival
A group of students decided to visit Octoberfest festival. First they ordered one beer, then after half-hour they taken one more...

oltre 8 anni fa

Risolto


Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

oltre 8 anni fa

Risolto


Isothermal Expansion
Given the initial pressure and volume of an ideal gas, calculate the new volume, given the new pressure. Hint: <https://en.wi...

oltre 8 anni fa

Risolto


mathematics , probability problem
How many different result can we have, rolling k dice?

oltre 8 anni fa

Risolto


Find the list of all open files
In the test suite, I use <http://www.mathworks.com/help/matlab/ref/fopen.html fopen> to create new files. The task is to find th...

oltre 8 anni fa

Risolto


Percentage profit
If you are buying at x dollar, what will be the selling price for making the r% profit?

oltre 8 anni fa

Carica altro