Volume of triangular prism

1年以上 前

Area of a Square

1年以上 前

Multiply pi
Multiply pi with x!

1年以上 前

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

1年以上 前

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...

1年以上 前

Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

1年以上 前

Draw 'D'.
Draw a x-by-x matrix 'D' using 0 and 1. example: x=4 ans= [1 1 1 0 1 0 0 1 1 0 0 1 1 1 1 0]

1年以上 前

Draw a 'N'!
Given n as input, generate a n-by-n matrix 'N' using 0 and 1 . Example: n=5 ans= [1 0 0 0 1 1 1 0 0 1 1 0 ...

1年以上 前

Draw 'F'
Draw a x-by-x matrix 'F' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...

1年以上 前

Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

1年以上 前

Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

1年以上 前

Times 3 problem
When you enter the number, it should return the number multiplied by 3

1年以上 前

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:...

1年以上 前

Electric Flux
Calculate the flux passing through a surface. E is electric field, A is area.

1年以上 前

Watt
Ampere x Volt = Watt

1年以上 前

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...

1年以上 前

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

1年以上 前

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

1年以上 前

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

1年以上 前

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

1年以上 前

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

1年以上 前

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:...

1年以上 前

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

1年以上 前

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

1年以上 前

Sum 1 to 100 even number
Write a Matlab program to add all the even numbers from 0 to 100 |

1年以上 前

Find the y=(1:x)
Look at the question

1年以上 前

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

1年以上 前

Area of rhombus
Calculate the rhombus area

1年以上 前

Odd row
Create a row 'y' with odd numbers where the potential maximum number is given by 'x' and the space between them by 'm'. The firs...

1年以上 前

Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

1年以上 前