BSc in EEE, Bangladesh University of Engineering and Technology.

PhD Student Deakin University.

Solved

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.

bijna 2 jaar ago

Solved

Determine whether the input is divisible by 3 as well as 5

If the input is divisible by 3 as well as 5 then the output should be 'true' otherwise 'false'

bijna 2 jaar ago

Solved

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

bijna 2 jaar ago

Solved

Number of Even Elements in Fibonacci Sequence

Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

bijna 2 jaar ago

Solved

Find the nearest prime number

Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

bijna 2 jaar ago

Solved

Extra safe primes

Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...

bijna 2 jaar ago

Solved

Is this is a Tic Tac Toe X Win?

For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

bijna 2 jaar ago

Solved

I Plead the Fifth

Write a function to provide a yes or no answer to the input string. However, it must plead the 5th amendment (return an empty st...

bijna 2 jaar ago

Solved

Spot the First Occurrence of 5

This problem series invites you to solve two simple problems related to the integer NUMBER FIVE, in order to celebrate <https://...

bijna 2 jaar ago

Solved

Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.

Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

bijna 2 jaar ago

Solved

Predicting life and death of a memory-less light bulb

*💡 💡 💡 💡 💡 💡 💡 💡 💡 💡 💡 💡 💡 💡 &...

bijna 2 jaar ago

Solved

A Simple Tide Gauge with MATLAB

*∿ ∿ ∿ ∿ ∿ ∿ ∿ ∿* You are standing in a few inches of sea water on a beach. You a...

bijna 2 jaar ago

Solved

5 Prime Numbers

Your function will be given lower and upper integer bounds. Your task is to return a vector containing the first five prime numb...

bijna 2 jaar ago

Solved

Pernicious Anniversary Problem

Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

bijna 2 jaar ago

Solved

How to subtract?

*± ± ± ± ± ± ± ± ± ± ±* * Imagine you need to subtract one...

bijna 2 jaar ago

Solved

Energy of a photon

*⚛ ☢ ⚛ ☢ ⚛ ☢ ⚛* Given the frequency F of a photon in giga hertz. Find energy E of this...

bijna 2 jaar ago

Solved

Basic electricity in a dry situation

⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ &#...

bijna 3 jaar ago

Solved

Vector indexing: lower than mean

Find all values in a vector lower than the mean of the vector

bijna 3 jaar ago

Solved

Matrix element wise multiplication

Take two incoming vectors, and multiply them element wise

bijna 3 jaar ago

Solved

Matrix multiplication

Multiply two incoming matrices via matrix multiplication

bijna 3 jaar ago

Solved

Find the index of the lowest number in a matrix

Take a matrix, and find the [row cal] index of the lowest number

bijna 3 jaar ago

Solved

Replace 0 indices in array with 1's

Take a incoming vector, and replace 0's with ones

bijna 3 jaar ago

Solved

Make one vector from two others

You are given two vectors of equal length. Your task is to create a MATLAB script that will repeat all of the values in the fir...

bijna 3 jaar ago

Solved

Component area

Find the area of the component below, all measurements are in mm <<https://image.ibb.co/hocruF/Component.png>>

bijna 3 jaar ago

Solved

Find the sum of the largest two elements in a vector

With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

bijna 3 jaar ago

Solved

Check if inputted variable is a string or a number

Check if a inputted variable is a number or a string, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).

bijna 3 jaar ago