Posted: February 26th, 2022
Coding Java Expert Needed
ME/MSE 241 Engineering Computations Homework Assignment – 1
Instructions:
Who Writes College Essays, Research Papers, and Dissertations For Students?
We handpick every writer with care, ensuring they bring the perfect mix of academic qualifications and writing skills for top-notch results in essays, research papers, and dissertation help. Each one has a university degree, more than a third with Masters certification; they’ve tackled tough tests and training to excel in thesis writing and research paper assignments at any time. They’ll team up with you diligently, keeping things easy and stress-free as they relate to being immediate students. That’s what makes us the best assignment help website for "help me write my essay, research paper, or dissertation" for college coursework. Trust our team—professional research essay writers and editors—to deliver your dissertation or thesis writing within your grading criteria and deadline.
1) Include comments for every few lines (or even each line) of code as relevant.
2) Use a consistent naming convention.
3) If using Python scripts (.py), create one file for each problem solution. Name the files __.py.
4) If using the notebook format (.ipynb), use a single cell for each problem solution. Name the file _.ipynb.
Do You Offer Thesis Writing and Dissertation Help In Any Citation Style?
No matter what citation style you need for your research paper or dissertation, our skilled writers have you covered! We provide thesis writing and dissertation help in formats like APA, AMA, MLA, Turabian, Harvard, IEEE, and more. We’re dedicated to customizing your order to the exact guidelines of your chosen style, ensuring it fits your unique academic needs—whether it’s a dissertation, research paper, or essay for a specific course. We’ve got the flexibility to make it work for you!
5) Do not hesitate to ask for help, there are no trivial questions!
Note: 1. All the problems can be solved using the concepts we covered in the lectures.
Can I Change Instructions for Dissertation Help or Thesis Writing After Ordering?
You can absolutely reach out to your academic writer using our simple, user-friendly chat feature. It’s there so you can add details, clarify instructions, or tweak adjustments for editing your research paper or dissertation according to your grading rubric—even after you’ve submitted "help me with thesis writing or dissertation help" and they’ve started working on your project.
2. Do not use modules or create functions. Just write plain scripts for this assignment.
Problem 1 (12 pts)
Write a simple program using string indexing and slicing to modify a given string (use the input
function). The modified string should be reversed except the first and last characters. For example, if the
input is “Pullman” the output should be “Pamllun”.
Problem 2 (12 + 12 + 12 pts)
Write a program using a for loop to:
(a) Compute the reverse of a given string by accumulating it in a new string object (do not use slicing
to reverse the string).
(b) Print the movie quote below with each word reversed and uppercase characters replaced by
lowercase characters (assume the punctuation characters are part of the word):
"You see, in this world there's two kinds of people, my friend: Those with loaded guns and those
who dig. You dig."
This is the expected output: “uoy ,ees ni siht dlrow s’ereht owt sdnik fo ,elpoep ym :dneirf esoht
htiw dedaol snug dna esoht ohw .gid uoy .gid”
(c) Print the following pattern consisting of asterisks separated by spaces (you may have additional
spaces before and after the pattern).
Note: Write a generic program that can be easily extended to similar looking patterns, do not
specialize for this specific pattern. For example, I should be able to generate a wider pattern by
just changing a single value in the program. The goal of a program should always be automation.
Hint: Variables can be used in format specification. Example:
w = 6
f"{1.1545: >{w}.2}"
Problem 3 (12 + 20 + 20 pts)
Again, use a for loop to do the following (do not use the built-in function sum):
(a) Write a short program to determine the sum of the squares of first natural numbers where is a user input obtained through the input function.
(b) Given a set of temperatures in Fahrenheit as a tuple,
tempDataF = (36, 40, 28, 32, 22, 52, 44, 35, 40, 37)
write a program to convert the units to Celsius and compute the mean value in Celsius and
Fahrenheit. Present the results in a tabulated form as shown below.
(c) Construct a list consisting of the first 50 Fibonacci numbers through an accumulator. The
Fibonacci numbers satisfy these conditions:
1 = 1, 2 = 1
+2 = +1 +
Here, is the th number in the sequence.
The ratio of the adjacent Fibonacci numbers converges to the golden ratio, i.e.,
lim →∞
+1
= = 1 + √5
2 ≈ 1.618
Show this by accumulating the ratios into a list and verifying that the last element is
approximately equal to .