Create a single Processing program that fulfills the two requirements below. Here are some tips for you to remember.

Variables and Mathematical Calculations

INSTRUCTIONS BELOW AND USE THIS SITE TO COMPLETE ASSIGNMENT:
https://appinventor.mit.edu/explore/ai2/molemash

In this lab, we continue to practice with the different parts of a programming language. Specifically, we will
look at variables, data types, and calculations. This lab will be done in two parts.
Objective

Create a single Processing program that fulfills the two requirements below. Here are some tips for you to remember.
– The print( ) function will put text into Processing’s console
– The println( ) function does the same thing as print( ), but will put your text onto a new line. This is used solely for formatting – making things look nicer!
– round( ) can be used to round a number
For each part, you must use variables wherever possible, and format your console output so it is easy to read and understand. No draw( ) function will be required for this program, though you’re allowed to produce the results of your work however you want.
Part 1: Locomotives and Oxen

Using rough estimation, assume that a typical ox weighs around 2000 lbs and can produce a pulling force 2.5 to 3 times its weight. For the case of this lab, this gives us a figure of around 6000 lbs of pulling force per ox.
In many cases, multiple oxen are used to pull a single wagon.
Geared steam locomotives can pull up to the friction limit of their wheels. Geared steam locomotives have a drive shaft running the length of the machine, providing all-wheel drive. Because steel wheels have poor traction on steel rails, the maximum force of a geared steam locomotive is around only 30% of its weight. A Heisler locomotive would weigh approximately 90 tons.

Write a Processing program to calculate the pulling force of the Heisler locomotive in terms of oxen. The output of your program should be something like “The Heisler locomotive has the pulling force of X oxen!”
Remember that you must use variables in your app. Something like this would be appropriate:
int heisler_weight = 90; // weight in tons
Part 2: Bulldozers
Unlike locomotives, bulldozers have excellent traction! The exact amount of traction depends on the surface
on which the bulldozer is sitting, so we’ll have to estimate. According to various non-authoritative sources on
bulldozer forum posts, we will estimate that a bulldozer can pull approximately 175% of its weight.

Add onto Part 1 of this lab and calculate the pulling force for three bulldozers in terms of oxen. Use the

following three bulldozers:
– Caterpillar D5
– Caterpillar D11
– Komatsu D575A
Similar to Part 1, the output of your program should be something like “The Caterpillar D5 has the pulling
force of X oxen!”
Deliverables
To submit this lab, upload the .pde file for your program on here.

Caterpillar D11, Source:https://en.wikipedia.org/wiki/Caterpillar_D11

For this lab, we’ll be doing some calculations in Processing. The fourth lesson video this week shows how to do most of this assignment, and I leave the end of it to you. Your task is to determine the pulling strength of the heisler locomotive in Lewiston’s locomotive park in terms of oxen. In other words, the heisler can pull X pounds and has equivalent pulling force as Y oxen. Next, you’ll do the same calculation but for three bulldozers.

Submit your code’s .pde file on Canvas when you’re finished.

Last Completed Projects

topic title academic level Writer delivered
© 2020 EssayQuoll.com. All Rights Reserved. | Disclaimer: For assistance purposes only. These custom papers should be used with proper reference.