photo

Rendy Dalimunthe


Rexinov International

Active since 2015

Followers: 0   Following: 0

Message

Simulation and Modelling

Statistics

All
  • First Review
  • Thankful Level 1
  • Promoter
  • Solver

View badges

Feeds

View by

Solved


Project Euler: Problem 7, Nth prime
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the Nth prime nu...

meer dan 9 jaar ago

Solved


Find max
Find the maximum value of a given vector or matrix.

meer dan 9 jaar ago

Solved


03 - Matrix Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3d.png>> A 3x4 NaN (Not a Number) matrix (Hint: use ...

meer dan 9 jaar ago

Solved


If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

meer dan 9 jaar ago

Solved


reverse string
input='rama' output='amar'

meer dan 9 jaar ago

Solved


Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

meer dan 9 jaar ago

Solved


Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

meer dan 9 jaar ago

Solved


Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

meer dan 9 jaar ago

Solved


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

meer dan 9 jaar ago

Solved


Compute total cost
A soda costs 2 dollars. A taco costs 3 dollars. Write a statement that assigns totalCost with the total meal cost given the numb...

meer dan 9 jaar ago

Solved


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the hourly wage times 40 and times 50, because annualSalary = hour...

meer dan 9 jaar ago

Solved


matlab indian players
answer is one of the indian matlab player(just for fun dont take serious)

meer dan 9 jaar ago

Solved


Determine the square root
Determine the square root of the value the user has entered, n.

meer dan 9 jaar ago

Solved


Circle area using pi
Write a statement that assigns circleArea with the circle's area given circleRadius. Use the built-in mathematical constant pi. ...

meer dan 9 jaar ago

Solved


Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

meer dan 9 jaar ago

Solved


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

meer dan 9 jaar ago

Solved


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

meer dan 9 jaar ago

Solved


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

meer dan 9 jaar ago

Solved


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

meer dan 9 jaar ago

Solved


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

meer dan 9 jaar ago

Solved


sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

meer dan 9 jaar ago

Solved


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

meer dan 9 jaar ago

Solved


length of a vector
Find twice the length of a given vector.

meer dan 9 jaar ago

Solved


Remainder
Make 'y' equal to the remainder of 27 divided by 5. When x=27 and t=5

meer dan 9 jaar ago

Solved


Will there be a new leader?
Simply answer the title.

meer dan 9 jaar ago

Solved


Add two numbers
Add two numbers (For beginners)

meer dan 9 jaar ago

Solved


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

meer dan 9 jaar ago

Solved


Number of digits in an integer
Specifies how many digits in a given integer. Example: in=100 ==> out=3

meer dan 9 jaar ago

Solved


01 - Scalar variables
Create the following variables: <<http://samle.dk/STTBDP/Assignment1_1.png>>

meer dan 9 jaar ago

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

meer dan 9 jaar ago

Load more