A résolu


Plot Line Specifications
Create a line plot for function cos(x) where x is a vector of linearly spaced values going from 0 to input N with an increment o...

plus de 4 ans il y a

A résolu


Find square of given number
Find Square of any number

plus de 4 ans il y a

A résolu


Given a vector x, return vector y with all negative elements from the vector x.
Given a vector x, return vector y with all negative elements from the vector x if x has negative elements. Otherwise return 0. ...

plus de 4 ans il y a

A résolu


SAY 'OHYEAH'
Regardless of input, output the string 'OHYEAH'.

plus de 4 ans il y a

A résolu


Double Factorial
Return double factorial n(n-2)...(5)(3)(1), n>0, odd n!! = n(n-2)...(6)(4)(2), n>0, even 1 ...

plus de 4 ans il y a

A résolu


Summing Rows and Columns
Create a matrix y of size (n+1) whose last column's elements are the summation of the elements of all the other columns and last...

plus de 4 ans il y a

A résolu


Convert Fahrenheit to Kelvin
Convert the value f in Fahrenheit to Kelvin

plus de 4 ans il y a

A résolu


Check if number is a square number
Test if integer i is a square number. Return logical true if it is.

plus de 4 ans il y a

A résolu


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for.

plus de 4 ans il y a

A résolu


Calculating large fibonacci numbers
The fibonacci sequence starts 1,1,2,3,5,8... Find the the n'th fibonacci number. Then calculate round(log10( . )) of that n't...

plus de 4 ans il y a

Problème


Calculating large fibonacci numbers
The fibonacci sequence starts 1,1,2,3,5,8... Find the the n'th fibonacci number. Then calculate round(log10( . )) of that n't...

plus de 4 ans il y a | 2 | 25 solveurs

A résolu


Quadratic equation
given three inputs (a, b, c) for the equation a*x^2+b*x+c=0; return 1 if the roots are complex (non zero imaginary), and 0 if th...

plus de 4 ans il y a

A résolu


Check if a number belongs in the fibonacci squence
Test if integer i is a number in the fibonacci sequence. Return true if it is.

plus de 4 ans il y a

A résolu


Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.

plus de 4 ans il y a

A résolu


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

plus de 4 ans il y a

A résolu


Find a common edge
First input is T, a triplet list of indices. Second input is e = [e1 e2], a row vector, couple of indices (positive distinct int...

plus de 4 ans il y a

A résolu


cofactor matrix
given a matrix, find its cofactor matrix https://en.wikipedia.org/wiki/Minor_(linear_algebra)#Inverse_of_a_matrix

plus de 4 ans il y a

A résolu


Adjoint matrix
given a matrix a, find the adjoint matrix of a.

plus de 4 ans il y a

A résolu


find nth even fibonacci number
1st even fibonacci number=2 ; 2nd even fibonacci number=8 ..

plus de 4 ans il y a

A résolu


Square root of number
Square root of given number.

plus de 4 ans il y a

A résolu


Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x₁_ + _x₂_ = 2 _x₁...

plus de 4 ans il y a

A résolu


Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

plus de 4 ans il y a

A résolu


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

plus de 4 ans il y a

A résolu


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

plus de 4 ans il y a

A résolu


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

plus de 4 ans il y a

A résolu


Sum Sum Sum!
Calculate the sum of the natural numbers from 1 to n

plus de 4 ans il y a

A résolu


Perimeter of a square!
Calculate the circumference of the square whose side is n

plus de 4 ans il y a

A résolu


easy problem
Find the last element of the array

plus de 4 ans il y a

A résolu


the average value of the elements
Calculate the average value of the elements in the array

plus de 4 ans il y a

A résolu


square a number twice with square root of 4/5
square a number twice with square root of 4/5

plus de 4 ans il y a

Charger plus