Questions: 213

Answers by our Experts: 199

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Mechanical springs are said to be connected "in series" if the same force passes
through each and "in parallel" if the deflections in all the springs are equal.
If in parallel, their equivalent stiffness is given by
k=k1+k2+…+kn
If in series the equivalent stiffness is given by
1
I'm writing this code to play battleship against the computer and I've written the code to the point where I can get all the ships placed (battleship- 4 cells long, submarine- 3 cells long, cruiser- 2 cells long, and destroyer- 1 cell). But now I have to make the computer randomly guess spots on the board(9x9) and check to see if it hits one of the ships. The computer gets 29 missiles and if the computer doesn't get a hit for 7 guesses to automatically hit a ship. Please help I've been messing around with loops all day and can't get it right. Thank you.
22.Write a script that will generate random integers in the range from 0 to 50,and print them,until one is finally generated that is greater than 25. The script should print how many attempts it took.
15. Write a script that will print the following multiplication table:
1
2 4
3 6 9
4 8 12 16
5 10 15 20 25
8.Write a script that will:
generate a random integer in the inclusive range from 2 to 5
loop that many time to prompt the user for a number'prompt the sum of the numbers entered so far with one decimal place
QUIZ 2

Imagine it takes 1 second to make 1 count. Each count can be a maximum of 5 persons (this is being realistic; we humans don’t have the capacity for more than this). If there are 4 billion people in the room, can you think of a method we can use to count them in under 50 seconds?
Program to store prime numbers upto 1000 in an array
Using Lagrange solve F(x,y,z)=xyz and Constraint=x²/a²+y²/b²+z²/c²=1
Write an algorithm to accept a set of M(students) scores (M>=0) and find
I) the highest score
Ii)The number of students whose score is at most 50
B)Draw a corresponding flowchart for the problem above.
Write am algorithm to generate the first 20 elements of the series: -1/2,-1/4,-1/6,-1/8,-1/10
b) Draw a corresponding flowchart for the problem above.
LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS