Risolto


Laws of motion 1

quasi 3 anni fa

Risolto


Laws of motion 2

quasi 3 anni fa

Risolto


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

circa 3 anni fa

Risolto


Create tangent function out of sine function only
Please don't use cosine and tangent functions

circa 3 anni fa

Risolto


Convert degrees to radians
Given input in degrees, output to radians

circa 3 anni fa

Risolto


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

circa 3 anni fa

Risolto


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

circa 3 anni fa

Risolto


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

circa 3 anni fa

Risolto


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

circa 3 anni fa

Risolto


y equals x divided by 2
function y = x/2

circa 3 anni fa

Risolto


Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

circa 3 anni fa

Risolto


Potential energy calculation

circa 3 anni fa

Risolto


Create sine function out of cosine
Please don't use sin(x) directly

circa 3 anni fa

Risolto


Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem

circa 3 anni fa

Risolto


Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...

circa 3 anni fa

Risolto


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

circa 3 anni fa

Risolto


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

circa 3 anni fa

Risolto


Create cosine function out of sine
Please dont use cos(x) directly

circa 3 anni fa

Risolto


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

circa 3 anni fa

Risolto


Basic commands - Greatest common divisor
Please write a function, which, will put as output greatest common divisor. Example: A = [-5 17; 10 0];...

circa 3 anni fa

Risolto


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

circa 3 anni fa

Risolto


Determine if input is greater than pi
Evaluate if given number is greater than pi. If greater, return true; else, return false.

circa 3 anni fa

Risolto


Total energy

circa 3 anni fa

Risolto


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

circa 3 anni fa

Risolto


Hemisphere Volume on Top of a Cylinder
This MATLAB function has to calculate the volume of a hemisphere placed on top of a cylinder, given valid inputs. It takes the r...

circa 3 anni fa

Risolto


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

circa 3 anni fa

Risolto


Convert radians to degrees
Given input in radians, output to degrees

circa 3 anni fa

Risolto


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

circa 3 anni fa

Risolto


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

circa 3 anni fa

Risolto


Simple equation: Annual salary
Given an hourly wage, compute an annual salary

circa 3 anni fa

Carica altro