Risolto


Question 1
Implement a function named q1 with one input argument named n. This function should return the multiplication of all odd numbers...

oltre 5 anni fa

Risolto


find the answer

oltre 5 anni fa

Risolto


Area of a triangle given its sides

oltre 5 anni fa

Risolto


Determine whether the input is odd, even, or neither.
Make a function that returns ‘odd’ if the input is odd, ‘even’ if the input if even or ‘error’ if the input is neither odd nor ...

oltre 5 anni fa

Risolto


For a rectangle, if x is the length and 2x is width. Then find out x from the area of the rectangle?
For a rectangle, if x is the length and 2x is the width. Then find out x from the area of the rectangle? if the area is equal...

oltre 5 anni fa

Risolto


Approximate the inverse tangent by power series
Given values b (where abs(b)<=1) and n (polynomial order), write a function that calculates atan(b) by using power series.

oltre 5 anni fa

Risolto


Say type of roots in quadratic equation
Given the coefficients of a quadratic equation, write a function that gives the output y='RealDifferent' if the roots are real a...

oltre 5 anni fa

Risolto


Add consecutive integer numbers
Given consecutive numbers, add the numbers *without using the sum command in MATLAB.*

oltre 5 anni fa

Risolto


X O X O
On a noughts and crosses board, how many possible unique combinations are there given a square grid of length n? Assumptions/...

oltre 5 anni fa

Risolto


Check if is a square
Given four coordinates, write a function to check if they form a square on the XY plane.

oltre 5 anni fa

Risolto


Get the mean digit
Write a function that gives the mean digit (round towards nearest integer) of an input and positive number. For example: x ...

oltre 5 anni fa

Risolto


convert binary string to vector!!!

oltre 5 anni fa

Risolto


Percentage profit:4
If a shopkeeper is selling W gram of salt in 1 dollar he will face r% loss. How much salt he should sell in grams to make r% pro...

oltre 5 anni fa

Risolto


Percentage profit:2
If you are selling at x dollar, you are facing r1% profit; what will be the selling price for making r2% profit?

oltre 5 anni fa

Risolto


Percentage profit:5: Cumulative Interest
If a bank is giving r% yearly cumulative interest for deposit, how much profit we can get by keeping x amount of money for n mon...

oltre 5 anni fa

Risolto


Determinants
Given a square matrix(A), find the determinant(d). For example: A = [1,3;4,5] d = 1*5-4*3 = -7

oltre 5 anni fa

Risolto


Next Palindrome

oltre 5 anni fa

Risolto


Previous Palindrome

oltre 5 anni fa

Risolto


Decay Constant

oltre 5 anni fa

Risolto


Number Puzzles - 001

oltre 5 anni fa

Risolto


Number Puzzles - 002

oltre 5 anni fa

Risolto


For given xx,x, y vectors build spline of x and y and find yy values for xx vector.
For given xx,x, y vectors build spline of x and y and find yy values for xx vector. Example x = [ 1.0000 1.5000 2.00...

oltre 5 anni fa

Risolto


Weave two matrices together to form one matrix
Take the first column from matrix a, then insert the first column from matrix b, and so on. For example: a = [1 2 3 4]; b ...

oltre 5 anni fa

Risolto


MinMax mapping
Given a matrix, map all the elements within a given interval. For example, a=[ 2 5 10] mapped in the interval [1,2] ...

oltre 5 anni fa

Risolto


Find the sequence
Find the nth number of a sequence. Check the test suite to determine the sequence. * hint: it is closely related to familiar ...

oltre 5 anni fa

Problema


Locate a family on a long street

oltre 5 anni fa | 8 | 23 risolutori

Risolto


Extract Built In Functions and Toolbox Functions from String or Function Handle
Find the Built-In functions and Toolbox functions in either a string or a function handle. Generate a string of alphabetized ...

oltre 5 anni fa

Risolto


Magnet and Iron
(Inspired from <http://www.mathworks.com/matlabcentral/cody/problems/112 Problem 112: Remove the air bubbles>) Iron (atomic n...

oltre 5 anni fa

Carica altro