Community Profile

photo

Airas Akhtar


LUMS

Last seen: 3 years ago Active since 2014

Followers: 0   Following: 0

Message

Professional Interests: Astronomy

Statistics

All
  • Solver
  • Thankful Level 1

View badges

Feeds

View by

Solved


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

3 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 years ago

Question


How to access a structure array using a loop?
Hello, I am trying to access the data in a structure array .Since there are multiple groups of data I have allotted a single fi...

9 years ago | 3 answers | 0

3

answers

Question


How to translate an object on a straight line in vrealm?
I have tried to move a car on a straight line but the program gives error.I donot know what equation to give. t=1:60; worl...

9 years ago | 0 answers | 0

0

answers

Question


How to find sum using single statement?
I had to find the sum of the series 1/2+(1/2)^2+....(1/2)^100 why does my code not work? (ones(1,100).*1/2).^([1:100]) ...

9 years ago | 1 answer | 0

1

answer

Question


How to move the mouth of pacman?
I want the mouth of the pacman to open and close.For that I have to change the circle as it moves.Can I use the mod function som...

9 years ago | 1 answer | 0

1

answer

Question


How to move a circle on a sine curve?
I tried to move the circle on the sine curve by changing the centre of the circle and did the following: theta =30:330 x=5...

9 years ago | 2 answers | 0

2

answers