Simulation Report

Simulation Report 01 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Simulation Report

Introduction

In team D, utilization of StratSimManagement Simulation tool over since the first input in week one over the four periods has proven to be very effective in the understanding market environment, making projections, and remaining objective to the leading cause for action in the automotive industry. The primary strategy is to become an automotive leader while promoting quality and safety in car manufacturing (Gonzalez-Fuentes et al., 2021). The objectives that the team within the simulation effect had in mind includes creating minor updates for Defy in terms of interior, safety, and quality, opening new distribution centers, improving all cars in economy, family, truck, and luxury cars for “Deluxe” as part of competitive advantage for the company. Indeed, the best value for each period was designed effectively.

Strategy

The firm’s corporate generic strategy was to be the leading automobile firm in the industry to promote the quality and safety of car production (Gonzalez-Fuentes et al., 2021). The company would achieve this by narrowing down to the main market demands and needs and being ready to use innovation to gain a competitive advantage over other brands in the market and remain the business leader. It is commonly known that consumers look for safety measures, quality, and interior designs which offer luxury and comfort while using cars, and that’s the primary strategy while making innovations and areas for improvement. Thus, since each of the vehicles in the different classification such as luxury, economy, family, and truck have different needs and require additional input, in each segment, analysis was done based on the need for the consumers, value for the car, and competitors input in such segment to make sure the cars are outstanding while maintaining the role of business leaders which means attracting more customers, having the more significant market shares and proper market penetration. The overall strategy did not change as it touched all production elements to marketing, making it very effective.

The strategic action plan was mainly centered on objectivity and looking at the entire production force at all aspects through the decision making to see that every decision made impacts the long-term goal and impact for the organization in the market based on each car segment (Gonzalez-Fuentes et al., 2021). For instance, the first decisions were to invest in safety through technological innovation, then under product development, the approach taken as opening new development center. The firm utilizes direct marketing and advertising in the East and later in the South in consumer marketing. Product marketing for specific brands such as project Delite had minor upgrades and required marketing while based on quality input to meet consumer brands. For Detonka, marketing was mainly based on its performance power. New dealerships were opened, and manufacturing was maximized to remain competitive.

Based on the strategic action plan, all the moves explained above had measurable goals set and input as to why taking that action plan was the best choice of input, mainly in remaining competitive in the market. For instance, since decisions were based on market forces and forecasting, a car brand like Defy required only minor updates in the family segment where the car, despite being in a very competitive environment, the car segment had 33% of the entire market share and made the input balance, the company increased the advantages to 60% while decreasing promotion by 40% and maintained leading on the segment.

In segments such as luxury cars, consumers are looking for interior, safety, and quality; thus, all innovations were based on creating upstandingness in quality. The outcome is that the segment has remained a tremendous high-income enterprise. Therefore, for Deluxe luxury, in the first instance, the company tried to change the marketing theme by focusing on advertisements based on styling without making significant changes. It increased advantages by 37%. However, changes were made in the next improvement plan to increase its size, style, interior, and quality when focusing on electric launching in Y6, and the prices increased by $37,999. To make the outcome better for dealers, a discount of 15% was granted, which led to outstanding marketing and sustainable input in the marketing campaign and development.

To increase market share, the company had to open new distribution centers, where three dealers were set to open in the North and South, one dealer was set to open in the East, and one in the West. At the same time, as the dealers were opening up, the need to increase capacity was considerably high since the production pattern had not been changed even without the dealership. Thus, available production had to take a plus one in decisions. Opening all the branches creates a high market reach and makes it easy for consumers to get the best brands in the entire section, which keeps the overall strategy of being ahead of the competition real.

The other strategic decision was to improve all cars, even those with minor market share, by focusing on value for money in what the consumers are looking for and what the company is offering which increased sales even in the low segment brands (Gonzalez-Fuentes et al., 2021). For Deluxe in the market, quality and affordability are good equation that works best. Thus, setting the prices above $35K and the competitors having the same brand set between $40.3K and $40.7K will form the market as competitive as possible. The production cost also requires a reduction in production, which can be made through additional automaking to focus on what is best for the interest of consumers that takes 10% cost in building the current capacity. Thus, all changes that will be done in the production schedule will be done all around from pricing, dealership, marketing, and safety measures to ensure no fine is given.

The Detonka truck is among the brands that experienced innovation through safety and styling. The advantages increased to 35, which is a good input that placed the company in a great position when dealing with development options and brand inputs that serve best. It was a significant investment making all the changes from plant automation to ensuring all the vehicle segments were increased; thus, financing was 3M in credit at an interest of 3.5% and 3M loan repayment. The company also sold bonds of $1000.

Conclusion

The firm planned to remain competitive and maintain leadership in automotive marketing through quality and safety. A significant input made the company competitive through innovation based on technology to maintain safety, product development, consumer marketing, distribution, and manufacturing. The outcome has been outstanding, with the company increasing its revenue and strengthening its competitive position. It was a significant input to keep the company on its productive margin. Group members did all the strategies held via Zoom meetings on 18, 19, and 22 December 2021.

 

 

 

 

 

 

 

References

Gonzalez-Fuentes, M., Robertson, K. R., & Davis, J. C. (2021). Creativity as a Reflective Learning Exercise: Informing Strategic Marketing Decisions Through Digital Storytelling. Marketing Education Review, 1-9.

Please use the sample format as attached mlx file and upload both mlx and pdf. Make sure to sign problems and which part is it.

Please use the sample format as attached mlx file and upload both mlx and pdf. Make sure to sign problems and which part is it.

By hand part you should write by hand and take a picture then insert it in.

Notes.

  • When uploading your work, be sure to choose correct pages, without missing any, for each problem. Besides, make sure all pages are in order, no page is rotated, and none of your code or hand-written work is cut out.
  • According to our homework policies, you are allowed to collaborate for homework assignments in a group of up to 5 students. If you did, please list all your collaborators at the top of your homework, below your name.
  • Homework must be prepared using a live script (.mlx file). Submission generated using any other means (e.g., Words with MATLAB screenshots) will not be accepted.
  • Starting from this assignment, you will be asked to write MATLAB functions. Unlike scripts, functions can be included inside your mlx file at the very end of the document. So you no longer need to write an external m-file and print its content using the type function. For more detailed instruction, please read

[Guide] How to Embed Functions in Live Scripts:

 

Method 1: Using Code Example Environment

Suppose that you have written a function as a separate function m-file, myfoo.m and now you want to include its contents within your homework live script, HW2_Kim.mlx. At the top of MATLAB window, click on Insert > Code Example. It creates a blank box. Any text typed within this box will be formatted in monospaced fonts with syntax highlighting.

Drawbacks:

  • The box is not an executable code block.
  • If you make changes to myfoo.m, you need update the code example block accordingly (by copying and pasting).

Method 2: Using TYPE Function

Still suppose that you have a function written as a separate m-file titled myfoo.m. Then you can simply type

type myfoo

within a code block. The contents of myfoo.m will be printed out in your live script.

Note:

  • We have been using this to print out the contents of external script m-files. This works in the exact same way for function m-files.

Drawbacks:

  • If you forget to run that block after your final edit, your live script will show an outdated version of your function.
  • As you complete more and more assignments, your folders will be filled with more m-files and may be difficult to manage unless you are well-organized.

Method 3 (Recommended): Writing Functions at the End of Live Script

Instead of writing a separate m-file, you may just write the function at the very bottom of the document. The functions are local to the live script, and so you are able to call the function anywhere inside the live script. This way, your mlx file is fully self-contained and you no longer need to go back and forth between Editor and Live Editor. See the live script accompanying Lecture 9; all functions defined for the live script are gathered in the last section titled “Functions Used”.

This is my recommended method!

The only caveat I can think of:

  • Suppose Problem 1(a) asks you to write a function, and so you write it at the end of your live script. You then exports it to a pdf file and find out that Problem 1 solutions are on pp. 1–2, with the function written for 1(a) appearing on p. 7. In this case, when you upload the pdf file to Gradescope, you have to select pages 7, 1, and 2 for Problem 1, in that order.

Improved triangular substitutions; adapted from FNC

Updated on September 30, 2021

Hints for Homework 5

1. (Improved triangular substitutions; adapted from FNC 2.3.5)

(a) The function backsub handles the case in which A is upper triangular; call it U:

U

 x1 x2 · · · xp

 

︸ ︷︷ ︸ =X

=

 b1 b2 · · · bp

 

︸ ︷︷ ︸ =B

.

For any j ∈ N[1,p], the solution of Uxj = bj is obtained by applying the backward substitution formula given in lecture:

 xn,j =

bn,j un,n

and

xi,j = 1 ui,i

 bi,j − n∑

k=i+1 ui,kxk,j

  for i = n− 1,n− 2, . . . , 1.

Encode these formulas using nested for-loops in your program: • outer loop: iterate over columns (j = 1, 2, . . . ,p) • inner loop: implement the backward substitution formula (i = n,n− 1, . . . , 1).

You may use the following template to begin your program backsub.m1 by function X = backsub(U,B) % BACKSUB X = backsub(U,B) % Solve multiple upper triangular linear systems. % Input: % U upper triangular square matrix (n-by-n) % B right-hand side vectors concatenated into an (n-by-p) matrix % Output: % X solution of UX = B (n-by-p)

[n,p] = size(B); % grab dimensions X = zeros(n,p); % preallocate output %% Implement back. subs. formula (nested for-loop)

end

1You do not need to write external function m-files. Simply write them at the end of the document as instructed in the problem.

1

 

 

The function forelim can be written in a very analogous manner. Note. If you want to include a check for triangularity of the coefficient matrix, use

istriu (upper triangular) or istril (lower triangular), e.g., if ~istriu(U)

error(’The matrix U must be upper triangular.’); end

The inclusion of such a check will not be part of the grading rubrics. (b) One way to test your code using the given examples is to compute the norm of the

difference of the analytical inverse and the numerically calculated inverse. For example, L1 = …..; L1inv = …..; % analytical inverse given L1invNum = ltinverse(L1); % numerically calculated inverse norm(L1inv – L1invNum) % norm of the difference

We want to see a small norm, if not zero.

2. (Triangular substitution and stability; FNC 2.3.6)

(a) In this part, you show that x = (1, 1, 1, 1, 1)T solves the system for any values of α and β; this is an analytical result.

(b) In this second part, however, you check whether the computer indeed produces the same answer for changing values of β while α is fixed. When the problem says “Using MATLAB, solve the system . . .”, it simply means that you use the backslash \ to solve the system Ax = b.

3. (Vectorizing mylu.m; FNC 2.4.7)

(a) For this part, follow the direction given in the problem: • delete the keyword for in the inner loop; (just for, not the rest) • delete the matching end of the inner loop; • put a semicolon at the end of i = j+1:n.

This defines i to be a vector of indices (j + 1,j + 2, . . . ,n). Passing i into L or A in the next two lines, the code effectively accesses the (j + 1)st through nth rows of the respective matrices; see the slides titled “Using Vectors as Indices” in Lecture 7 on arrays.

(b) Let x ∈ Rn and A ∈ Rn×n, not necessarily the ones appearing in the problem. The ordinary elementwise vector/matrix notation refers to the convention of denoting the elements of a vector or a matrix using subscripts such as

• xi: the ith element of vector bx; • Ai,j: the element of A on the ith row and jth column.

In MATLAB, they are expressed as x(i) and A(i,j), respectively. Now, let’s concen- trate on the matrix case:

A(< rowindex >,< columnindex >)

When one of the two indices is a vector, as in the case of the problem, it represents the slice of the matrix on a specified row or column. For example,

2

 

 

• A row vector consisting of 5th through 8th elements on the 3rd row of A:

A(3, 5 : 8) −→ [ A3,5 A3,6 A3,7 A3,8

] • A column vector consisting of 5th through 8th elements on the 3rd column of A:

A(5 : 8, 3) −→

  A5,3 A6,3 A7,3 A8,3

 

When both indices are vectors, it represents the submatrix on the specified rows and columns. For example,

• The submatrix of A between 2nd and 4th rows and between 1st and 5th columns:

A(2 : 4, 1 : 5) −→

 A2,1 A2,2 A2,3 A2,4 A2,5A3,1 A3,2 A3,3 A3,4 A3,5 A4,1 A4,2 A4,3 A4,4 A4,5

 

You are to translate the MATLAB statements in your vectorized mylu into mathematical notations as shown above.

4. (Application of LU factorization: FNC 2.4.6)

(a) Recall the following properties of the determinant from linear algebra: • det(AB) = det(A) det(B). • det(T) = t11t22 · · ·tnn =

∏n i=1 tii, where T ∈ Rn×n is a triangular matrix.

(b) Try to vectorize your code. The function can be written in only couple lines (excluding the function header and the end statement) without using any loop. It would be also useful to recall that if you only want to generate the second output of a certain function, you put ~ in place of the first output argument as a placeholder. For instance, if you only need U from mylu(A), instead of calling it with [L,U] = mylu(A), use

[~, U] = mylu(A);

Note. Use the vectorized version of mylu which you already wrote for Question 3.

5. (Proper usage of lu; FNC 2.6.1) The expression U \ L \ b is equivalent to (U \ L) \ b.

6. (FLOP Counting)

(a) Consider the following example question. Question. How would you code x = ABb most efficiently in MATLAB, and how many flops are needed? Answer. There are only two ways2 to code it: x=A*(B*b) or x=(A*B)*b. If the former is used, MATLAB i. carries out B*b: matrix-by-vector multiplication (∼ 2n2 flops)

2This is the same as x = A*B*b.

3

 

 

ii. left-multiplies the previous result by A: another matrix-by-vector multiplication (∼ 2n2 flops)

In total, it takes ∼ 4n2 flops. On the other hand, the latter version requires the matrix- by-matrix multiplication A*B, which already takes ∼ 2n3 flops. So the former is the efficient one.

Lesson. Avoid matrix-by-matrix multiplication as much as possible! Also remember to use the backslash operator if matrix inversion is required, instead of inv. When \ is invoked, MATLAB in general does a pivoted Gaussian elimination, which takes ∼ (2/3)n3 flops.

7. (Matrix norms; Sp20 midterm) Hints are found in the lecture for 10/01/21 (F).

Re-create at least 1 visual aid from Tufte’s article that you believe would better describe the dangers surrounding the launch.

Expand upon your week 1 discussion posts and in a 3 page double spaced, APA formated document, describing the specific aspects from the Challenger accident that helps us better understand the importance of effective data visualization.

Also, complete the following activity:

  • Re-create at least 1 visual aid from Tufte’s article that you believe would better describe the dangers surrounding the launch.
  • Expound upon Richard Feynman’s congressional investigation and articulate a better argument as to the cause of the accident.
  • What did you learn from this case study?

Programming Languages:

Dear Students, To help you get prepared for the Capstone course, we have decided to make a short list of technologies that were previously used by students in their projects. We highly recommend that you familiarize yourself with at least two different technologies from each category.

Disclaimer: This is by no means an exhaustive list. These technologies are just a few to get you started thinking about what you might need to develop a typical project in this course.

 

Tools & Technologies

Programming Languages:

· JAVA, C++, Objective-C, C#, Swift, Python, R

Web Programming Languages & Technologies:

· PHP, JavaScript, HTML5, CSS3, ASP.NET, GO

· jQuery (a JavaScript library)

· CakePHP (an open-source framework for PHP)

· CodeIgnitor (a powerful PHP framework)

· Laravel (another PHP framework)

· Zend (an object-oriented PHP framework)

· Firebase (offers real-time database, multiple authentication types and hosting platform)

· Ionic (a mobile framework)

· React (Facebook’s Javascript library developed for building user interfaces)

· jQuery Mobile

Frameworks for developing responsive websites:

· Bootstrap (a UI framework)

· AngularJS

· Node.js (server-side framework)

· ExpressJS

· KnockoutJS

· ReactJS

· Ruby on Rails

· Django

Cloud Computing Services:

· Amazon Web Services (AWS)

· Google Cloud Platform

· Microsoft Azure

· IBM Cloud

· Kamatera

Relational Databases:

· MySQL

· SQLite

· PostgreSQL

· SQL Server

· Oracle

NoSQL Databases:

· MongoDB

· Cassandra

· Couchbase

Data formats:

· XML

· JSON

· CSV

Data Mining, and Machine Learning Algorithms:

· Deep Neural Networks

· Convolutional Neural networks

· Linear Regression

· Decision Trees

· Naive Bayes

· K-Nearest Neighbors

· SVM

Protocols:

· HTTP/HTTPS

· TCP/IP

· DDP

· REST (WS access protocol)

· SOAP (WS access protocol)

Mobile App Development (Languages & tools):

· Languages: Swift (for Apple products), JAVA (for Android development), C#

· Phonegap / Cordova (uses JavaScript, HTML, and CSS)

· Appcelerator (HTML, PHP, and JavaScript)

· MoSync (it supports Eclipse-based IDE for C/ C++ programming)

Editors:

· Atom: A text editor

· Sublime Text: editor for code and markup with great performance.

· Notepad++

· Visual Studio Code

· Coda 2: A text editor for OS X

· WebStorm: A powerful IDE

· Vim

· Brackets: A modern text editor

· Emacs: An extensible, customizable text editor with built-in functions

· Adobe Dreamweaver (for web development)

Wireframe & Prototyping:

· moqups

· balsamiq

· HotGlue

Other Technologies:

· Blockchain (a decentralized technology behind the cryptocurrency)

· Unity (for game development)

· Encryption & decryption

· OpenCV (for real-time computer vision)

Dear Students, To help you get prepared for the Capstone course,

Dear Students, To help you get prepared for the Capstone course, we have decided to make a short list of technologies that were previously used by students in their projects. We highly recommend that you familiarize yourself with at least two different technologies from each category.

Disclaimer: This is by no means an exhaustive list. These technologies are just a few to get you started thinking about what you might need to develop a typical project in this course.

 

Tools & Technologies

Programming Languages:

· JAVA, C++, Objective-C, C#, Swift, Python, R

Web Programming Languages & Technologies:

· PHP, JavaScript, HTML5, CSS3, ASP.NET, GO

· jQuery (a JavaScript library)

· CakePHP (an open-source framework for PHP)

· CodeIgnitor (a powerful PHP framework)

· Laravel (another PHP framework)

· Zend (an object-oriented PHP framework)

· Firebase (offers real-time database, multiple authentication types and hosting platform)

· Ionic (a mobile framework)

· React (Facebook’s Javascript library developed for building user interfaces)

· jQuery Mobile

Frameworks for developing responsive websites:

· Bootstrap (a UI framework)

· AngularJS

· Node.js (server-side framework)

· ExpressJS

· KnockoutJS

· ReactJS

· Ruby on Rails

· Django

Cloud Computing Services:

· Amazon Web Services (AWS)

· Google Cloud Platform

· Microsoft Azure

· IBM Cloud

· Kamatera

Relational Databases:

· MySQL

· SQLite

· PostgreSQL

· SQL Server

· Oracle

NoSQL Databases:

· MongoDB

· Cassandra

· Couchbase

Data formats:

· XML

· JSON

· CSV

Data Mining, and Machine Learning Algorithms:

· Deep Neural Networks

· Convolutional Neural networks

· Linear Regression

· Decision Trees

· Naive Bayes

· K-Nearest Neighbors

· SVM

Protocols:

· HTTP/HTTPS

· TCP/IP

· DDP

· REST (WS access protocol)

· SOAP (WS access protocol)

Mobile App Development (Languages & tools):

· Languages: Swift (for Apple products), JAVA (for Android development), C#

· Phonegap / Cordova (uses JavaScript, HTML, and CSS)

· Appcelerator (HTML, PHP, and JavaScript)

· MoSync (it supports Eclipse-based IDE for C/ C++ programming)

Editors:

· Atom: A text editor

· Sublime Text: editor for code and markup with great performance.

· Notepad++

· Visual Studio Code

· Coda 2: A text editor for OS X

· WebStorm: A powerful IDE

· Vim

· Brackets: A modern text editor

· Emacs: An extensible, customizable text editor with built-in functions

· Adobe Dreamweaver (for web development)

Wireframe & Prototyping:

· moqups

· balsamiq

· HotGlue

Other Technologies:

· Blockchain (a decentralized technology behind the cryptocurrency)

· Unity (for game development)

· Encryption & decryption

· OpenCV (for real-time computer vision)

Start with the following Python code.  

Start with the following Python code.

alphabet = “abcdefghijklmnopqrstuvwxyz”

test_dups = [“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]

test_miss = [“zzz”,”subdermatoglyphic”,”the quick brown fox jumps over the lazy dog”]

# From Section 11.2 of:

# Downey, A. (2015). Think Python: How to think like a computer scientist. Needham, Massachusetts: Green Tree Press.

def histogram(s):
d = dict()
for c in s:
if c not in d:
d[c] = 1
else:
d[c] += 1
return d

Copy the code above into your program but write all the other code for this assignment yourself. Do not copy any code from another source. 

Part 1 

Write a function called has_duplicates that takes a string parameter and returns True if the string has any repeated characters. Otherwise, it should return False.

Implement has_duplicates by creating a histogram using the histogram function above. Do not use any of the implementations of has_duplicates that are given in your textbook. Instead, your implementation should use the counts in the histogram to decide if there are any duplicates.

Write a loop over the strings in the provided test_dups list. Print each string in the list and whether or not it has any duplicates based on the return value of has_duplicates for that string. For example, the output for “aaa” and “abc” would be the following.

aaa has duplicates
abc has no duplicates

Print a line like one of the above for each of the strings in test_dups.

Part 2 

Write a function called missing_letters that takes a string parameter and returns a new string with all the letters of the alphabet that are not in the argument string. The letters in the returned string should be in alphabetical order.

Your implementation should use a histogram from the histogram function. It should also use the global variable alphabet. It should use this global variable directly, not through an argument or a local copy. It should loop over the letters in alphabet to determine which are missing from the input parameter.

The function missing_letters should combine the list of missing letters into a string and return that string.

Write a loop over the strings in list test_miss and call missing_letters with each string. Print a line for each string listing the missing letters. For example, for the string “aaa”, the output should be the following.

aaa is missing letters bcdefghijklmnopqrstuvwxyz

If the string has all the letters in alphabet, the output should say it uses all the letters. For example, the output for the string alphabet itself would be the following.

abcdefghijklmnopqrstuvwxyz uses all the letters

Print a line like one of the above for each of the strings in test_miss.

Submit your Python program. It should include the following.

  • The provided code for alphabet, test_dups, test_miss, and histogram.
  • Your implementation of the has_duplicates function.
  • A loop that outputs duplicate information for each string in test_dups.
  • Your implementation of the missing_letters function.
  • A loop that outputs missing letters for each string in test_miss.

Also submit the output from running your program.

Your submission will be assessed using the following Aspects.

  1. Does the program include a function called has_duplicates that takes a string parameter and returns a boolean?
  2. Does the has_duplicates function call the histogram function?
  3. Does the program include a loop over the strings in test_dups that calls has_duplicate on each string?
  4. Does the program correctly identify whether each string in test_dups has duplicates?
  5. Does the program include a function called missing_letters that takes a string parameter and returns a string?
  6. Does the missing_letters function call the histogram function?
  7. Does the missing_letters function use the alphabet global variable directly?
  8. Does the program include a loop over the strings in test_miss that calls missing_letters on each string?
  9. Does the program correctly identify the missing letters for each string in test_miss, including each string that “uses all the letters”?

Encapsulate the following Python code in a function named my_sqrt that takes a as a parameter, chooses a starting value for x, and returns an estimate of the square root of a. 

Part 1

Encapsulate the following Python code in a function named my_sqrt that takes a as a parameter, chooses a starting value for x, and returns an estimate of the square root of a.

while True:
y = (x + a/x) / 2.0
if y == x:
break
x = y

Part 2

Write a function named test_sqrt that prints a table like the following using a while loop, where “diff” is the absolute value of the difference between my_sqrt(a) and math.sqrt(a).

a = 1 | my_sqrt(a) = 1 | math.sqrt(a) = 1.0 | diff = 0.0
a = 2 | my_sqrt(a) = 1.41421356237 | math.sqrt(a) = 1.41421356237 | diff = 2.22044604925e-16
a = 3 | my_sqrt(a) = 1.73205080757 | math.sqrt(a) = 1.73205080757 | diff = 0.0
a = 4 | my_sqrt(a) = 2.0 | math.sqrt(a) = 2.0 | diff = 0.0
a = 5 | my_sqrt(a) = 2.2360679775 | math.sqrt(a) = 2.2360679775 | diff = 0.0
a = 6 | my_sqrt(a) = 2.44948974278 | math.sqrt(a) = 2.44948974278 | diff = 0.0
a = 7 | my_sqrt(a) = 2.64575131106 | math.sqrt(a) = 2.64575131106 | diff = 0.0
a = 8 | my_sqrt(a) = 2.82842712475 | math.sqrt(a) = 2.82842712475 | diff = 4.4408920985e-16
a = 9 | my_sqrt(a) = 3.0 | math.sqrt(a) = 3.0 | diff = 0.0

Modify your program so that it outputs lines for a values from 1 to 25 instead of just 1 to 9.

You should submit a script file and a plain text output file (.txt) that contains the test output. Multiple file uploads are permitted.

Your submission will be assessed using the following Aspects.

  1. Does the submission include a my_sqrt function that takes a single argument and includes the while loop from the instructions?
  2. Does the my_sqrt function initialize x and return its final value?
  3. Does the test_sqrt function print a values from 1 to 25?
  4. Does the test_sqrt function print the values returned by my_sqrt for each value of a?
  5. Does the test_sqrt function print correct values from math.sqrt for each value of a?
  6. Does the test_sqrt function print the absolute value of the differences between my_sqrt and math.sqrt for each value of a?
  7. Does the my_sqrt function compute values that are almost identical to math.sqrt (“diff” less than 1e-14)?

For this module, we’ll be fleshing out your work from previous weeks to complete a rough draft of your final project.

For this module, we’ll be fleshing out your work from previous weeks to complete a rough draft of your final project. You have already identified your topic and the social media choices for your project, and done research on comparable brands or sites.

Now it’s time to get it all ready. This week, you should spend more time researching comparable options on your social media choices. Then it’s time to put it together!

First, you should put together your overview of the project. This starts with the description of your business or brand. Write about what it is and what you want for it, and add the research you have found on comparable businesses or brands. Then what are the goals you have for the business or brand? What are your general goals with social media for it? What audience are you aiming to reach?

Now on to the social media aspect of the project. If you have a real business, brand, or site to work on, you can start by putting the site profiles into the 4 social media sites you’ve chosen (e.g. Facebook, Twitter, etc.). Screenshots will work for these that you have really made. If you don’t really have a business or brand, you do not need to create faux profiles. However, you should write the information you would include in your profile for each one.

Then, for each social media site, write about your goal for that site, how you will accomplish them, and some ideas for posts or pins. Who is your audience? When and where can you best reach them? How can you really use social media to work for you?

This project should have at least 1-2 pages for your overview and then approximately 1-2 pages per social media site. So the draft will be 5 – 10 pages long.

There will be the option to present your project to your instructor and class next week in the live classroom, so begin thinking about if this is something you’d like to do.

ALA format

Running head: HEALTHPERT MOBILE APPLICATION 1

Running head: HEALTHPERT MOBILE APPLICATION 1

HEALTHPERT MOBILE APPLICATION 2

 

 

 

 

 

 

 

 

 

 

 

HealthPert Mobile Application

Robert Jamerson

Rasmussen College

HealthPert Mobile Application

Brief Outline regarding HealthPert Mobile Application

I. Background Information

· “HealthPert” as a term comes from the words “Health” and “Expert”.

· HealthPert therefore means that it means an expert in health.

· Health experts are always on the forefront to support health among patients in the society.

· HealthPert is an expert in the medical field trying to create a positive health background among patients.

· HealthPert is a mobile application working through android, iOS, and Windows Operating Systems.

· Additionally, HealthPert will also have a website through which individuals will be able to access information relating to the well-being of patients.

II. Functionalities of HealthPert

· HealthPert will link friends and families with their members through a health expert platform.

· HealthPert will ensure that family members and friends are able to acquire updates relating to the health status of their members.

· A patient will provide friends and family members with permission to check about their health progress.

· Concerning health progress, the app will have information about weight, height, lifestyle diseases, progress of treatments/diagnosis, and development of health.

· A family and friends may make comments on how their members and acquaintances may improve their health.

· In case one has an attack (may be stroke/heart), he/she may press the alert button which will show the location of the patient for easy access.

· When the alert button is pressed, it means that a person will be able to call the key person on the phone.

· Also, the alert button will provide the possibility of ensuring that a text is sent as a reminder that the person is in danger of losing a life/whether the person has already acquired medical assistance.

· HealthPert is connected to the primary care giver of the patient and the communication will be between the ambulatory service, family members/friends, and the patient.

· Therefore, HealthPert will be instrumental in saving a life when it comes to facilitating its communication.

III. Advantages of the Application

· Individuals lose their lives when they are not in communication with their loved ones.

· HealthPert allows patients and their family/members to form a health club for them to have the capacity to ensure continuous assistance to each other.

· HealthPert will save costs of treatment because it will allow patients to fund raise when it comes to the health of their members.

Similar Brands Relating to HealthPert

The market possesses apps that focus on the family and health issue. The one with the same similarities of the HealthPert App includes the following: CareZone and WildFlower. The similarities in the applications is that they focus on the well-being of family members and allows care to occur continuously throughout the year. Family members have the opportunity to create an impact on each other’s health without the involvement of hospitals at all times. The apps are also available on the worldwide web since it is one of the most sought-after platforms in the international business community. The situation has influenced the members of the public to receive health benefits and assistance with much ease.

Social Media Sites for the HealthPert

The social media platforms that are instrumental in sharing data belonging to HealthPert in this case comprise of the following:

· Facebook

· Twitter

· Instagram

· LinkedIn

· Pinterest