Order For Similar Custom Papers & Assignment Help Services

Fill the order form details - writing instructions guides, and get your paper done.

Posted: February 26th, 2022

Coding Java Expert Needed

ME/MSE 241 Engineering Computations Homework Assignment – 1

Instructions:

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.

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.

2. Do not use modules or create functions. Just write plain scripts for this assignment.

Problem 1 (12 pts)

Homework help – 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)

Homework help – 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: Homework help – 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) Homework help – 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 .

Order | Check Discount

Tags: best assignment help websites in canada, best nursing paper writing service, buy psychology essay, Cheap Psychology Essay Writing Service, dissertation assignment help

Assignment Help For You!

Special Offer! Get 20-25% Off On your Order!

Why choose us

You Want Quality and That’s What We Deliver

Top Skilled Writers

To ensure professionalism, we carefully curate our team by handpicking highly skilled writers and editors, each possessing specialized knowledge in distinct subject areas and a strong background in academic writing. This selection process guarantees that our writers are well-equipped to write on a variety of topics with expertise. Whether it's help writing an essay in nursing, medical, healthcare, management, psychology, and other related subjects, we have the right expert for you. Our diverse team 24/7 ensures that we can meet the specific needs of students across the various learning instututions.

Affordable Prices

The Essay Bishops 'write my paper' online service strives to provide the best writers at the most competitive rates—student-friendly cost, ensuring affordability without compromising on quality. We understand the financial constraints students face and aim to offer exceptional value. Our pricing is both fair and reasonable to college/university students in comparison to other paper writing services in the academic market. This commitment to affordability sets us apart and makes our services accessible to a wider range of students.

100% Plagiarism-Free

Minimal Similarity Index Score on our content. Rest assured, you'll never receive a product with any traces of plagiarism, AI, GenAI, or ChatGPT, as our team is dedicated to ensuring the highest standards of originality. We rigorously scan each final draft before it's sent to you, guaranteeing originality and maintaining our commitment to delivering plagiarism-free content. Your satisfaction and trust are our top priorities.

How it works

When you decide to place an order with Dissertation App, here is what happens:

Complete the Order Form

You will complete our order form, filling in all of the fields and giving us as much detail as possible.

Assignment of Writer

We analyze your order and match it with a writer who has the unique qualifications to complete it, and he begins from scratch.

Order in Production and Delivered

You and your writer communicate directly during the process, and, once you receive the final draft, you either approve it or ask for revisions.

Giving us Feedback (and other options)

We want to know how your experience went. You can read other clients’ testimonials too. And among many options, you can choose a favorite writer.