Gelöst


Simple Interest : Calculate time in years
Theorem : Simple Interest where; F : Future Value P : Present Value r : Annual simple interest rate (decimal) t : Time in...

fast 2 Jahre vor

Gelöst


square of a number
find square of a given number

fast 2 Jahre vor

Gelöst


Mid-term report
You just got your mid-term report, but it's full of ones and twos :(. So before you give it to your parents, you change it, in o...

fast 2 Jahre vor

Gelöst


Volume of Equilateral Triangle Prism
Find volume of equilateral triangle prism x = side of triangle l = length of prism

fast 2 Jahre vor

Gelöst


Bit to Gigabyte
1 bit = 1.25 × 10^-10 gigabytes | x is bit | y is gigabyte

fast 2 Jahre vor

Gelöst


Watt
Ampere x Volt = Watt

fast 2 Jahre vor

Gelöst


Box
Give the volume of a box, x is equal to the body diagonal.

fast 2 Jahre vor

Gelöst


Times 10
Try out this test problem first. Given the variable x as your input, multiply it by ten and put the result in y. Examples:...

fast 2 Jahre vor

Gelöst


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

fast 2 Jahre vor

Gelöst


Times 5
Try out this test problem first. Given the variable x as your input, multiply it by five and put the result in y. Examples...

fast 2 Jahre vor

Gelöst


divide by 5

fast 2 Jahre vor

Gelöst


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

fast 2 Jahre vor

Gelöst


ascii value
let input='a' output=97

fast 2 Jahre vor

Gelöst


Calculate distance travelled when given radius and rotations
When given radius of wheel and number of rotations calculate total distance travelled consider pi=3.14

fast 2 Jahre vor

Gelöst


Find the nearest integer
Given a vector of integers and a real number find the closest integer. EX: >> a = [2 4 5 6 8 10]; >> b = 4.6; >> nea...

fast 2 Jahre vor

Gelöst


Change the first and last diagonal element of the identity matrix to zero
Starting with the identity matrix, change first and last diagonal element to zero. Example If n=5 A = 0 0 ...

fast 2 Jahre vor

Gelöst


Find remainder when x is divided by 3
Find remainder when x is divided by 3

fast 2 Jahre vor

Gelöst


Logarithmically spaced vector creation using logspace
Create a vector y containing n logarithmically spaced values between a and b, with a < b. Use the logspace operator.

fast 2 Jahre vor

Gelöst


Variance computation (★)
Given a vector x with several values, compute the variance, whose formula is given by: <<https://i.imgur.com/Wg95KBE.gif>> ...

fast 2 Jahre vor

Gelöst


Find the last digit
FInd the last digit of a given number. Given number is the input and output should be the last digit of that number.

fast 2 Jahre vor

Gelöst


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

fast 2 Jahre vor

Gelöst


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

fast 2 Jahre vor

Gelöst


Step up
For given input array, output a array with all elements step up by two

fast 2 Jahre vor

Gelöst


Integer or Float?
Test an input to see whether it is an integer or a floating point number. If it is an integer return 1 for 'true'. Otherwise ret...

fast 2 Jahre vor

Gelöst


Is it prime?
Given a number, check whether it is prime or not. If prime output is true, otherwise false.

fast 2 Jahre vor

Gelöst


Halder function
Find the halder function value of a number

fast 2 Jahre vor

Gelöst


multiply an array by its position number
You have given an array. Multiply an array by its position number

fast 2 Jahre vor

Gelöst


Saving MATLAB session to a file
How to save MATLAB session to a file?

fast 2 Jahre vor

Gelöst


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

fast 2 Jahre vor

Gelöst


Create an anti-identity matrix
Create an anti-identity matrix of given dimension. Examples n = 2 A = [0 1; 1 0] n = 3 A = [0 0 1; 0 1 0; 1 0 0...

fast 2 Jahre vor

Mehr laden