Do the following: Purchase a web-hosting service, and set up a wordpress site. The site must have webspace you can access with sftp, it must support wordpress, php, and
you should have at least one MySQL database included. It should also have an SSL certificate of some type included.
I recommend using ionos.com, but there are many other options; you would just need to make sure it has all
of these requirements.
Here are the steps you would need to do on ionos.com:
go to ionos.com, then click on hosting, then click on Wordpress, then Managed Wordpress hosting, then click on See Plans, then click either on Essential
($3 per month for 12 months, then $4 per month after that) or on Business (0.50/month for 12 months, then $8/month after that). Click on "See all features"
to pick the one you want. The business one will have slightly better performance if you are really going to use the website later for something more complicated,
but the smaller one is fine for this class. Either way, you can cancel it before it renews, no problem.
Then make up your desired name of your website, like "bubbaLovesMath.com". It will check the availability of the name. If it is available, then click
on "Add to Cart", then "Continue" (don't buy any extras). Then create your contact data to register your domain, order it, and put the payment in.
You may be asked to set up a password and so on.
After a little while, you will get an email confirming your domain registration (as well as two other emails before that on order and contract
confirmations). You can then set up your domain from the button in that email. (You may have to set up a password.) It will take you to your Ionos account,
and you will see two options - you will want to set up a WordPress site. You will then make up a title for your website, and click the "Create Website" button.
Then you will need to set up your Wordpress login (separate from your other login) - both username and password. Check the box, and Continue. Hit "Continue
with Managed Wordpress", and then the server will start setting up your wordpress website (just the background code). Then your site will be online,
as a generic website, but it will not go live until you tell it to.
You should have received emails stating that you have a New WordPress site, that it is successfully set up.
Now go to yourDomainName.com/wp-admin, and you can change the theme (download a free one), and off you go to customize your website.
If something goes wrong, and you can't access the wordpress site, you may need to call support through my.ionos.com.
Look at some youtube videos, and also learn about how to add and change things on your website. Add some links.
After you are done, you just have to send me the link to the website.
Lastly, set up the free SSL certificate on your website. Go to my.ionos.com, then go to Menu, then Domains & SSL. CLick on your domain name.
Then under SSL Certificate, click on "Activate SSL encryption". Use the free SSL Starter. Check the box, and then let it get set up. Now you can go to
https://yourDomainName.com, and it should show the lock on the title bar, indicating the website is secure. If you go into your wp-admin dashboard, in Settings
you should
see the website address with https://yourDomainName.com. In that same box, you should probably change the time zone and say that the week starts on Sunday.
Add the code snippet required to prevent others from detecting your wordpress usernames.
Create one secondary page in addition to a static home page. The new page should have
some graphics in it. Make sure that this page is
linked to the main page through the menu.
Create a blog posts page, and arrange it so that all of the blog posts you make
automatically appear on that page. Make at least one blog post. This page should also
be linked to the main page through the menu.
Link your html page (see below) to the main page, again through the menu.
Create a new html page named index.html from scratch that is linked to your wordpress site:
Put the html file inside a directory that is inside another directory within your webspace
(The first directory could be something like 'morePages', and the inside directory could be something like 'derivativeInfo').
The html file must have an appropriate title that appears on the browser tab.
The html file must have at least 2-3 meta tags. At least one of them should be the viewport tag that makes the page look OK on different size windows.
Another meta tag should be a keywords tag.
The html file must have text of at least two different sizes, at least one image, a table, a bulleted list,
a horizontal line, at least one div tag, and a link to an external website that opens in another tab.
Note: in order to allow people to access this file via https://files.domainName.com/dir1/dir2/fileName.html, you should create a subdomain
files.domainName.com inside your ionos portal whose target is your webspace (this is the default).
Clean up the site a little bit more, making sure that all the text and images on the site are what you placed on there (instead of sample pages that came with your theme).
Change the menu so that it has a single item for the Scientific Computing assignments. Then when you go to that page, there should be a
listing of all the assignments (starting with the second one) with links to those pages.
Create a new html page named index.html from scratch that is linked to your wordpress site:
Put the html file inside a directory (such as assignment3) within your webspace.
The html file must have the standard features:
an appropriate title that appears on the browser tab
meta tags for viewport and title (could also have more)
The html file should contain some text inside a paragraph tag, some text inside a div tag, a table, and some externel links in a bulleted list.
There should also be headings.
In the header, you should set specific styles of font (including color, size, style, font) for each of the different tags used. At least one of the
headings should have shadow text. At least one Google font should be used somewhere.
Make sure that for the anchor tags (for the links), you specify specific different styles for the 4 different link states (link, visited, hover, active).
You should use the css to define alignment, padding, background colors and borders of the table. The background colors should change when you
hover over the table.
Choose a nickname for your blog posts that is different from your user name. Next, select the option where it shows the nickname
instead of the username when you do blog posts.
Create a favicon, and place in your root folder of your webspace so that the icon displays on the webpage tab. (Alternately, if your theme can do it for you, that is also OK,)
Create a new html page named index.html from scratch that is linked to your wordpress site:
Put the html file inside a directory (such as assignment4) within your webspace.
The html file must have the standard features:
an appropriate title that appears on the browser tab
meta tags for viewport and title (could also have more)
The html should include instructions for the user, and also it should explain what the output is (described below).
There should be an input box like .
After the user enters a real number into the box, it should give the number of prime numbers less than or equal to that number, and it should do it
using three different algorithms (you can choose from the list below). Also, it should display the number of milliseconds that it takes for the browser
to complete the task. At the end, it should display something like "Algorithm #2 is the fastest" or something like that, according to which one performed the
task with the least number of milliseconds. It is important that the display looks good.
Possible algorithms (you can also make up one). Assume that N is the inputted into that box. You should choose algorithms that have quite different speeds.
For each positive integer less than or equal to N, check if it is prime by testing if it is divisible by any of the positive integers less than that number.
Add up the number of primes found.
Same as above, but in checking for primes, only test the positive integers less than or equal to the square root of the number.
Similar to the above, but keep a list of the primes previously found. Then for each next number, you only have to check if that number is
divisible by the primes found previously.
Same as above, but for each next number, only check the primes less than or equal to the square root of that number.
Create a new html page named index.html from scratch that is linked to your wordpress site:
Put the html file inside a directory (such as assignment5) within your webspace.
The html file must have the standard features:
an appropriate title that appears on the browser tab
meta tags for viewport and title (could also have more)
The html file should have instructions for the user as well as explanations of what is outputted.
There should be a 2x2 table of input boxes in the form of a matrix, where the user can input numbers.
There should be a button below the matrix that says "Calculate eigenvalues and eigenvectors" or something like that.
When the user enters numbers and pushes the button, the two eigenvalues should be displayed below, and some corresponding
eigenvectors
should be displayed below them. In the case that the eigenvectors are real, there should be a graph below that that plots the
two eigenspaces (straight lines through the origin). You will need to figure out formulas / algorithms for calculating these
things in advance. Note that this should be an algorithm that only works for 2x2 matrices (i.e. with quadratic formula),
not a more general algorithm that
works on any matrix and is applied in the 2x2 case.
There should be a second button that allows the user to get the computer to randomly select integers to place in the
boxes (and then does the same calculation).
Create a new html page named index.html from scratch that is linked to your wordpress site:
Download MySQL Workbench:
To download MySQL Community Server and MySQL Workbench: Go to
https://dev.mysql.com/downloads/mysql/,
and download and install the version of MySQL Community Server for your operating system. Then go to
https://dev.mysql.com/downloads/workbench/ and
install MySQl Workbench. (Choose Complete installation options.)
For this assignment, you will determine the sequence of SQL commands needed to do the job, and then you
should submit by sending that inside a text file to me.
Your project should do the following. Create a MySQL database, and create a table with the following columns.
The first column should give a first name (randomly chosen from
4 names of people in your family or extended family), the second column
y should be computed as number of characters
in the first name.
The third column should be a randomly chosen number between y and y^3-1.
You should generate 100 rows in your table.
Next, generate a second table with all of the data in the first table, except that you have removed
all of the data corresponding to one particular first name, and you have sorted the table
rows according the the third column values, in descending order.
Find the average of the second column.
Find the maximum value M of the third column.
Generate a new table from the first table, only including the rows with third column value greater than M/2.
Finally, generate a list of all the distinct numbers in the second column of the first table.
Create a mySQL database in your webspace.
Create a table called "function" that has two columns, "xs" and "ys" that will store floating point numbers.
Create a php file that has the connection information in it, and make sure that the permissions are set correctly on this file.
Create a new html page named index.php from scratch that is placed in a directory
in your webspace and linked to your wordpress site. All the coding noted below should be done using php.
Your index.php file should have a form on it with two buttons and 4 input boxes (and associated labels).
The first button should be something like "Get x and y values", and when pushed it should display a
table of all the current x and y values stored in the database.
In the first box, the user should input a function (written in php notation).
In the second and third boxes, the minumum and maximum x values should be set.
In the fourth box, the number of subdivisions of the interval should be placed.
Below the boxes should be a submit button.
After the user hits the submit button, the program should output the Right Riemann sum
approximation to the integral of the function with the appropriate number of subdivisions.
Also, the program should clear all the data in the xs and ys columns of the function table in the database, and it should
store the x and y-values of the data points (used in the Riemann sum calculation) in the function table in the database.
Please send me your php file as a txt file on email.
Create a new html page named index.htm or index.php from scratch that is placed in a directory
in your webspace and linked to your wordpress site. You may use any combination of
javascript and php to do the coding for this task.
Your page should have a form that has a list of tasks that can be selected by the user. The
minimum three tasks should be: generate data, display/analyze data, delete data.
The data you are generating should have something to do with the website you have created or with
your interests.
When each selection is made, more options pop up for the user to choose.
For generating data, you should ask how many data points should be generated, and then your website
should generate that many additional rows in a mySQL database table that you have created. There should be
some amount of randomness added to your simulation so that each time that you generate the data, it actually
gives a different set of rows.
For displaying and analyzing the data, your website should generate a graph (line graph, bar graph, whatever)
of the data and should allow the user to select one of two options to place a best-fit model (examples - linear regression
line, exponential regression line, polynomial regression line, something else) on the graph. It should also display the
equation of the model.
For the deleting data option, the user should fill in a box with a percentage (0 - 100 %) of the current data to be deleted.
After submitting, the corresponding amount of data should be deleted from the database.
As usual, make sure to document every line of code with what the variables mean and what the code is doing. If you use code
from another source, it is OK, but the source should be cited in the html comments.
After making an initial submission, I will send an email with any further changes I would like to see on this page and the rest
of your website by the evening of August 6. You will then have until August 8 to make the final changes and resubmit.
Please send index.htm (and any other files used) as a txt file by email to me. Please don't send the mySQL connection information.