Homework

Homework Questions? Ask a Tutor for Answers ASAP

Connect one-on-one with {0} who will answer your question

**Attachment: **2013-05-02_122655_pseudo_code_for_later_implementation_in_python.docx

v1 = 23, -1, -3, ..., n

v2 = 12, 0, -26, ..., n

- - -

vn = -1, -1, 1, ..., n

and

p1 = 3, -11, 3, ..., n

p2 = 1, 0, 6, ..., n

- - -

pn = -1, 1, 1, ..., n

Have to normalize all values to 0 and 1 first:

if value is<=0 make value=0; if value>0 make value=1

After normalize, compare using Boolean logic, the vn lists with the pn list.

pn ALWAYS as result of vn boolean interactions, returning true or false as ouput.

I have to compare the whole list... not element by element...

Have to use only these booleans == (equal to), != (not equal to), and 'and'.

Final results should be something like:

v1 = pn; v2 is not pn; vn and v2 and ... = pn

Optional Information:

Language (or Software): Python

Browser (if necessary): Safari

Already did:

- # XXXXX data in array (list) format where vnj contains gene expression from DNA microarray for a vn gene at time j (t input), and pnj contains gene expression from DNA microarray for a vn gene at time j (t+1 output)
- Use variables: v1, v2, v3, ..., vn, p1, p2, p3, ..., pn
- # XXXXX normalization to an integer in binary format (0, 1).
- # XXXXX is the number of columns/genes (i), and k is the maximum number of rows (j).
- for i=1 to n
- for j=0 to k
- if vij<=0 then vij=0 otherwise make vij=1
- if pij<=0 then pij=0 otherwise make pij=1
- done

13. done

14.

15. # XXXXX Boolean logic compare all elements in vn with all elements in pn. Return vn "inhibits" or "activates" pn.

16.

17. for i=1 to n

18. for j=1 to n

19. if vi==pj then print vi,' activates ',pj

20. if vi!=pj then print vi,' inhibits ',pj

21. *** MISSING "**AND**" COMPARISON ***

22.

23. done

24. done

Show More

Show Less

Was this answer helpful?

Describe your issueThe assistant will guide you

Chat 1:1 with a tutorLicensed Experts are available 24/7

100% satisfaction guaranteeGet all the answers you need

Related Homework Questions

Second Opinion] I need help with programming in JAVA -

Second Opinion] I need help with programming in JAVA - sorting algorithms (quicksort, insertsort, mergesort) and comparing their performance with timing analysis… read more

Write a function with name sort. This function will take

Write a function with name sort. This function will take three parameters, first parameter is an integer array that will be sorted, second parameter is an integer which holds the number of elements in… read more

Given a positive integer k and an array A[1..n] that

Given a positive integer k and an array A[1..n] that contains the ﬁnal exam scores of n students in COMP3711 in ascending order, design a divide and conquer algorithm to eﬃciently count the number of … read more

Assignment 6.1 [25 points] This assignment will give you a

Assignment 6.1 [25 points]This assignment will give you a chance to perform some simple tasks with pointers. The instructions below are a sequence of tasks that are only loosely related to each other.… read more

Is there anyone who can help me with some multiple choice

Is there anyone who can help me with some multiple choice and short answer questions for my Data Structures & Algorithms class?… read more

I have a Java assignment to finish. I have not recieved my

I have a Java assignment to finish. I have not recieved my text just yet and it's extrememly difficult to complete without the text. I am at the job at the moment and can't use wikisend to attach the … read more

Implementing A Vector3D Out: 2/25 Due: 3/10 by 11:50 PM In

Implementing A Vector3D Out: 2/25 Due: 3/10 by 11:50 PM In this project you will implement a class that describes a 3-dimensional vector. Learning Objectives • Implementing User-defined Classes • Test… read more

physics question #1: a pipe of varying inner diameter carries

physics question #1: a pipe of varying inner diameter carries water. At point 1 the diameter is .2 m and the pressure in 130 kPa. At point 2, which is 4 m higher than point 1, the diameter is .3 m. If… read more

Hi Ashok, now that the temperatures and pressures are know

Hi Ashok, now that the temperatures and pressures are know can you find a way to verify the accuracy usung the energy. The answer is fine, I don't question it. I need the verification 'on principal'. … read more

4 pts) Using the English alphabet (i.e., mod 26 arithmetic)

4 pts) Using the English alphabet (i.e., mod 26 arithmetic) let plaintext = {p1, p2,… , pn} and corresponding ciphertext = {c1, c2,… , cn}. Suppose the encryption function is ci = pi + 15 (mod 26). If… read more

Turn in your answers to the following problems below. As always,

Turn in your answers to the following problems below. As always, make sure to show all of your work. 1. You take a 50 g glass coffee mug from the dishwasher following the dry cycle. You use a dishclot… read more

How do I use binary search algorithm to look for the number

How do I use binary search algorithm to look for the number 7 in the list 1, 3, 4, 5, 6, 8, 9, 11.… read more

1.A 500-mL glass beaker of water is filled to the rim at a

1.A 500-mL glass beaker of water is filled to the rim at a temperature of 0°C. How much water will overflow if the water is heated to a temperature of 95°C? (Ignore the expansion of the glass and the … read more

A heat engine produces a total of 440 J of work by using an

A heat engine produces a total of 440 J of work by using an ideal gas in these three processes: Beginning at a pressure of 1.32 x 105 5 Pa and a volume of 2.20 x 10-3 -m3, the pressure is increased is… read more

2.0 g of helium at an initial temperature of 100 degree C ...

2.0 g of helium at an initial temperature of 100 degree C and an initial pressure of 1.0 atm undergo an isothermal expansion until the volume has doubled. What are a)the final pressure b)the work done… read more

1. does a nonprime divided by a nonprime ever result in a

1. does a nonprime divided by a nonprime ever result in a prime? explain this. 2. Is it possible for an extremely large prime to be expressed as a large integer raised to a very large power? explain. … read more

How many moles of NH3 would be formed from 50 grams of ...

How many moles of NH3 would be formed from 50 grams of (NH4)2SO4 in the following (UNBALANCED) equation? (NH4)2SO4 + NaOH ? NH3 + H2O + Na2SO4 A gas sample has an original volume of 850 ml when collec… read more

1) The pressure of a 1.50 L sample of an ideal gas is ...

1) The pressure of a 1.50 L sample of an ideal gas is increased from 56 torr to 150 torr at constant temperature. What is the new volume of the gas? SHOW WORK 2) A weather balloon contains 1.10 x 10 t… read more

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.

JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.

Web sites like justanswer.com/legal

...leave nothing to chance.

...leave nothing to chance.

Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.

Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.

I will tell you that...the things you have to go through to be an Expert are quite rigorous.

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

Los Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

Hesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

Kernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

Woodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

Elkton, Maryland

He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here.

Dallas, TX

< Previous | Next >

Scott

MIT Graduate

5,772 satisfied customers

MIT Graduate (Math, Programming, Science, and Music)

LogicPro

Engineer

22,278 satisfied customers

Expert in Python,Java C++ C C# VB Javascript Design SQL HTML

Manal Elkhoshkhany

Tutor

4,857 satisfied customers

More than 5000 online tutoring sessions.

Linda_us

Finance, Accounts & Homework Tutor

3,138 satisfied customers

Post Graduate Diploma in Management (MBA)

Chris M.

M.S.W. Social Work

2,852 satisfied customers

Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)

F. Naz

Chartered Accountant

2,280 satisfied customers

Experience with chartered accountancy

Jaun

Teacher

2,045 satisfied customers

Masters in Business Administration.

< Previous | Next >

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.