Search one-to-one-function-look-at-pic-for-problem

One to one function look at pic for problem

 
 

Top Questions

1.Write a Slicer One of the key steps in processing an STL file for printing is slicing. STL files were written ...

s were written to make slicing a low memory task by storing each triangle at a single place. We already have code to do the following: A Generator that returns a triangle one at a time from an STL file (specifically an ASCII STL file). It Return the triangle as a list of 3D points (tuples), ignoring the normal. (from HW4) A function that takes a list of line segments, each line segment is a list of 2D points (tuples) and returns a single list of 2D points where the start of one segment is the end of another. ( from HW 3) A function that converts a list of 2D points to G-Code (lab 2) A function that writes GCode to a file To make a slicer you need to: Write a function that calculates the intersection of a triangle with a horizontal plane. The input of the function should be a list of 3D points (tuples). It should return a list of 3D points. See this website for hints on the mathematics http://geomalgorithms.com/a06-_intersect-2.html#Triangle-Plane (Links to an external site.) ( https://web.archive.org/web/20180706054857/http://geomalgorithms.com/a06-_intersect-2.html (Links to an external site.) ) Next you need to combine all of these different functions into a single workflow that takes in an STL file, a slicing height, print temperatures, movement speed , and extrusion speed and returns a G-code String which prints the walls of the STL file. It should have an outer iteration over slice heights of the STL, for each slice height, it should scan all triangles and make a list of the line segments that intersect the plane at that Z height. Then it should order those segments into a list of points. That list of points is then converted into gcode movement and extrusion commands. The entire system combines these slices with setup and shutdown Gcode for the ender 3 printer to make the print job. You may write to a file a layer at a time or at the end. Once the slicer is done: Run the previous function with a vase file such as one of the following files: https://www.thingiverse.com/thing:126567/files https://www.thingiverse.com/thing:42570/files https://www.thingiverse.com/thing:31722/files https://www.thingiverse.com/thing:2795194/files Submit your code as a Jupiter notebook with the .gcode in it and, and an image of your print.
View More

2.In this problem and the next one, we’re going to make a very simple spam checker program by just looking ...

ooking at how likely a given email is to be spam based on the words it contains. In particular, in this problem we’re going to count how often words are present in spam emails within some set of training data (which here means a set of emails that have already been marked as spam or not spam manually). We have already started to write a function spam_score(spam_file, not_file, word), which takes in two filenames, along with a target word (a lowercase string). Both filenames refer to text files which must be in the same directory as hw07.py (we’ve provided several such files in hw07files.zip). The text files contain one email per line (really just the subject line to keep things simple) - you can assume that these emails will be a series of words separated by spaces with no punctuation. The first file contains emails that have been identified as spam, the second contains emails that have been identified as not spam. Since you haven’t learned File I/O yet, we’ve provided code that opens the two files and puts the data into two lists of strings (where each element is one line - that is, one email). You then must complete the function, so that it returns the spam score for the target word. The spam score is an integer representing the total number of times the target word occurs across all the spam emails, minus the total number of times the word occurs in not-spam emails. Convert all words to lowercase before counting, to ensure capitalization does not throw off the count.
View More

3.Greetings. I need help asap when it comes to a computer science project that I have to get done soon. ...

. I'm really close to completing it and I'm really stuck on this one situation and I don't know how to solve it. So right now I'm making a guessing game and every time you play the program tells the user how many guesses it took for them to get the answer. And what I need to do is to make sure that I get and isolate the lowest amount of guess and put it into the statistics function so that way it can print out the lowest amount of guesses that I got. Right now it isn't working and I really don't know why as it seems to be mostly adding up all the guesses until the last few. Here's my code: #include #include #include #include void haiku(){ printf("Welcome to the game.\n"); printf("Guess a number within range.\n"); printf("Win cool prizes here.\n\n"); } int compare(int guessiso){ int lowestvalue=0; int biggervalue=0; if(guessisooperand){ printf("It's lower.\n"); count++; isolatedcount++; } else if(user0){ lowguess=compare(x); x=one_game(count); count=x; printf("Do you want to play again?\n"); scanf("%d",&usertwo); userthree=usertwo; gamecount++; } statistics(gamecount,x,lowguess); }
View More

4.I just need someone to look over my paper for anatomy and to just let me know what I need ...

t or add. I'll attach the questions, my rubric, as well as my answers I made. It would really help me out please. The questions: 1.) Choose two somatosensory receptors. Please include a description of each receptor, what they sense, and which part of the brain processes the information from the receptor. 2.) Provide a discussion of the thyroid gland. Include the following: Description of the thyroid gland's structure and location. Description of the cells of the thyroid gland. Description of the hormones secreted by the thyroid gland and their functions. Description of how thyroid hormones are controlled by hormones secreted by the hypothalamus and anterior pituitary gland. Description of how the feedback system works in the cases of high or low thyroid hormone levels. 3. Describe the cardiac cycle. Include descriptions of the 3 phases, the pressure changes in each of the heart's chambers, valves are open and closed, and blood flows during each step. My answer: 1.) Exteroceptor - receives external stimuli from outside of the body. An example, the skin (Thermoreceptors) detects the temperature of the outside area of the body. Interceptor - receives stimuli from inside of the body. An example would be blood pressure as well as blood oxygen levels. 2.) Thyroid Gland is located near the front lower part of the neck, beneath Adam's apple. Its structure includes Thyroid Epithelial that form follicles filled with colloid - a protein-rich reservoir of the materials needed for thyroid hormone production. The cells are responsible for releasing hormones that control metabolism (Energy levels). The thyroid gland releases triiodothyronine (T3) and thyroxine (T4). These hormones regulate weight, energy levels, internal temperature, skin, and growth. When the hypothalamus and pituitary function well, they can detect when hormone levels are low, which causes them to produce more TRH and TSH, which stimulates the thyroid to produce hormones. When the hormone levels exceed their limit, they then have less TRH and TSH, which results in reduced hormone production by the thyroid. Feedback is when a product feeds back into its initial cycle. The Feedback includes both positive and negative feedback. Positive Feedback is when a product provides back to increase production: an example, milk production by a mother for her baby. As the baby suckles, nerve messages from the nipple cause the pituitary gland to secrete prolactin. Prolactin, in turn, stimulates the mammary glands to produce milk, so the baby suckles more. Which causes more prolactin to be secreted and more milk to is made. Negative Feedback is when a product feeds back decreases production; it brings down show if they increase past their limit. It also controls insulin secretion by the pancreas. 3.) The Cardiac Cycle takes place from the beginning of a heartbeat to the next. It contains two periods: One is when the heart muscle relaxes and refills with blood, called diastole, following a time when it begins contraction and pumping of blood, systole. Once emptied, the heart then relaxes and expands to receive another inrush of blood coming back from the lungs and other areas of the body. The atrioventricular valves remain open while the semilunar valves are closed. During the middle part of the diastole, a small amount of blood flows into the ventricles. The blood flows from the veins and passes the atria fills the ventricles. The pressure in both ventricles is close to zero as a result.
View More

5.Describe the parallels between cell differentiation, nutrient supply, and final cellular state for the majority of cells involved in the ...

he majority of cells involved in the epidermis, hair follicles/hair growth, and nail synthesis/nail growth. How does the structure of spongy bone support the function of the red bone marrow contained within said bone? How do bones, synovial fluid, tendons, ligaments, and articular cartilage work together to allow synovial joint movement? Please explicitly include the bone feature that allows for tendon/ligament attachment. What is the difference in function between the vertebrae and the intervertebral disks in the vertebral column? Please discuss both the connective tissue subtype for each of these features and how the composition of their extracellular matrix contributes to function Describe the extracellular matrix of bone to someone who isn't familiar with anatomy (this should be a general description of appearance/tactile nature, no specific mention of cells or function is needed) How does hair contribute to the sensory role of the integumentary system? (A short explanation is all that is needed, no in-depth description of associated structures is required for full credit) Back when he was 16, Jordan left eye orbit floor was fractured in a bizarre fencing accident, leaving a few fragments behind inside his skull. Assuming the floor was punctured from above in the maxillary bone and no additional bones were broken, where did the bone fragments end up in his skull? (This should be a particular space in the skull, not a separate bone where the fragments are embedded The skeletal and integumentary systems rely heavily on collagen for function - describe one or more features other than ligaments that involve collagen, and how you would expect function to change in someone with EDS that affected the relevant subtype of collagen
View More

6.Please check options and pictures within the file attached. If the questions can be answered within a free demo session ...

hin a free demo session as I have my answers, but just want to confirm them, that would be greatly appreciated. Question 1: A block of mass M = 0.10 kg is attached to one end of a spring with spring constant k = 100 N/m . The other end of the spring is attached to a fixed wall. The block is pushed against the spring, compressing it a distance x = 0.04 m . The block is then released from rest, and the block-spring system travels along a horizontal, rough track. Data collected from a motion detector are used to create a graph of the kinetic energy K and spring potential energy Us of the system as a function of the block's position as the spring expands. How can the student determine the amount of mechanical energy dissipated by friction as the spring expanded to its natural spring length? Question 2: The Atwood’s machine shown consists of two blocks connected by a light string that passes over a pulley of negligible mass and negligible friction. The blocks are released from rest, and m2 is greater than m1. Assume that the reference line of zero gravitational potential energy is the floor. Which of the following best represents the total gravitational potential energy U and total kinetic energy K of the block-block-Earth system as a function of the height h of block m1? Question 3: A 2 kg block is placed at the top of an incline and released from rest near Earth’s surface and unknown distance H above the ground. The angle θ between the ground and the incline is also unknown. Frictional forces between the block and the incline are considered to be negligible. The block eventually slides to the bottom of the incline after 0.75 s. The block’s velocity v as a function of time t is shown in the graph starting from the instant it is released. How could a student use the graph to determine the total energy of the block-Earth system? Question 4: A block slides across a flat, horizontal surface to the right. For each choice, the arrows represent velocity vectors of the block at successive intervals of time. Which of the following diagrams represents the situation in which the block loses kinetic energy?
View More

7.The problem: Cells that grow and divide in medium containing radioactive thymidine incorporate the thymidine into their DNA during S ...

hymidine into their DNA during S phase. Consider a simple experiment in which cells were labeled by a brief (30 minute) exposure to radioactive thymidine. The medium in which these cells are grown was then replaced with one containing unlabeled thymidine, and the cells were allowed to grow and divide for some additional time. At different time points after replacement of the medium, cells were examined in a microscope. Cells in mitosis were identified by their condensed chromosomes. The fraction of mitotic cells that had radioactive DNA was determined by autoradi-ography and plotted as a function of time after the thymidine labeling: Fig. Percentage of mitotic cells that were labeled as a function of time after a brief incubation with radioactive thymidine
View More

8.The problem: Cells that grow and divide in medium containing radioactive thymidine incorporate the thymidine into their DNA during S ...

hymidine into their DNA during S phase. Consider a simple experiment in which cells were labeled by a brief (30 minute) exposure to radioactive thymidine. The medium in which these cells are grown was then replaced with one containing unlabeled thymidine, and the cells were allowed to grow and divide for some additional time. At different time points after replacement of the medium, cells were examined in a microscope. Cells in mitosis were identified by their condensed chromosomes. The fraction of mitotic cells that had radioactive DNA was determined by autoradi-ography and plotted as a function of time after the thymidine labeling: Fig. Percentage of mitotic cells that were labeled as a function of time after a brief incubation with radioactive thymidine
View More

1.AU MAT 120 Systems of Linear Equations and Inequalities Discussion

mathematicsalgebra Physics