Order for this Custom Paper or similar Assignment Help Services

Fill the order form details in 3 easy steps - Instructions Guide .

Posted: February 26th, 2022

ME/MSE 241 Engineering Computations Homework Assignment – 1

ME/MSE 241 Engineering Computations Homework Assignment – 1

Directions:

1) Embody feedback for each few traces (and even every line) of code as related.

2) Use a constant naming conference.

three) If utilizing Python scripts (.py), create one file for every drawback resolution. Identify the information __.py.

four) If utilizing the pocket book format (.ipynb), use a single cell for every drawback resolution. Identify the file _.ipynb.

5) Don’t hesitate to ask for Help, there aren’t any trivial questions!

Observe: 1. All the issues may be solved utilizing the ideas we coated within the lectures.

2. Don’t use modules or create features. Simply write plain scripts for this project.

Drawback 1 (12 pts)

Write a easy program utilizing string indexing and slicing to change a given string (use the enter

operate). The modified string must be reversed besides the primary and final characters. For instance, if the

enter is “Pullman” the output must be “Pamllun”.

Drawback 2 (12 + 12 + 12 pts)

Write a program utilizing a for loop to:

(a) Compute the reverse of a given string by accumulating it in a brand new string object (don’t use slicing

to reverse the string).

(b) Print the film quote under with every phrase reversed and uppercase characters changed by

lowercase characters (assume the punctuation characters are a part of the phrase):

“You see, on this world there’s two sorts of individuals, my good friend: These with loaded weapons and people

who dig. You dig.”

That is the anticipated output: “uoy ,ees ni siht dlrow s’ereht owt sdnik fo ,elpoep ym :dneirf esoht

htiw dedaol cosy dna esoht ohw .gid uoy .gid”

(c) Print the next sample consisting of asterisks separated by areas (you will have extra

areas earlier than and after the sample).

Observe: Write a generic program that may be simply prolonged to comparable wanting patterns, don’t

specialize for this particular sample. For instance, I ought to be capable of generate a wider sample by

simply altering a single worth in this system. The purpose of a program ought to at all times be automation.

Trace: Variables can be utilized in format specification. Instance:

w = 6

f””

Drawback three (12 + 20 + 20 pts)

Once more, use a for loop to do the next (don’t use the built-in operate sum):

(a) Write a brief program to find out the sum of the squares of first pure numbers the place is a person enter obtained by means of the enter operate.

(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 transform the models to Celsius and compute the imply worth in Celsius and

Fahrenheit. Current the ends in a tabulated kind as proven under.

(c) Assemble an inventory consisting of the primary 50 Fibonacci numbers by means of an accumulator. The

Fibonacci numbers fulfill these circumstances:

1 = 1, 2 = 1

+2 = +1 +

Right here, is the th quantity within the sequence.

The ratio of the adjoining Fibonacci numbers converges to the golden ratio, i.e.,

lim →∞

+1

= = 1 + √5

2 ≈ 1.618

Present this by accumulating the ratios into an inventory and verifying that the final factor is

roughly 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 15-30% Off on Each Order!

Why Seek Our Custom Writing Services

Every Student Wants Quality and That’s What We Deliver

Graduate Essay Writers

Only the most qualified writers are selected to be a part of our research and editorial team, with each possessing specialized knowledge in specific subjects and a background in academic writing.

Affordable Prices

Our prices strike the perfect balance between affordability and quality. We offer student-friendly rates that are competitive within the industry, without compromising on our high writing service standards.

100% Plagiarism-Free

No AI/chatgpt use. We write all our papers from scratch thus 0% similarity index. We scan every final draft before submitting it to a customer.

How it works

When you opt to place an order with Nursing Study Bay, here is what happens:

Fill the Order Form

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

Assignment of Writer

We assess your order and pair it with a custom writer who possesses the specific qualifications for that subject. They then start the research/write from scratch.

Order in Progress and Delivery

You and the assigned writer have direct communication throughout the process. Upon receiving the final draft, you can either approve it or request revisions.

Giving us Feedback (and other options)

We seek to understand your experience. You can also peruse testimonials from other clients. From several options, you can select your preferred writer.

Expert paper writers are just a few clicks away

Place an order in 3 easy steps. Takes less than 5 mins.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00