Need help with contact form
User Generated
pncvgnyvfzebpxf
Programming
Description
I'm building a website for class and I need help implementing a form that customers can use to email me for more information.
I have already done the HTML and CSS part of the form...now I just need it connected (with PHP?) to actually work.
I will provide the files to whoever can help me.
Thanks!
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
This question has not been answered.
Create a free account to get help with this and any other question!
24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!
Most Popular Content
5 pages
Ross And Kimball Approaches
The Ross approach employs a top-down method that is made valid by developing the central element of the data warehouse's a ...
Ross And Kimball Approaches
The Ross approach employs a top-down method that is made valid by developing the central element of the data warehouse's analytical environment. Next, ...
Foothill College C++ Problem Number of Words in Textfiles Program
Assignment 5.1 [30 points]Write a program that asks the user how many numbers will be entered and then has the user enter ...
Foothill College C++ Problem Number of Words in Textfiles Program
Assignment 5.1 [30 points]Write a program that asks the user how many numbers will be entered and then has the user enter those numbers. When this is done, report to the user the position of the first 7 entered and the last 7 entered. By position we mean, for example, that if the first 7 is the 2nd number entered then its position would be 2. Turn in the following 3 outputs exactly as you see them below to demonstrate that your program works in each case.Don't forget to use a named constant for the "7", and make sure to use a name that will still make sense if we change the value of the constant to another number such as "8".Sample screen output 1: How many numbers will be entered? 8
Enter num: 5
Enter num: 7
Enter num: 6
Enter num: 7
Enter num: 7
Enter num: 3
Enter num: 8
Enter num: 6
The first 7 was in position 2
The last 7 was in position 5
Sample screen output 2: How many numbers will be entered? 8
Enter num: 5
Enter num: 2
Enter num: 6
Enter num: 7
Enter num: 1
Enter num: 3
Enter num: 8
Enter num: 6
The first 7 was in position 4
The last 7 was in position 4
Sample screen output 3: How many numbers will be entered? 8
Enter num: 5
Enter num: 1
Enter num: 6
Enter num: 5
Enter num: 9
Enter num: 3
Enter num: 8
Enter num: 6
Sorry, no 7's were entered.
Hints: Everything you need to know to solve the problem is in the lessons. This is one of those problems that will challenge your problem solving skills. There's nothing hard about the C++ code here. What's hard is solving the underlying problem. One way to think about it would be to forget about computers for a moment, and figure out how you would solve this problem if you are the computer and a friend is the user. Suppose your friend gives you 1,000 numbers, and when she's done, you have to tell her which position the first 7 was in and which position the last 7 was in. Suppose you can't actually remember anything at all, so you have to write down whatever it is that you need to keep track of (this simulates using variables in a computer program). Ask yourself, what do you write down before you start? What do you do each time your friend says the next number? And you can't write down all of the numbers, you can only be keeping track of say 3 - 5 numbers at a time.Another angle if this seems hard would be to instead pretend that you have two friends, one being the computer and one being the user. Your job is to watch your friend who is the computer and explain to her what she needs to do each time a new number is stated by your friend who is the user.Once you've got that problem solved, the process of translating that into C++ code is the easy part. :)Assignment 5.2 [30 points]Write a program that reads an integer and calculates the sum of the squares of the numbers from 1 up to that integer. For example, if the integer 4 is entered, the sum of the squares is 30 (1 + 4 + 9 + 16). The program should repeat this process until the user wants to quit. An input value less than or equal to 0 signals the end of the data. Note: one way to calculate this would be to use the formula n(n+1)(2n+1)/6. You must write this program without using that formula.Sample screen output: Enter a number greater than 0 (less than 1 to quit): 4
The sum of the squares from 1 to 4 is 30
Enter a number greater than 0 (less than 1 to quit): 1
The sum of the squares from 1 to 1 is 1
Enter a number greater than 0 (less than 1 to quit): 0
Turn in your source code and one output exactly like the sample given above.Assignment 5.3 [25 points]Write a program that prints out the number of words in textfiles. We will define a word to be any sequence of non-whitespace characters. So "hi&there...mom" would be considered a single word. Solve this problem by reading each word into a string variable.Your program should ask the user for the name of the file to count words in, and then print the number of words in the file on the screen. It should continue to do this until the user types "quit" for the name of the file.You will make your life much easier if you do not use any variables of type char in this assignment. Use variables of type string instead.Turn in your source code and a sample output that has the user entering these 5 input files: file 1 | file 2 | file 3 | file 4 | file 5Hints about reading input files:Using Visual Studio:right-click on the "Source Files" folder in the Solution Explorer and chose "Add" then "New Item".Then in the "Add New Item" window, navigate to "Utility" and select "Text File (.txt)". This adds a text file to the "Source Files" folder in the Solution Explorer.copy the data from the webpage where it is provided and paste it into this file.The procedure is similar in Xcode. If someone would like to email me the exact steps in Xcode, that would be great.Extensions are part of the file name. If you want to count the words in a file named "myfile.txt", typing "myfile" or "myfile.cpp" won't work.For Windows users, before you start this assignment, I suggest that you make sure that Windows is showing you the complete file name of your files, including the extensions. Windows hides this from you by default. In Windows 10 the procedure is: Start Menu > Control Panel > Appearance & Personalization > File Explorer Options > View > uncheck box "Hide extensions for known file types" > OKIn Windows 7 and 8 the procedure is as follows:Choose "control panel" from the start menuChoose "Folder Options" from the list of control panel items. In Windows 8 you may have to type "Folder Options" into the control panel search bar.Choose the "view" tab from the Folder Options windowFind the checkbox that says "Hide extensions for known file types".Uncheck that checkbox.Submit Your WorkName your source code file(s) according to the assignment number (a1_1.cpp, a4_2.cpp, etc.). Execute each program and copy/paste the output into the bottom of the corresponding source code file, making it into a comment. Use the Assignment Submission link to submit the source file(s). When you submit your assignment there will be a text field in which you can add a note to me (called a "comment", but don't confuse it with a C++ comment). In this "comments" section of the submission page let me know whether the program(s) work as required.
Southern New Hampshire University Programming Languages & Pseudocode Diagram
Make sure you've included all the required elements by reviewing the attach requirements and rubric.
Southern New Hampshire University Programming Languages & Pseudocode Diagram
Make sure you've included all the required elements by reviewing the attach requirements and rubric.
Application of the Compute Energy Function Project
This question is two parts midterm and a final. I have completed the midterm part and the final is based on the midterm. Y ...
Application of the Compute Energy Function Project
This question is two parts midterm and a final. I have completed the midterm part and the final is based on the midterm. You will need to review the midterm solution and make changes to make it solve the final.MIDTERM QUESTION: (This question is solved and the solution is attached)On March 16th, 2021, CNBC reported that the Solar Energy Industries Association and Wood Mackenzie found that the solar industry added a record 19.2 gigawatts of new capacity during 2020, a 43% jump from 2019. This drastic increase in the use of solar panel technology is creating ample opportunities for engineers to evaluate the cost and efficiency of residential and commercial solar power systems.1. Write a function named computeEnergy that takes in as input the number of panels and computes the amount of energy produced in a typical day. The amount of energy produced by a panel depends on the time of day and can be modeled by the mathematical formula below (a picture of the formula is attached), where t is an array of values from 1 to 24 hours.2. After your computeEnergy function calculates how much energy is produced per day, it should call another user-defined function named weatherVariance. The weatherVariance function should create a 24x7 dimension matrix of random numbers between 0.8 and 1. This represents 24 hours of varying weather conditions that affect the solar production of the panel for seven days. Using matrix multiplication with the appropriate dimensions, (you will need to create another 24x7 matrix containing a week's worth of daily energy production), multiply the energy production by the weather variance matrix element-wise to simulate weather.3. The data for the weekly energy usage by the home is provided (I will send a link to download this file). (we will use this see if we produce enough energy). In your main function, define a variable to store the number of solar panels. Keep track of the total energy produced by the solar panel(s) in a week, starting with one panel. After the week, if the generated solar energy is less than the energy usage of the home, then increase the number of panels by one, run the computeEnergy function again, compare with the energy used and decide if more panels need to be added. This should be done in a while loop. The usage data is formatted in a 24x7 dimension matrix, corresponding to seven days worth of 24 hours of hourly energy use in kilo-Watt-hours.4. Produce a 4x2 subplot of solar energy produced and used per day for the week. The eighth plot should be the daily difference between energy produced and energy used for the week. Label all plots appropriately.5. Report to the user how many panels are required to fulfill the energy needs for the home.FINAL QUESTION: (You will need to modify the midterm solution to make it solve this question)IntroductionTo build upon the Solar Energy Midterm Project, we will be synthesizing what we have learned in the previous modules to develop an electrical engineering software tool for a typical residential home in Southern California.Guidelines and DeliverablesAs usual, create a script, include a comment at the top explaining the purpose of the script, your name, and the date it was created. The goal of this project is to estimate the daily energy production over a week of a typical residential solar panel, compare it to the energy usage of a home and determine how many solar panels are required to fulfill the energy needs of the residence.1. For the midterm project, your computeEnergy function took in as input the number of panels and computed the amount of energy produced in a typical day. The amount of energy produced by a panel depends on the time of day and can be modeled by the mathematical formula below, where t is an array of values from 1 to 24 hours.f(t)=e−(t−12)21.52π√f(t)=e−(t−12)21.52π (I have attached a picture of this equation so you can see it better)Update computeEnergy( ) to perform this task symbolically. Use the built in integral function, int( ) to find the kilo-Watt-hours produced in a day. Plot your integral function from 0 to 24 hours.2. From the midterm project, you wrote code to calculate how many panels would be required to fulfill the energy needs for a home. Suppose an inverter device is needed for each panel in the array and is connected in parallel to one power source. The video below shows how to use linear algebra in MATLAB to solve for the current in each branch containing an inverter. Write a function called findCurrents( ) that takes in as input the number of panels you computed in the midterm project and returns a vector of currents in each branch. Let the source voltage, Vs, be 100V and the value of each resistance be 1500 ohms. Video: How to solve a system of linear equations corresponding to circuit currents in MATLAB (Links to an external site.)Turn-in InstructionsYou will need to submit .m files for each function you define. Each .m file should include your name and function description in the comments.
MIS 380 CC Data Management System Database Basics MySQL Coding Exam Practice
Please I need help to complete the lab for SQL please see the attached file
MIS 380 CC Data Management System Database Basics MySQL Coding Exam Practice
Please I need help to complete the lab for SQL please see the attached file
Similar Content
ATM Machine Simulator in Java Code
Bank of America has decided to replace their old, COBOL programmed, ATM machines. ACME Machines, your employer, has won th...
Solve the following LP problem by using the graphical procedure
Solve the following LP problem by using the graphical procedure and by using Excel: Minimize cost = 4x +7y subject to th...
MIS 2845 The University of Memphis Conditional Operator & Switch Code
Assignment 5
Conditional operator & Switch
Write a program that asks the users to enter the weight of a package and miles...
GESC 258 Wilfrid Laurier University Discrete Probability Distributions Discussion
1.Calculate the probability of observing a cell with 15 pits based on the sampleintensity (λ computed from all cells in t...
The purpose of this lab is to have you upload a site to your amazon web instance.
In this document I give you all the information needed. Once you accept I will send the zip with the website you have to u...
debugging and the grades for the labs
hey please, finishing fixing the labs please keep me update with three hour to know what going on ...
Hw
Generate a well annotated plot for data in the table. The plot is generated by the following Matlab commands (also listed ...
Programming Discussion Question The Role Of Software Architecture
Programming Discussion Question - The Role of Software Architecture Software architecture enables developers to decide tes...
Presentation Sales Analytics And Reporting Project
Maxima eStores has been experiencing decreasing clientele and stagnant growth The business uses legacy inventory m...
Related Tags
Book Guides
Uncle Tom's Cabin
by Harriet Beecher Stowe
The Splendid and The Vile
by Erik Larson
The Secret Garden
by Frances Hodgson Burnett
White Fang
by Jack London
Cry the Beloved Country
by Alan Paton
Nervous Conditions
by Tsitsi Dangarembga
Slaughterhouse Five
by Kurt Vonnegut
The Two Towers
by J. R. R. Tolkien
A Passage to India
by E. M. Forster
Get 24/7
Homework help
Our tutors provide high quality explanations & answers.
Post question
Most Popular Content
5 pages
Ross And Kimball Approaches
The Ross approach employs a top-down method that is made valid by developing the central element of the data warehouse's a ...
Ross And Kimball Approaches
The Ross approach employs a top-down method that is made valid by developing the central element of the data warehouse's analytical environment. Next, ...
Foothill College C++ Problem Number of Words in Textfiles Program
Assignment 5.1 [30 points]Write a program that asks the user how many numbers will be entered and then has the user enter ...
Foothill College C++ Problem Number of Words in Textfiles Program
Assignment 5.1 [30 points]Write a program that asks the user how many numbers will be entered and then has the user enter those numbers. When this is done, report to the user the position of the first 7 entered and the last 7 entered. By position we mean, for example, that if the first 7 is the 2nd number entered then its position would be 2. Turn in the following 3 outputs exactly as you see them below to demonstrate that your program works in each case.Don't forget to use a named constant for the "7", and make sure to use a name that will still make sense if we change the value of the constant to another number such as "8".Sample screen output 1: How many numbers will be entered? 8
Enter num: 5
Enter num: 7
Enter num: 6
Enter num: 7
Enter num: 7
Enter num: 3
Enter num: 8
Enter num: 6
The first 7 was in position 2
The last 7 was in position 5
Sample screen output 2: How many numbers will be entered? 8
Enter num: 5
Enter num: 2
Enter num: 6
Enter num: 7
Enter num: 1
Enter num: 3
Enter num: 8
Enter num: 6
The first 7 was in position 4
The last 7 was in position 4
Sample screen output 3: How many numbers will be entered? 8
Enter num: 5
Enter num: 1
Enter num: 6
Enter num: 5
Enter num: 9
Enter num: 3
Enter num: 8
Enter num: 6
Sorry, no 7's were entered.
Hints: Everything you need to know to solve the problem is in the lessons. This is one of those problems that will challenge your problem solving skills. There's nothing hard about the C++ code here. What's hard is solving the underlying problem. One way to think about it would be to forget about computers for a moment, and figure out how you would solve this problem if you are the computer and a friend is the user. Suppose your friend gives you 1,000 numbers, and when she's done, you have to tell her which position the first 7 was in and which position the last 7 was in. Suppose you can't actually remember anything at all, so you have to write down whatever it is that you need to keep track of (this simulates using variables in a computer program). Ask yourself, what do you write down before you start? What do you do each time your friend says the next number? And you can't write down all of the numbers, you can only be keeping track of say 3 - 5 numbers at a time.Another angle if this seems hard would be to instead pretend that you have two friends, one being the computer and one being the user. Your job is to watch your friend who is the computer and explain to her what she needs to do each time a new number is stated by your friend who is the user.Once you've got that problem solved, the process of translating that into C++ code is the easy part. :)Assignment 5.2 [30 points]Write a program that reads an integer and calculates the sum of the squares of the numbers from 1 up to that integer. For example, if the integer 4 is entered, the sum of the squares is 30 (1 + 4 + 9 + 16). The program should repeat this process until the user wants to quit. An input value less than or equal to 0 signals the end of the data. Note: one way to calculate this would be to use the formula n(n+1)(2n+1)/6. You must write this program without using that formula.Sample screen output: Enter a number greater than 0 (less than 1 to quit): 4
The sum of the squares from 1 to 4 is 30
Enter a number greater than 0 (less than 1 to quit): 1
The sum of the squares from 1 to 1 is 1
Enter a number greater than 0 (less than 1 to quit): 0
Turn in your source code and one output exactly like the sample given above.Assignment 5.3 [25 points]Write a program that prints out the number of words in textfiles. We will define a word to be any sequence of non-whitespace characters. So "hi&there...mom" would be considered a single word. Solve this problem by reading each word into a string variable.Your program should ask the user for the name of the file to count words in, and then print the number of words in the file on the screen. It should continue to do this until the user types "quit" for the name of the file.You will make your life much easier if you do not use any variables of type char in this assignment. Use variables of type string instead.Turn in your source code and a sample output that has the user entering these 5 input files: file 1 | file 2 | file 3 | file 4 | file 5Hints about reading input files:Using Visual Studio:right-click on the "Source Files" folder in the Solution Explorer and chose "Add" then "New Item".Then in the "Add New Item" window, navigate to "Utility" and select "Text File (.txt)". This adds a text file to the "Source Files" folder in the Solution Explorer.copy the data from the webpage where it is provided and paste it into this file.The procedure is similar in Xcode. If someone would like to email me the exact steps in Xcode, that would be great.Extensions are part of the file name. If you want to count the words in a file named "myfile.txt", typing "myfile" or "myfile.cpp" won't work.For Windows users, before you start this assignment, I suggest that you make sure that Windows is showing you the complete file name of your files, including the extensions. Windows hides this from you by default. In Windows 10 the procedure is: Start Menu > Control Panel > Appearance & Personalization > File Explorer Options > View > uncheck box "Hide extensions for known file types" > OKIn Windows 7 and 8 the procedure is as follows:Choose "control panel" from the start menuChoose "Folder Options" from the list of control panel items. In Windows 8 you may have to type "Folder Options" into the control panel search bar.Choose the "view" tab from the Folder Options windowFind the checkbox that says "Hide extensions for known file types".Uncheck that checkbox.Submit Your WorkName your source code file(s) according to the assignment number (a1_1.cpp, a4_2.cpp, etc.). Execute each program and copy/paste the output into the bottom of the corresponding source code file, making it into a comment. Use the Assignment Submission link to submit the source file(s). When you submit your assignment there will be a text field in which you can add a note to me (called a "comment", but don't confuse it with a C++ comment). In this "comments" section of the submission page let me know whether the program(s) work as required.
Southern New Hampshire University Programming Languages & Pseudocode Diagram
Make sure you've included all the required elements by reviewing the attach requirements and rubric.
Southern New Hampshire University Programming Languages & Pseudocode Diagram
Make sure you've included all the required elements by reviewing the attach requirements and rubric.
Application of the Compute Energy Function Project
This question is two parts midterm and a final. I have completed the midterm part and the final is based on the midterm. Y ...
Application of the Compute Energy Function Project
This question is two parts midterm and a final. I have completed the midterm part and the final is based on the midterm. You will need to review the midterm solution and make changes to make it solve the final.MIDTERM QUESTION: (This question is solved and the solution is attached)On March 16th, 2021, CNBC reported that the Solar Energy Industries Association and Wood Mackenzie found that the solar industry added a record 19.2 gigawatts of new capacity during 2020, a 43% jump from 2019. This drastic increase in the use of solar panel technology is creating ample opportunities for engineers to evaluate the cost and efficiency of residential and commercial solar power systems.1. Write a function named computeEnergy that takes in as input the number of panels and computes the amount of energy produced in a typical day. The amount of energy produced by a panel depends on the time of day and can be modeled by the mathematical formula below (a picture of the formula is attached), where t is an array of values from 1 to 24 hours.2. After your computeEnergy function calculates how much energy is produced per day, it should call another user-defined function named weatherVariance. The weatherVariance function should create a 24x7 dimension matrix of random numbers between 0.8 and 1. This represents 24 hours of varying weather conditions that affect the solar production of the panel for seven days. Using matrix multiplication with the appropriate dimensions, (you will need to create another 24x7 matrix containing a week's worth of daily energy production), multiply the energy production by the weather variance matrix element-wise to simulate weather.3. The data for the weekly energy usage by the home is provided (I will send a link to download this file). (we will use this see if we produce enough energy). In your main function, define a variable to store the number of solar panels. Keep track of the total energy produced by the solar panel(s) in a week, starting with one panel. After the week, if the generated solar energy is less than the energy usage of the home, then increase the number of panels by one, run the computeEnergy function again, compare with the energy used and decide if more panels need to be added. This should be done in a while loop. The usage data is formatted in a 24x7 dimension matrix, corresponding to seven days worth of 24 hours of hourly energy use in kilo-Watt-hours.4. Produce a 4x2 subplot of solar energy produced and used per day for the week. The eighth plot should be the daily difference between energy produced and energy used for the week. Label all plots appropriately.5. Report to the user how many panels are required to fulfill the energy needs for the home.FINAL QUESTION: (You will need to modify the midterm solution to make it solve this question)IntroductionTo build upon the Solar Energy Midterm Project, we will be synthesizing what we have learned in the previous modules to develop an electrical engineering software tool for a typical residential home in Southern California.Guidelines and DeliverablesAs usual, create a script, include a comment at the top explaining the purpose of the script, your name, and the date it was created. The goal of this project is to estimate the daily energy production over a week of a typical residential solar panel, compare it to the energy usage of a home and determine how many solar panels are required to fulfill the energy needs of the residence.1. For the midterm project, your computeEnergy function took in as input the number of panels and computed the amount of energy produced in a typical day. The amount of energy produced by a panel depends on the time of day and can be modeled by the mathematical formula below, where t is an array of values from 1 to 24 hours.f(t)=e−(t−12)21.52π√f(t)=e−(t−12)21.52π (I have attached a picture of this equation so you can see it better)Update computeEnergy( ) to perform this task symbolically. Use the built in integral function, int( ) to find the kilo-Watt-hours produced in a day. Plot your integral function from 0 to 24 hours.2. From the midterm project, you wrote code to calculate how many panels would be required to fulfill the energy needs for a home. Suppose an inverter device is needed for each panel in the array and is connected in parallel to one power source. The video below shows how to use linear algebra in MATLAB to solve for the current in each branch containing an inverter. Write a function called findCurrents( ) that takes in as input the number of panels you computed in the midterm project and returns a vector of currents in each branch. Let the source voltage, Vs, be 100V and the value of each resistance be 1500 ohms. Video: How to solve a system of linear equations corresponding to circuit currents in MATLAB (Links to an external site.)Turn-in InstructionsYou will need to submit .m files for each function you define. Each .m file should include your name and function description in the comments.
MIS 380 CC Data Management System Database Basics MySQL Coding Exam Practice
Please I need help to complete the lab for SQL please see the attached file
MIS 380 CC Data Management System Database Basics MySQL Coding Exam Practice
Please I need help to complete the lab for SQL please see the attached file
Earn money selling
your Study Documents