C Language: Find the series sum of the following series using a function called series_sum which accepts one input only as N and can calculate the sum. Write a main program, from where it will call the function by providing the value of N ( an odd number) that is entered by the user and main program will print result of the sum.
1/2^2 + 3/4^2 _ 5/6^2 + ... + N/(N+2)^2
My code runs but takes two inputs for N and I can't figure out why. I have copied my code below. I did this in Visual Studio as a Win32 Console App under the C++ tab. Thank you in advance.
// Prob2.cpp : Rashidat Edunjobi ENGR 1732 Lab 8 Prob 2
//
#include "stdafx.h"
#include
#include
//series_sum function is created
float series_sum(float N)
{
float ssum = 0;
int i;
for (i = 0; i <= N; i = i + 2)
{
ssum += (float(i+1.0) / pow((i+2.0), 2));
}
return ssum;
}
int main()
{
int n;
float sum;
//General program begins
printf("Enter an odd number: \n");
scanf_s("%d\n", &n);
sum = series_sum(n);
printf("The sum is equal to %f\n", sum);
return 0;
}

Answers

Answer 1

The issue with your code is in the line that reads the user input. You have added an extra "\n" character in the scanf_s statement, which causes the program to expect another input after the first one. To fix this, remove the "\n" character from the scanf_s statement and the program should work as expected. Here's the corrected code:

// Prob2.cpp : Rashidat Edunjobi ENGR 1732 Lab 8 Prob 2
//
#include "stdafx.h"
#include
#include

//series_sum function is created
float series_sum(float N)
{
   float ssum = 0;
   int i;
   for (i = 0; i <= N; i = i + 2)
   {
       ssum += (float(i+1.0) / pow((i+2.0), 2));
   }
   return ssum;
}

int main()
{
   int n;
   float sum;

   //General program begins
   printf("Enter an odd number: ");
   scanf_s("%d", &n);

   sum = series_sum(n);

   printf("The sum is equal to %f\n", sum);

   return 0;
}

Note that I have removed the unnecessary include statement for  and replaced it with , which is the standard C library for input and output operations.

To know more about scanf_s statement visit:-

https://brainly.com/question/29970955

#SPJ11


Related Questions

3 uses for a GPS system other than for a satellite navigation system

Answers

Answer:

Location – determining a position. Navigation getting from one location to another. Tracking – monitoring object or a personal movement. Mapping – creating maps of the world.

1. Visual design and font/background are both essential and considered vital for the success of a web. If you are the developer, which of the two will you be focused on?

Answers

Answer:

As a developer, I'd be focused on the two starting with the front end.

Explanation:

A front-end developer simply is a user-end or client-side developer. A front-end person in web design is responsible for how a website looks and feels like, essentially, the websites' users first impression.

This is a huge task and can be very daunting even for the best developers. Whilst the back-end or the engine of a website is critical and indispensable, it is important for a developer to master the principles of front-end development first as that gives him a better perspective as to how they can better create and configure a matching or suitable back end.

Most if not all are designed to achieve a particular purpose e.g.

Increase salescommunicate informationtrainingelicit information etc

The ease with which the user is able to interact with the website will determine the extent to which the purpose of the website is achieved.

Some of the qualities of a great user interface the front end developer must keep in mind are:

Clarity Conciseness Familiarity  EfficiencyConsistency Attractiveness

Back-end has to do with the part of the website called the server.

In addition to the server, there are two other critical components of the back-end of the website:

Application and Database.

Together, these three contribute to ensuring that you have a functional website. The server, application and database, all control what happens on the front end and results in what the user will see via the browser.

There are many high-functioning websites today that have very poor interfaces.  A poor interface is a guarantee that people will spend less time on the website.

Conclusively, both ends are indispensable, as with most things, however, one should seek to understand how the user thinks and feels in relation to how they like to use a website before doing into the back-end to make that possible.

Cheers

There are different kinds of designs. As a developer, my Visual design would focus more on background.

Visual design is known to be a kind of design that strike equality between unity and variety. The use of design elements to work on the background and when done properly, gives users a nice experience.

Visual design is one that act to improve the design's or the product's aesthetic feeling.

Learn more about Visual design from

https://brainly.com/question/1332211

a collection of logically related instructions is called _______​

Answers

Answer:

Data Base from what I know

Explanation:

Which option is the default when creating appointments and meetings in a user’s own calendar as it relates to Free/Busy information that others will see when looking at the user’s calendar?

a. Free
b. Working Elsewhere
c. Busy
d. Tentative
I only have 10 minutes left so please help fast!

Answers

Answer:

C !

Explanation:

Answer:

Busy

Explanation:

PLS HELP ASAP suppose you want to find pages that contain the word German but not the word shepherd. which search would achieve this?
German OR shepherd
German- shepherd
"GERMAN shepherd"
"German"+"shepherd"

Answers

Answer: German- shepherd

Explanation:

If I want to find pages that contain the word German but not the word shepherd, the search would achieve this would be German- shepherd.

It should be noted that other options such as German OR shepherd, "GERMAN shepherd" and "German"+"shepherd" all mean that pages containing the words German and also shepherd will be found.

The (-) sign simply means that not. Therefore, the correct option is German - shepherd which means German but not shepherd.

Answer:

German- shepherd

Explanation:

What is the name of the function below?

function go(){
alert("hello everybody");
}

Answers

Answer:

It’s Java script I think and it makes something say hello everybody

Explanation:

Describe some common types of charts.​

Answers

Bar chart.
Pie chart.
Line chart.

Answer:

The four most common are probably line graphs, bar graphs and histograms, pie charts, and Cartesian graphs. They are generally used for, and are best for, quite different things.

Explanation:

Line chart- A graph with points connected by lines to show how something changes in value: • as time goes by, • or as something else changes.

Example: how you are improving at a quiz each day.

Bar chart- A graph drawn using rectangular bars to show how large each value is. The bars can be horizontal or vertical. It is a really good way to show relative sizes. We can use bar graphs to show the relative sizes of many things, such as what type of car people have, how many customers a shop has on different days and so on.

Histogram- a graphical display of data using bars of different heights. It is similar to a Bar Chart, but a histogram groups numbers into ranges . The height of each bar shows how many fall into each range.

Pie chart- a special chart that uses "pie slices" to show relative sizes of data. It is a really good way to show relative sizes.

Cartesian chart- This is a type of chart that uses coordinates to pinpoint where something is on a map or graph. Using Cartesian Coordinates we mark a point on a graph by how far along and how far up it is.

PLEASE HELP ITS TIMED Ishmael would like to capture a selected portion of his screen and then capture actions he performs on that selected portion. What should he do?


Use the Video from My PC command.

Use the Insert Screen Recording control.

Create a poster frame.

Use an embed code.

Answers

Answer:

Option B

Hope this Helps!!! :)

A type of topology in which all the systems a connected a main cable ​

Answers

Answer:

Bus topology uses one main cable to which all nodes are directly connected. The main cable acts as a backbone for the network. One of the computers in the network typically acts as the computer server. The first advantage of bus topology is that it is easy to connect a computer or peripheral device.

What line of code would you edit if you wanted a bigger sprite?This is computer science.Pick branliest if right


A.3

B.4

C.5

D.You have to edit the picture itself

Answers

pretty sure the answer is a-3

Answer:

C. 5

Explanation:

Line 3 refers to the positioning of the sprite.

Line 4 refers to the animation preset of the sprite.

Line 5 is the correct choice because in the code it references scale and a value which can be modified to make the sprite bigger. For example, from 0.3 to 0.5

If I'm right please give brainliest, thanks

WHAT IS MULTIMEDIA SUPPOSED TO MEAN ???

Answers

Answer:

using more than one medium of expression or communication

Answer:

It basically means using more than one expression or form of communication

Explanation:

# input a mark in a subject of a student and
Check if the student is pass or not pass [pass mark=30]​

Answers

Answer:

mark = int(input("Enter mark: "))

if (mark >= 30):

 print("Pass")

else:

 print("Not pass")

___________ is a computer programming language.

Answers

Python!!! I hope that helped!!
Pascal, c+, c++ etc

Which item would not generate a desktop alert by default in Outlook 2016?

new contact created
meeting request received
email received
task assignment received
i couldn't find this awnser and my teacher is extending our test period for another 20 minutes. please help

Answers

Answer:

New contact created does not generate a desktop alert by default.

Explanation:

edg.2021

Answer:

A

Explanation:

Can you all help me with this?

Answers

Answer:

(1)mobile smart phone.

(2)server computer.

(3)desktop computer

(4)laptop computer

(5)all in one computer

Find the cost of 2m 20cm at 25p per metre​

Answers

Answer: 55 meters.

Explanation:

First convert the 20 cm to meters so the entire number is in meters.

1 meter = 100 cm

20 in cm is:

= 20/100

= 0.2 meters.

2.2 meters.

One meter costs 25p so 2.2 meters will cost:

= 2.2 * 25

= 55 meters

What storyboarding technique uses a combination of two techniques, and which techniques does it combine?
O A. hierarchical; wheel and linear
O B. linear; webbed and hierarchical
O C. webbed; linear and hierarchical
© D. wheel; webbed and linear

Answers

Answer:

d

Explanation:

Answer:

They're right, it's c:  webbed; linear and hierarchical

Explanation:

Edmentum, I got it right.

Explain in not less than 3 Sentences

1. Decimal Number System


2.Binary Number System​

Answers

Answer:

The Decimal Numeral system :-

It is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers of the Hindu–Arabic numeral system.

Binary Number system :-

It is a number expressed in the base-2 numeral system , which uses only two symbols: typically "0" and "1". The base-2 numeral system is a positional notation with a radix of 2. Each digit is referred to as a bit, or binary digit.

hope it helps you...

1. ¿Dónde emergieron los Bancos Centrales? 2. ¿En qué siglo los Bancos Centrales se potenciaron? 3. ¿El Banco de Suecia en qué siglo fue fundado? 4. ¿En el año de 1694 qué Banco se creó? 5. ¿Quién creo en 1800 el Banco Francés? 6. ¿En qué siglo y años Estados Unidos creó el Banco Estados Unidos? 7. Entre 1861 -1865 Abraham Lincoln creo el primer Banco y único Banco Central ¿Cuál erasu objetivo? 8. ¿Cuál otras funciones cumplían los Bancos en el siglo XIX?

Answers

Answer:

. ¿Dónde emergieron los Bancos Centrales?

El primer banco central fue creado por el Parlamento Sueco en 1668, siendo su principal acreedor la Corona Sueca. Esto generó inflación y crisis financieras. Después de un siglo, en 1779, la ley fue modificada, obligando al Banco a que la masa monetaria fuese respaldada por oro en una proporción fija. Sin embargo, comenzó la guerra con Rusia y se regresó a su origen violando el precepto de estabilidad que confería ese patrón oro.

2. ¿En qué siglo los Bancos Centrales se potenciaron?

La historia de la banca central se remonta al menos al siglo XVII, con la fundación de la primera institución reconocida como un banco central, el Banco de Suecia.

3. ¿El Banco de Suecia en qué siglo fue fundado?

El primer banco central fue creado por el Parlamento Sueco en 1668.

4. ¿En el año de 1694 qué Banco se creó?

En 1694, se creó el Banco de Inglaterra, que sería el más famoso banco central durante casi 300 años.

5. ¿Quién creo en 1800 el Banco Francés?

Fue creado por Napoleón en 1800 para estabilizar la moneda después de la hiperinflación del papel moneda generado durante la Revolución Francesa y las conquistas napoleónicas.

6. ¿En qué siglo y años Estados Unidos creó el Banco Estados Unidos?

A principios del siglo XIX, Estados Unidos creó el Banco de los Estados Unidos (1791-1811) y luego un segundo Banco de los Estados Unidos (1816-1836) tras el cierre del primero. Ambos bancos se establecieron siguiendo el modelo del Banco de Inglaterra. Pero a diferencia de los británicos, los estadounidenses tuvieron una desconfianza profunda de cualquier concentración de poder financiero en general, y de los bancos centrales, en particular.

7. Entre 1861 -1865 Abraham Lincoln creo el primer Banco y único Banco Central ¿Cuál erasu objetivo?

Abraham Lincoln creó el primer y único Banco Central público del país, con el objetivo de garantizar los pagos de guerra.

8. ¿Cuál otras funciones cumplían los Bancos en el siglo XIX?

Se exigió la creación de una estructura crediticia flexible que fuera capaz de dar respuestas a las empresas de ferrocarril y a los barcos de vapor,

Explanation:

. ¿Dónde emergieron los Bancos Centrales?

El primer banco central fue creado por el Parlamento Sueco en 1668, siendo su principal acreedor la Corona Sueca. Esto generó inflación y crisis financieras. Después de un siglo, en 1779, la ley fue modificada, obligando al Banco a que la masa monetaria fuese respaldada por oro en una proporción fija. Sin embargo, comenzó la guerra con Rusia y se regresó a su origen violando el precepto de estabilidad que confería ese patrón oro.

2. ¿En qué siglo los Bancos Centrales se potenciaron?

La historia de la banca central se remonta al menos al siglo XVII, con la fundación de la primera institución reconocida como un banco central, el Banco de Suecia.

3. ¿El Banco de Suecia en qué siglo fue fundado?

El primer banco central fue creado por el Parlamento Sueco en 1668.

4. ¿En el año de 1694 qué Banco se creó?

En 1694, se creó el Banco de Inglaterra, que sería el más famoso banco central durante casi 300 años.

5. ¿Quién creo en 1800 el Banco Francés?

Fue creado por Napoleón en 1800 para estabilizar la moneda después de la hiperinflación del papel moneda generado durante la Revolución Francesa y las conquistas napoleónicas.

6. ¿En qué siglo y años Estados Unidos creó el Banco Estados Unidos?

A principios del siglo XIX, Estados Unidos creó el Banco de los Estados Unidos (1791-1811) y luego un segundo Banco de los Estados Unidos (1816-1836) tras el cierre del primero. Ambos bancos se establecieron siguiendo el modelo del Banco de Inglaterra. Pero a diferencia de los británicos, los estadounidenses tuvieron una desconfianza profunda de cualquier concentración de poder financiero en general, y de los bancos centrales, en particular.

7. Entre 1861 -1865 Abraham Lincoln creo el primer Banco y único Banco Central ¿Cuál erasu objetivo?

Abraham Lincoln creó el primer y único Banco Central público del país, con el objetivo de garantizar los pagos de guerra.

8. ¿Cuál otras funciones cumplían los Bancos en el siglo XIX?

Se exigió la creación de una estructura crediticia flexible que fuera capaz de dar respuestas a las empresas de ferrocarril y a los barcos de vapor,

Para que se utilizan las siguientes plataformas: Matlab, Labview, VisualBasic, Mplab, Micropic, PicCompiller

Answers

Answer:

MATLAB (abreviatura de MATrix LABoratory, «laboratorio de matrices») es un sistema de cómputo numérico que ofrece un entorno de desarrollo integrado (IDE) con un lenguaje de programación propio (lenguaje M). Está disponible para las plataformas Unix, Windows, macOS y GNU/Linux.

Entre sus prestaciones básicas se hallan la manipulación de matrices, la representación de datos y funciones, la implementación de algoritmos, la creación de interfaces de usuario (GUI) y la comunicación con programas en otros lenguajes y con otros dispositivos hardware.

LABVIEW (acrónimo de Laboratory Virtual Instrument Engineering Workbench) es una plataforma y entorno de desarrollo para diseñar sistemas, con un lenguaje de programación visual gráfico pensado para sistemas hardware y software de pruebas, control y diseño, simulado o real y embebido.

Visual Basic (VB) es un lenguaje de programación dirigido por eventos, desarrollado por Alan Cooper para Microsoft. Este lenguaje de programación es un dialecto de BASIC, con importantes agregados. Su primera versión fue presentada en 1991, con la intención de simplificar la programación utilizando un ambiente de desarrollo.

MPLAB es un editor IDE gratuito, destinado a productos de la marca Microchip. Este editor es modular, permite seleccionar los distintos microcontroladores soportados, además de permitir la grabación de estos circuitos integrados directamente al programador.

MICROPICUn PIC es un circuito integrado programable (Programmable Integrated Circuited), el cual contiene todos los componentes para poder realizar y controlar una tarea, por lo que se denomina como un microcontrolador. Los PIC son una familia de microcontroladores tipo RISC fabricados por Microchip Technology Inc. y derivados del PIC1650, originalmente desarrollado por la división de microelectrónica de General Instrument.

PICCOMPILER

El Portable C Compiler o Compilador de C Portable (también conocido como pcc o, algunas veces, como pccm - máquina de compilador de C portable) fue uno de los primeros compiladores para el lenguaje de programación C escrito por Stephen C. Johnson de los Laboratorios Bell a mediados de los 70, basado, en parte, en las ideas de un trabajo previo de Alan Snyder en 1973.

Explanation:

MATLAB (abreviatura de MATrix LABoratory, «laboratorio de matrices») es un sistema de cómputo numérico que ofrece un entorno de desarrollo integrado (IDE) con un lenguaje de programación propio (lenguaje M). Está disponible para las plataformas Unix, Windows, macOS y GNU/Linux.

Entre sus prestaciones básicas se hallan la manipulación de matrices, la representación de datos y funciones, la implementación de algoritmos, la creación de interfaces de usuario (GUI) y la comunicación con programas en otros lenguajes y con otros dispositivos hardware.

LABVIEW (acrónimo de Laboratory Virtual Instrument Engineering Workbench) es una plataforma y entorno de desarrollo para diseñar sistemas, con un lenguaje de programación visual gráfico pensado para sistemas hardware y software de pruebas, control y diseño, simulado o real y embebido.

Visual Basic (VB) es un lenguaje de programación dirigido por eventos, desarrollado por Alan Cooper para Microsoft. Este lenguaje de programación es un dialecto de BASIC, con importantes agregados. Su primera versión fue presentada en 1991, con la intención de simplificar la programación utilizando un ambiente de desarrollo.

MPLAB es un editor IDE gratuito, destinado a productos de la marca Microchip. Este editor es modular, permite seleccionar los distintos microcontroladores soportados, además de permitir la grabación de estos circuitos integrados directamente al programador.

MICROPICUn PIC es un circuito integrado programable (Programmable Integrated Circuited), el cual contiene todos los componentes para poder realizar y controlar una tarea, por lo que se denomina como un microcontrolador. Los PIC son una familia de microcontroladores tipo RISC fabricados por Microchip Technology Inc. y derivados del PIC1650, originalmente desarrollado por la división de microelectrónica de General Instrument.

PICCOMPILER

El Portable C Compiler o Compilador de C Portable (también conocido como pcc o, algunas veces, como pccm - máquina de compilador de C portable) fue uno de los primeros compiladores para el lenguaje de programación C escrito por Stephen C. Johnson de los Laboratorios Bell a mediados de los 70, basado, en parte, en las ideas de un trabajo previo de Alan Snyder en 1973.

If someone said to you, “Pseudocode is a waste of time! It’s just more work because you end up writing the same program twice,” how would you explain the benefits of pseudocode?

Answers

Answer:

It allows the designer to focus on main logic without being distracted by programming languages syntax.

* Since it is language independent, it can be translated to any computer language code.

* It allows designer to express logic in plain natural language.

* It is easier to write actual code using pseudocode.

* Unlike algorithms, pseudocodes are concise so pseudocodes are more readable and easier to modify.

Explanation:

What percentage of teens say they have witnessed cyberbullying?

50

95

70

35

Answers

A Majority of Teens Have Experienced Some Form of Cyberbullying. 59% of U.S. teens have been bullied or harassed online, and a similar share says it's a major problem for people their age

254 × (×) igual 20×()682883993

In French class, Blue puts on a visor and the environment changes to that of a café in Paris. Which of the following terms describes this kind of technology?

Answers

Answer:

virtual reality

Explanation:

Answer:

virtual

Explanation:

virtual and realyty

6. A presentation is widely used to present and effectively​

Answers

Answer:

A Presentation is a collection of slides arranged in a systematic order. 2) A presentation ...

Explanation:

Please give thanks to all my answers and please mark as brilliant and please follow me


What is programming?​

Answers

Answer:

using code etc to change how something works out make it work how you want it to. mostly code but sometimes circuit boards and stuff like that.

Explanation:

see above

Answer:

Programming is the process of creating a set of instructions that tell a computer how to perform a task.

create html code showing heading tags​

Answers

Answer:

Assuming you mean the HTML5 head tag, then this may work for you:

<!DOCTYPE HTML>

<html lang="en">

<head>

<title>My Very Awesome Website</title>

<link href="./css/main.css" rel="stylesheet"  />

<meta name="viewport" content="width=device-width, initial-scale=1" />

</head>

<body>

<h1>Hey look</h1>

<p>This is my awesome website!</p>

<h3>Note</h3>

<p>This website is supposed to be 100% awesome!</p>

</body>

</html>

What's wrong with these codes in code HS Karel challenges(7.1.2. Racing Karel) Codes: //Below is the program that have Karel move around the race track 8 times, and end in his starting location. Everytime Karel hits a corner, he will put a ball down. At the end there should be 8 balls on each corner. function start(){ for(var i = 0; i < 5; i++){ ballSet(); wallRun(); turnLeft(); } function wallRun(){ while(frontIsClear()){ move(); } } function ballSet(){ putBall(); } }

Answers

Answer:

The program only runs 5 five since the for loop statement is limited to loop only five times.

Explanation:

In programming, a for-loop statement is used to repeat a collection of events a definite number of times. The number of loops is specified and compared with a variable to execute a block of code.

The for-loop statement in the code above declares and initializes a variable "i" to zero, runs the block of code, and increments by one if it is less than 5.

To make it run eight times, the value five should be changed to 8 instead.

Answer: you have to change the 5 to 8 since its telling you to do it 8 times

Explanation: for(var i = 0; i < 5; i++) should be for(var i = 0; i < 8; i++)

Choose all items that are true about the two example of HTML shown on the right.

Example 1 will display differently than example 2 in a web browser.

They are styled differently, but will look the same in a web browser.

Example 2 is easier to analyze and repair.

The styling in example 2 is required by modern web browsers.

Answers

Answer:

2

Explanation:

Answer:

B and C

Explanation:

Could someone please help?​

Answers

Answer:

it looks difficult

Explanation:

you can devotingly solve it

When you click on what will happen?

The font will change back to the default setting.
The document will change back to the last time you saved it.
The last step will be undone.
The last step will be redone.

Answers

The last step is undone. The default font choices in Microsoft Word are one of the biggest sources of ongoing annoyance for legal users.

What is Default setting?

you can alter just two Styles (+Body and +Headings) permanently to give your papers a more professional typography.

There is a drop-down menu labeled Fonts over to the far right. You can view a list of preconfigured font sets by clicking on Fonts. You want to select Customize Fonts from here.

You can see the Body font and the Heading font on the left. Here is where you control the two Styles, +Body and +Headings, that I mentioned previously.

Therefore, The last step is undone.

To learn more about default font, refer to the link:

https://brainly.com/question/21104940

#SPJ1

Answer: C The last step will be undone. this is the Undo Icon

Explanation:

Other Questions
houghtQ Identifythethe wdwe willthenmynee by everingadverbs the sentences belowtogothe park quicklymother gently reminded me to study.astronauteasilysolved the problemsayare Adverbs or Adiectives .waye)TheRude peoplethank younevera Ron purchases $32,000 worth of stock on his brokers advice and pays his broker a 1.25% broker fee. How much did he pay his broker! Show work please !! ITS TUMMY PURRED LIKE AN OUTBOARD MOTOR AND IT BUTTED ITS HEAD AGAINST ISABELLA"S HAND IN BETWEEN BITESwhat figutive lanuguage is that simile,metaphor,personification,hyperoble,idiomTELL me how u got your anaswer a partir de la pregunta Qu tradiciones de nuestros ancestros hoy estan vigentes? Explica las leyendas mas importantes de Colombia Help me. Will give brainliest. Need help!!!! ahaaaaaa What country were the Allied forces trying to free from the the Germans with the invasion of Normandy? (In ww2) por favor ayudenme que tenga explicacin y respuesta los seguir pero plisss screw it.. helps me pleaseee all the questions -_- 2NH3+2O2- N2O+3H2O If 80.0 grams of O2 reacted in above reaction ,how many grams of N2O will be produced? Help me plsssssssssssssssssssssssssssssssssss A cell has two pairs of submetacentric chromosomes, which we will call chromosomes Ia, Ib, IIa, and IIb (chromosomes Ia and Ib are homologs, and chromosomes IIa and IIb are homologs). Allele M is located on the long arm of chromosome Ia, and allele m is located at the same position on chromosome Ib. Allele P is located on the short arm of chromosome Ia, and allele p is located at the same position on chromosome Ib. Allele R is located on chromosome IIa and allele r is located at the same position on chromosome Ib. Allele G is located on the long arm (q arm) of chromosome Ia, and allele g is located at the same position on chromosome Ib. Allele N is located on the q arm of chromosome IIa and allele n is located at the same position of chromosome IIb.Required:a. Draw these chromosomes, identifying genes R, r, G, g, N, and n as they might appear in metaphase I of meiosis. Assume there is no crossing over.b. Taking independent assortment and the subsequent random separation of chromosomes in anaphase I, draw the chromosomes, with genes identified, present in all possible gametes that could result once this cell completes meiosis. As above, assume there is no crossing over. Explain in your own words what is meant by independent assortment. derive Sinxy = x + 2xy 5 years ago, john was half the age he will be in 8 years. How old is he? ............... Suppose you are buying apples and bananas. The price of apples is $0.40 each andthe price of bananas is $0.25 each. Which equation models the number of apples andbananas you can buy for $2?a. 40x + 25y = 200b. 40x 25y = 2C. 5x + 8y = 200d. 5x + 8y = 2 One eighth of 4 equals Help a dum person out? Which is a thesis statement?What can be done to better inform consumers about the safety andeffectiveness of over-the-counter weight-loss, supplements?Although many over-the-counter weight-loss supplements are marketed asbeing safe and natural, they are too dangerous for long-term use.Although many over-the-counter weight-loss supplements are marketed asbeing safe and natural, they are not subjected to the same safetymeasurements as prescription medication. Samantha works in a chocolate factory at a conveyor belt that is 18 inches wide and moves large amounts of chocolate to packaging. She counts 225 chocolates in a rectangular section of the conveyor belt measuring 6.5 inches long and 18 inches wide. What is the approximate number of chocolates per square inch of the conveyor belt, rounded to the nearest hundredth?