Critical Thinking: Comprehensive Sexual Education versus Abstinence-Only The Bush Administration spent over 175 million dollars annually on abstinence-only sex education programs. These programs could only discuss the failure rates of other methods, nothing more (Ott and Santelli, 2007). Comprehensive programs educate students on a range of contraceptive options – including abstinence. Two separate studies now indicate that comprehensive programs delay the start of sexual activity and cut teen pregnancy when compared to abstinence-only education programs (Ott and Santelli, 2007; Center for the Advancement of Health, 2008). Research this topic and use the newly learned information to support your opinions. Use reliable scientific resources such as scientific research-based articles; or relevant web sites such as .gov, .edu, .org. When looking at the issues surrounding sex education, you can consider ethical arguments for or against how society should deal with the possibilities, but refrain from religious comments on this issue (or any other one) in this science course. When using ideas from a web site or the text book, you must include page numbers in the citation for your reference at the end of your post. In ~ 300 to 350 words, answer the following questions: 1. What program should school children be taught? 2. Why?

## Critical Thinking: Comprehensive Sexual Education versus Abstinence-Only The Bush Administration spent over 175 million dollars annually on abstinence-only sex education programs. These programs could only discuss the failure rates of other methods, nothing more (Ott and Santelli, 2007). Comprehensive programs educate students on a range of contraceptive options – including abstinence. Two separate studies now indicate that comprehensive programs delay the start of sexual activity and cut teen pregnancy when compared to abstinence-only education programs (Ott and Santelli, 2007; Center for the Advancement of Health, 2008). Research this topic and use the newly learned information to support your opinions. Use reliable scientific resources such as scientific research-based articles; or relevant web sites such as .gov, .edu, .org. When looking at the issues surrounding sex education, you can consider ethical arguments for or against how society should deal with the possibilities, but refrain from religious comments on this issue (or any other one) in this science course. When using ideas from a web site or the text book, you must include page numbers in the citation for your reference at the end of your post. In ~ 300 to 350 words, answer the following questions: 1. What program should school children be taught? 2. Why?

No expert has answered this question yet. You can browse … Read More...

EENG 1920: Project II – Introduction to Electrical Engineering Assignment-5 Due date: 10/01/2015 Problem-1: Integration Using the Trapezoidal and the Quadrature rules (trapz and quad), compute the value of: ∫?2?−?/440??. Compute and display (using disp) the difference between your answers and the numerical answer of 370.975. Which one of the methods used in the most accurate? Problem-2: Animation Generate an animated plot of the function ?(?)=?2cos (−?2/80), where ? is defined on the interval [0, 50]. Problem-3: Calendar Write a MATLAB program that will prompt the user to enter the current month as a string (like “september” or “September”), then display the number of days in the month that they specified. Note that September, April, June, and November have 30 days, February has 28 days, and all the other months have 31 days. If the user doesn’t enter a valid month name, display an appropriate error message. The program should continue running until the user input the string “Exit” or “exit”. Note: Your MATLAB program should be able to display the number of days in the month regardless of the format of the user’s input. It should also display the results in the following format: The number of days in “month” is “number of days”. Hint: The input function works differently for character string and numerical values. Type “help input” in the MATLAB command window to find more on how to use it for string characters. Problem-4: Handles Use handles to set the various properties of a graph in order to obtain a figure that looks like the one below: a. Create a MATLAB script named yourname_handles.m b. Plot the function y = cos(x2) over the range 0 to 2Π. Make sure to have at least 100 data point for a smooth curve. The plotted curve should have a red color just as in the above figure. c. Using xlim, set the limit of x to go from 0 to 2Π. d. Set the xtick property of the axis to be just the values [0 pi 2*pi], and set the xticklabel to be {‘0’, ‘1’, ‘2’}. Use set and gca. e. Using set and gca, set the ytick property of the axis to be just the values -1:.5:1. f. Turn on the grid g. Using set and gca, set the ycolor property of the axis to cyan, the xcolor to green, and the color property to black. h. Set the color property of the figure to a dark gray (use [.2 .2 .2]). i. Add a title that says “cos(x2) from 0 to 2Π” with fontsize 14, font weight bold, and color yellow. To get the Π to display properly, use \pi in your string. j. Add the appropriate x and y labels using a fontsize of 12 and color cyan for x and green for y. Use xlabel and ylabel. k. Before you copy the figure to paste it into word, look at copy options (in the figure’s Edit menu) and under ‘figure background color’ select ‘use figure color’. 012-1-0.500.51cos(x2) from 0 to 2x values (in terms of )cos(x2) Problem-5: Debugging The MATLAB code provided below should plot ten curves with random color on the same graph and label them automatically. However, it does not work properly as it contains couple bugs. Using the programming skills you have gained so far and the debugging tool in MATLAB, fix the bugs in order to have a perfectly running program. Once the program is debugged and running perfectly, you are to modify it so that each curve has a different marker or line type. Type “help plot” in the command window to learn more about the different line types and how to use them. % MATLAB program to plot ten lines. clear all % Declaring the vector x x = -1:0.1:1; % Initializing the vector legendNames as a cell legendNames = ; % Make a figure and plot 10 random lines, labeling each one for n = 1:10 plot(x,polyval(rand(3,1),x),’color’,rand(1,3)); hold on; legendNames(n) = [‘Line-‘ num2str(k)]; end % Labelling the graph xlabel(‘X’); ylabelled(‘Y’); title(‘Ten Lines Plot); legend(legendNames); Your final result should be similar to the results of the figure below. Problem-6: Fractal A rather beautiful fractal picture can be drawn by plotting the points (??,??) generated by the following difference equations: ??+1 = ? ?(1 + ???(0.7??))−1.2√|??|, ??+1 = 0.21−??. Starting with ?0= ?0=0, write a MATLAB program to draw the picture (plot individual points; do not join them). Note: Arrays in MATLAB start at index 1. Therefore in your program, ?0= ?0=0 should actually be ?1= ?1=0. Hint: Create a “for loop” conditioned on the variable ‘k’. This variable should have values ranging from 0 and 1000. -1-0.8-0.6-0.4-0.200.20.40.60.81-0.500.511.522.5XYTen Lines Plot Line-1Line-2Line-3Line-4Line-5Line-6Line-7Line-8Line-9Line-10 Problem-7: Cells Usually, cells are most useful for storing strings, because the length of each string can be unique. a. Make a 4×4 cell where the first column contains the names: ‘William’, ’Kelly’, ’Bill’ and ’Celine’, the second column contains their last names: ‘Smith’, ‘Rowland’, ‘Jackson’, ‘Dion’, the third column contains their occupations: ‘Engineer’, ‘Entertainer’, ‘Mechanic’, ‘Singer’ and the last column their salaries: $85,000,$650,000, and $50,000, and$1,500,000. Display the cell using disp. b. Modify the code you obtained in a. such that it displays a sentence of the form ‘[First Name], [Last Name] is a/an [Occupation] and has a salary of [Salary]’. Do this using a “for loop” and display the sentences.EENG 1920: Project II – Introduction to Electrical Engineering Assignment-5 Due date: 10/01/2015 Problem-1: Integration Using the Trapezoidal and the Quadrature rules (trapz and quad), compute the value of: ∫?2?−?/440??. Compute and display (using disp) the difference between your answers and the numerical answer of 370.975. Which one of the methods used in the most accurate? Problem-2: Animation Generate an animated plot of the function ?(?)=?2cos (−?2/80), where ? is defined on the interval [0, 50]. Problem-3: Calendar Write a MATLAB program that will prompt the user to enter the current month as a string (like “september” or “September”), then display the number of days in the month that they specified. Note that September, April, June, and November have 30 days, February has 28 days, and all the other months have 31 days. If the user doesn’t enter a valid month name, display an appropriate error message. The program should continue running until the user input the string “Exit” or “exit”. Note: Your MATLAB program should be able to display the number of days in the month regardless of the format of the user’s input. It should also display the results in the following format: The number of days in “month” is “number of days”. Hint: The input function works differently for character string and numerical values. Type “help input” in the MATLAB command window to find more on how to use it for string characters. Problem-4: Handles Use handles to set the various properties of a graph in order to obtain a figure that looks like the one below: a. Create a MATLAB script named yourname_handles.m b. Plot the function y = cos(x2) over the range 0 to 2Π. Make sure to have at least 100 data point for a smooth curve. The plotted curve should have a red color just as in the above figure. c. Using xlim, set the limit of x to go from 0 to 2Π. d. Set the xtick property of the axis to be just the values [0 pi 2*pi], and set the xticklabel to be {‘0’, ‘1’, ‘2’}. Use set and gca. e. Using set and gca, set the ytick property of the axis to be just the values -1:.5:1. f. Turn on the grid g. Using set and gca, set the ycolor property of the axis to cyan, the xcolor to green, and the color property to black. h. Set the color property of the figure to a dark gray (use [.2 .2 .2]). i. Add a title that says “cos(x2) from 0 to 2Π” with fontsize 14, font weight bold, and color yellow. To get the Π to display properly, use \pi in your string. j. Add the appropriate x and y labels using a fontsize of 12 and color cyan for x and green for y. Use xlabel and ylabel. k. Before you copy the figure to paste it into word, look at copy options (in the figure’s Edit menu) and under ‘figure background color’ select ‘use figure color’. 012-1-0.500.51cos(x2) from 0 to 2x values (in terms of )cos(x2) Problem-5: Debugging The MATLAB code provided below should plot ten curves with random color on the same graph and label them automatically. However, it does not work properly as it contains couple bugs. Using the programming skills you have gained so far and the debugging tool in MATLAB, fix the bugs in order to have a perfectly running program. Once the program is debugged and running perfectly, you are to modify it so that each curve has a different marker or line type. Type “help plot” in the command window to learn more about the different line types and how to use them. % MATLAB program to plot ten lines. clear all % Declaring the vector x x = -1:0.1:1; % Initializing the vector legendNames as a cell legendNames = ; % Make a figure and plot 10 random lines, labeling each one for n = 1:10 plot(x,polyval(rand(3,1),x),’color’,rand(1,3)); hold on; legendNames(n) = [‘Line-‘ num2str(k)]; end % Labelling the graph xlabel(‘X’); ylabelled(‘Y’); title(‘Ten Lines Plot); legend(legendNames); Your final result should be similar to the results of the figure below. Problem-6: Fractal A rather beautiful fractal picture can be drawn by plotting the points (??,??) generated by the following difference equations: ??+1 = ? ?(1 + ???(0.7??))−1.2√|??|, ??+1 = 0.21−??. Starting with ?0= ?0=0, write a MATLAB program to draw the picture (plot individual points; do not join them). Note: Arrays in MATLAB start at index 1. Therefore in your program, ?0= ?0=0 should actually be ?1= ?1=0. Hint: Create a “for loop” conditioned on the variable ‘k’. This variable should have values ranging from 0 and 1000. -1-0.8-0.6-0.4-0.200.20.40.60.81-0.500.511.522.5XYTen Lines Plot Line-1Line-2Line-3Line-4Line-5Line-6Line-7Line-8Line-9Line-10 Problem-7: Cells Usually, cells are most useful for storing strings, because the length of each string can be unique. a. Make a 4×4 cell where the first column contains the names: ‘William’, ’Kelly’, ’Bill’ and ’Celine’, the second column contains their last names: ‘Smith’, ‘Rowland’, ‘Jackson’, ‘Dion’, the third column contains their occupations: ‘Engineer’, ‘Entertainer’, ‘Mechanic’, ‘Singer’ and the last column their salaries: $85,000,$650,000, and $50,000, and$1,500,000. Display the cell using disp. b. Modify the code you obtained in a. such that it displays a sentence of the form ‘[First Name], [Last Name] is a/an [Occupation] and has a salary of [Salary]’. Do this using a “for loop” and display the sentences.

## EENG 1920: Project II – Introduction to Electrical Engineering Assignment-5 Due date: 10/01/2015 Problem-1: Integration Using the Trapezoidal and the Quadrature rules (trapz and quad), compute the value of: ∫?2?−?/440??. Compute and display (using disp) the difference between your answers and the numerical answer of 370.975. Which one of the methods used in the most accurate? Problem-2: Animation Generate an animated plot of the function ?(?)=?2cos (−?2/80), where ? is defined on the interval [0, 50]. Problem-3: Calendar Write a MATLAB program that will prompt the user to enter the current month as a string (like “september” or “September”), then display the number of days in the month that they specified. Note that September, April, June, and November have 30 days, February has 28 days, and all the other months have 31 days. If the user doesn’t enter a valid month name, display an appropriate error message. The program should continue running until the user input the string “Exit” or “exit”. Note: Your MATLAB program should be able to display the number of days in the month regardless of the format of the user’s input. It should also display the results in the following format: The number of days in “month” is “number of days”. Hint: The input function works differently for character string and numerical values. Type “help input” in the MATLAB command window to find more on how to use it for string characters. Problem-4: Handles Use handles to set the various properties of a graph in order to obtain a figure that looks like the one below: a. Create a MATLAB script named yourname_handles.m b. Plot the function y = cos(x2) over the range 0 to 2Π. Make sure to have at least 100 data point for a smooth curve. The plotted curve should have a red color just as in the above figure. c. Using xlim, set the limit of x to go from 0 to 2Π. d. Set the xtick property of the axis to be just the values [0 pi 2*pi], and set the xticklabel to be {‘0’, ‘1’, ‘2’}. Use set and gca. e. Using set and gca, set the ytick property of the axis to be just the values -1:.5:1. f. Turn on the grid g. Using set and gca, set the ycolor property of the axis to cyan, the xcolor to green, and the color property to black. h. Set the color property of the figure to a dark gray (use [.2 .2 .2]). i. Add a title that says “cos(x2) from 0 to 2Π” with fontsize 14, font weight bold, and color yellow. To get the Π to display properly, use \pi in your string. j. Add the appropriate x and y labels using a fontsize of 12 and color cyan for x and green for y. Use xlabel and ylabel. k. Before you copy the figure to paste it into word, look at copy options (in the figure’s Edit menu) and under ‘figure background color’ select ‘use figure color’. 012-1-0.500.51cos(x2) from 0 to 2x values (in terms of )cos(x2) Problem-5: Debugging The MATLAB code provided below should plot ten curves with random color on the same graph and label them automatically. However, it does not work properly as it contains couple bugs. Using the programming skills you have gained so far and the debugging tool in MATLAB, fix the bugs in order to have a perfectly running program. Once the program is debugged and running perfectly, you are to modify it so that each curve has a different marker or line type. Type “help plot” in the command window to learn more about the different line types and how to use them. % MATLAB program to plot ten lines. clear all % Declaring the vector x x = -1:0.1:1; % Initializing the vector legendNames as a cell legendNames = ; % Make a figure and plot 10 random lines, labeling each one for n = 1:10 plot(x,polyval(rand(3,1),x),’color’,rand(1,3)); hold on; legendNames(n) = [‘Line-‘ num2str(k)]; end % Labelling the graph xlabel(‘X’); ylabelled(‘Y’); title(‘Ten Lines Plot); legend(legendNames); Your final result should be similar to the results of the figure below. Problem-6: Fractal A rather beautiful fractal picture can be drawn by plotting the points (??,??) generated by the following difference equations: ??+1 = ? ?(1 + ???(0.7??))−1.2√|??|, ??+1 = 0.21−??. Starting with ?0= ?0=0, write a MATLAB program to draw the picture (plot individual points; do not join them). Note: Arrays in MATLAB start at index 1. Therefore in your program, ?0= ?0=0 should actually be ?1= ?1=0. Hint: Create a “for loop” conditioned on the variable ‘k’. This variable should have values ranging from 0 and 1000. -1-0.8-0.6-0.4-0.200.20.40.60.81-0.500.511.522.5XYTen Lines Plot Line-1Line-2Line-3Line-4Line-5Line-6Line-7Line-8Line-9Line-10 Problem-7: Cells Usually, cells are most useful for storing strings, because the length of each string can be unique. a. Make a 4×4 cell where the first column contains the names: ‘William’, ’Kelly’, ’Bill’ and ’Celine’, the second column contains their last names: ‘Smith’, ‘Rowland’, ‘Jackson’, ‘Dion’, the third column contains their occupations: ‘Engineer’, ‘Entertainer’, ‘Mechanic’, ‘Singer’ and the last column their salaries: $85,000,$650,000, and $50,000, and$1,500,000. Display the cell using disp. b. Modify the code you obtained in a. such that it displays a sentence of the form ‘[First Name], [Last Name] is a/an [Occupation] and has a salary of [Salary]’. Do this using a “for loop” and display the sentences.EENG 1920: Project II – Introduction to Electrical Engineering Assignment-5 Due date: 10/01/2015 Problem-1: Integration Using the Trapezoidal and the Quadrature rules (trapz and quad), compute the value of: ∫?2?−?/440??. Compute and display (using disp) the difference between your answers and the numerical answer of 370.975. Which one of the methods used in the most accurate? Problem-2: Animation Generate an animated plot of the function ?(?)=?2cos (−?2/80), where ? is defined on the interval [0, 50]. Problem-3: Calendar Write a MATLAB program that will prompt the user to enter the current month as a string (like “september” or “September”), then display the number of days in the month that they specified. Note that September, April, June, and November have 30 days, February has 28 days, and all the other months have 31 days. If the user doesn’t enter a valid month name, display an appropriate error message. The program should continue running until the user input the string “Exit” or “exit”. Note: Your MATLAB program should be able to display the number of days in the month regardless of the format of the user’s input. It should also display the results in the following format: The number of days in “month” is “number of days”. Hint: The input function works differently for character string and numerical values. Type “help input” in the MATLAB command window to find more on how to use it for string characters. Problem-4: Handles Use handles to set the various properties of a graph in order to obtain a figure that looks like the one below: a. Create a MATLAB script named yourname_handles.m b. Plot the function y = cos(x2) over the range 0 to 2Π. Make sure to have at least 100 data point for a smooth curve. The plotted curve should have a red color just as in the above figure. c. Using xlim, set the limit of x to go from 0 to 2Π. d. Set the xtick property of the axis to be just the values [0 pi 2*pi], and set the xticklabel to be {‘0’, ‘1’, ‘2’}. Use set and gca. e. Using set and gca, set the ytick property of the axis to be just the values -1:.5:1. f. Turn on the grid g. Using set and gca, set the ycolor property of the axis to cyan, the xcolor to green, and the color property to black. h. Set the color property of the figure to a dark gray (use [.2 .2 .2]). i. Add a title that says “cos(x2) from 0 to 2Π” with fontsize 14, font weight bold, and color yellow. To get the Π to display properly, use \pi in your string. j. Add the appropriate x and y labels using a fontsize of 12 and color cyan for x and green for y. Use xlabel and ylabel. k. Before you copy the figure to paste it into word, look at copy options (in the figure’s Edit menu) and under ‘figure background color’ select ‘use figure color’. 012-1-0.500.51cos(x2) from 0 to 2x values (in terms of )cos(x2) Problem-5: Debugging The MATLAB code provided below should plot ten curves with random color on the same graph and label them automatically. However, it does not work properly as it contains couple bugs. Using the programming skills you have gained so far and the debugging tool in MATLAB, fix the bugs in order to have a perfectly running program. Once the program is debugged and running perfectly, you are to modify it so that each curve has a different marker or line type. Type “help plot” in the command window to learn more about the different line types and how to use them. % MATLAB program to plot ten lines. clear all % Declaring the vector x x = -1:0.1:1; % Initializing the vector legendNames as a cell legendNames = ; % Make a figure and plot 10 random lines, labeling each one for n = 1:10 plot(x,polyval(rand(3,1),x),’color’,rand(1,3)); hold on; legendNames(n) = [‘Line-‘ num2str(k)]; end % Labelling the graph xlabel(‘X’); ylabelled(‘Y’); title(‘Ten Lines Plot); legend(legendNames); Your final result should be similar to the results of the figure below. Problem-6: Fractal A rather beautiful fractal picture can be drawn by plotting the points (??,??) generated by the following difference equations: ??+1 = ? ?(1 + ???(0.7??))−1.2√|??|, ??+1 = 0.21−??. Starting with ?0= ?0=0, write a MATLAB program to draw the picture (plot individual points; do not join them). Note: Arrays in MATLAB start at index 1. Therefore in your program, ?0= ?0=0 should actually be ?1= ?1=0. Hint: Create a “for loop” conditioned on the variable ‘k’. This variable should have values ranging from 0 and 1000. -1-0.8-0.6-0.4-0.200.20.40.60.81-0.500.511.522.5XYTen Lines Plot Line-1Line-2Line-3Line-4Line-5Line-6Line-7Line-8Line-9Line-10 Problem-7: Cells Usually, cells are most useful for storing strings, because the length of each string can be unique. a. Make a 4×4 cell where the first column contains the names: ‘William’, ’Kelly’, ’Bill’ and ’Celine’, the second column contains their last names: ‘Smith’, ‘Rowland’, ‘Jackson’, ‘Dion’, the third column contains their occupations: ‘Engineer’, ‘Entertainer’, ‘Mechanic’, ‘Singer’ and the last column their salaries: $85,000,$650,000, and $50,000, and$1,500,000. Display the cell using disp. b. Modify the code you obtained in a. such that it displays a sentence of the form ‘[First Name], [Last Name] is a/an [Occupation] and has a salary of [Salary]’. Do this using a “for loop” and display the sentences.

Additional Problem for Homework 6 A graph of f(x) is shown below. It is piecewise linear. The table below gives values of g(x) and g0(x). 1 2 3 4 4 f(x) x 0 1 2 3 4 g(x) 2 5 9 11 8 g0(x) 3 4 2 -3 -4 a) Given h(x) = f(x)g(x), nd h0(1). b) Given k(x) = f(x) g(x) , nd k0(3). c) Given (x) = g(x) p x , nd 0(4).