Perimeter and area of any triangular using the equation formula as shown below. The values of a, b, and c are entered into separate text boxes and display Perimeter 5 poin
Q: Check boxes should be labeled using capitalization. a. book title b. sentencec. either book title or…
A: Check box: The check box contains more than one or non exclusive choices from which the user can…
Q: Plotting using Bar Function Plot the function y(x) = e sin2x on a bar plot. Use 100 values of x be-…
A: Determine 100 points between 0 and 10 for the x axis using linspace() function. Use the x-axis value…
Q: The main function creates 5 pixels with random red, green, and blue values. Complete the id_color…
A: So you create a pixel inside the main function five times (using for loop) and you call the…
Q: tag use for show the description of the acronym when you mouse over the element * True
A: Required: tag use for show the description of the acronym when you mouse over the element
Q: How do you determine whether a character is alphanumeric?
A: A character is alphanumeric when it only consists of numbers and alphabets. In most of the…
Q: Enter three numbers and then print them in order: The biggest, the middle and then the smallest.
A: Here, A program statement is given.
Q: Acompany has hired you to develop an application to generate passwords for their employees’…
A: Acompany has hired you to develop an application to generate passwords for their employees’…
Q: 4 Identify errors if there is any & after identifying rewrite the code public class Employee (…
A:
Q: The main function creates 5 pixels with random red, green, and blue values. Complete the id_color…
A: def id_color(p):if p.count(max(p))>1:return "None"else:a=index(max(p))if a==0:return "red is…
Q: In PYTHON Print values from the Goal column only Print values only for columns: Team, Yellow Cards…
A: Python which refers to the one it is a high-level, general-purpose programming language. It was…
Q: y train a linear function ing stochastic gradient = 0.1,0₁ = 0.1, 02 = C
A: Gradient Descent algorithm- 1. Import All Librariesimport numpy as npimport pandas as…
Q: 1. The columns are denoted as column numbers True False 2. All the 6 main charts can be used with 2…
A: We have 3 questions from basic MS excel. We are asked about column, charts and formula.
Q: In PYTHON Print values from the Goal column only Print values only for columns: Team, Yellow…
A: Programming Approach: Store the data in a suitable data structure, such as a list of dictionaries,…
Q: Generate a table of conversions from inches to centimeters. Start the inches column at 0.0 and…
A: Since there is not mentioned of programming language so I am using C++ here. Screenshot of code is…
Q: Complete the following table by writing the value of each expression in the Value column.
A: In programming when an expression contains several operators, they are ranked by their precedence…
Q: Change - S + Si into polar form, where S represents the sum of last three digits of your roll…
A: The program is written in python
Q: 16. There are 23, 765 number of relations on the set {a, b, c, d}that contain the pair (a, a)?
A: False.
Q: Write a regular expression that matches the day of year such as "1-1-2018" or "7/4/1776". Dates like…
A: Solution: Given,
Q: Explain the code snippet code
A: This code basically tells us about the matching characters in a string. Following are the steps…
Q: (iii) Display the Amount, where BNAME=RAJHI using pl/sgl code. (iv) With pl/sgl code use for loop to…
A: To retrieve a subset of rows or columns from one or more tables the select into statement is used.…
Q: visual Basic a form and write a code to find the average value of N degrees using For Next Loop. Use…
A: It is defined as a simple, modern, object-oriented computer programming language developed by…
Q: Flow Chart Ask the user his/her birthdate. Compute for the age. Display "you are still a minor" if…
A: To Do: To design the flow chart.
Q: Units used to O Defines the type of angle only. O Defines the type of length only. O Defines the…
A: Units- The meaning of a unit is a decent standard sum or a single individual, gathering, thing or…
Q: Q2\ Design a form contains a sorted list alphabetically such that the user can add the item from…
A: The solution code for the above problem has been provided from Step 2 onwards, which is divided into…
Q: After substitution your expression will be similar to this (( 3 + 8) / 1) * ((4-4)/6)-2). Draw a…
A: 1
Q: Your company is concerned there is a problem with the design of some of the database tables. They…
A: Objective: We need to find database anomalies and redundancies that would create issues in the…
Q: Include a formula in the last column on the third row to calculate 75% of the Cost. The formula is…
A: As you have mentioned that you required for third and fourth column but as I am not having the data…
Q: The formulas for calculating BMI are BMI= 703 - weightln Pounds/heightininches2 or BMI=weightln…
A: Find the code in C++ as language not mentioned and output:
Q: Q1: - Design a form and write a code to find the average value of N degrees using For Next Loop. Use…
A: Q.1-Answer: VB windows form application to find the average of N degrees Design the form with the…
Q: BoxPlots are centric to : (Select one) a) mean b) median c) mode d) Q1
A:
Q: he tribonacci series is a generalization of the Fibonacci sequence where each term is the sum of the…
A: NOTE: SINCE THE LANGUAGE OF THE CODE IS NOT MENTIONED, I USED PYTHON FOR THE SOLUTION. Define…
Q: Design the pseudo code that calculates and displays a person's body mass index(bmi) based upon their…
A: In the given problem we need to design a pseudocode to calculate the BMI of a person using the…
Q: RUE OR FALSE Pivot column determines the outgoing variable to be replaced by the entering variable…
A: if number is negative then find then eliminate them and pivot come from this number choosing of…
![This code segment find the
Perimeter and area of any
triangular using the equation
formula as shown below. The
values of a, b, and c are
entered into separate text
boxes and display Perimeter
and area in separate text
boxes.
P=a+b+c: s= (a+b+c)/2 AR-√√s*(s-a)*(s-b)*(s-c)
1-..........
2-.....
3-......
P=a+b+c
s=(a+b+c)/2
AR-Sqr(s* (s-a) * (s-b) * (s-c))
4-..
5-..
* 5 points
1-a =inputbox("a") 2-b
=inputbox("b") 3-c =inputbox("c") 4-
T4.Text = P 5-T5.Text = AR
1-a = CInt(T1.Text) 2-b =
Cint(T2.Text) 3-c = CInt(T3.Text) 4-
P=T4. Text 5-AR=T5.Text
1- CInt(T1.Text) =a 2-
Cint(T2.Text)=b 3-Cint(T3.Text)=c
4-T4.Text = P 5-T5.Text = AR
1-a = T1.Text 2-b = T2.Text 3-c =
T3. Text 4-T4.Text = P 5-T5.Text =
AR
1-a Cint(T1.Text) 2-b =
09:36](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Ff5b1a3e2-5e8a-4740-a5d8-0a2985a740bd%2Ffeceab10-f0c7-4b4b-8c2b-f90c1460c8b8%2F55rim92_processed.jpeg&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
- 8. a › Give the regular expression for the FA {{q1, q2), E = (a, b), 8, q1, (q1}}. q1 F 92 a q1 q1 b q2 q2 . Give a regular expression for the FA {{q1, q2, q3, q4), E = (a, b), 8, q1, (q3}}. 8 q1 92 q3 F 94 a q2 93 94 94 b 94 92 93 94Replace all the 0 (Zero) digits in your ID by 4. Example: If your ID is 382200448 , it becomes 382244448 Take the first 6 digits and substitute them in this expression (( A + B) / C) * ((D-E)/F)-2) according to the following table; [1 mark] Letter Replace by Digit Example Digit A 1st 3 B 2nd 8 C 3rd 2 D 4th 2 E 5th 4 F 6th 4 After substitution your expression ? Draw a rooted tree that represents your expression. [3 marks] What is the prefix form of this expression. [3 marks] What is the value of the prefix expression obtained in step 2 above? [3 marks]radius_mean gives the average size of the cells in terms of the radius of circles drawn around each cell in the biopsy. texture_mean provides the amount of variation in light to dark values in an image of the cells. sb.regplot (data = cancer, x = "radius_mean", y = "texture_mean", "lowess = True, line_kws = {"color": "orange"}) --INSERT-- 40 texture_mean 35 20 15 10 10 15 20 radius_mean 25 Provide a brief explanation of what is displayed in this plot. Be sure to comment on the orange line and how it expresses the conditional mean of "texture_mean" for different values of "radius_mean."
- 1. The main function creates 5 pixels with random red, green, and blue values. Complete the id_color function to return “red” if the red value is greater than the green and blue, “green” if the green value is greater than the red and blue, and “blue” if the blue value is greater than the red and green. If there is no clear maximum value (for example, if the red and green values are the same) return None. Do not change the main function. import imageimport random def id_color(p):'''Returns the dominant color of pixel p'''pass#Your code here to determine the dominant color and return a string identifying it#Hint: get the red, green & blue values and use an if statement to determine which has the highest value def main():'''Controls the program'''for i in range(5): #Loop 5 timesr = random.randrange(0, 256)g = random.randrange(0, 256)b = random.randrange(0, 256)print(r, g, b) #Show the pixel red, green & blue valuesnew_pixel = image.Pixel(r, g, b)print(id_color(new_pixel)) main()…1. The main function creates 5 pixels with random red, green, and blue values. Complete the id_color function to return “red” if the red value is greater than the green and blue, “green” if the green value is greater than the red and blue, and “blue” if the blue value is greater than the red and green. If there is no clear maximum value (for example, if the red and green values are the same) return None. Do not change the main function.Write 20 input test scenarios for the below form (I have provided the accompanied image for more context) Create the Following Form Using HTML and Implement Input Validation Using Your PreferredProgramming Language (Do Not Rely on HTML for Input Validation) Example:1. If First Name is set and not empty2. If Password contains at least 8 spaces with at least 1 number, 1 lower case, 1 upper case and 1 special character
- The caret when found at the start of a character set, is the equivalent to "not" in RegEx. The regular expression [^a-c] matches any characters except "a", "b" and "c". Write the regular expression that matches any characters except letters, digits and spaces. You must use a negated character set in your expression. Examples txt = alice15@gmail.com " pattern = "yourregularexpressionhere" re.findall(pattern, txt) ["@", "."] Notes • You don't need to write a function, just the pattern. • Do not remove import re from the code. • Find more info on RegEx and negation in Resources. • You can find all the challenges of this series in my Basic RegEx collection.Q3: Lecture Hall Dan holds his CSC108 lectures in a rectangular N X M lecture hall. In other words, this lecture hall has N rows of seats, each of them containing exactly M seats. Here's my attempt at drawing this layout when N = 3 and M = 5: Dan Off 00 lecture hall layout with 3 rows and 5 seats per row The rows are numbered from 1 to N starting from the front row. Similarly, the columns are numbered from 1 to M starting from the leftmost column. We write (r, c) to denote the c-th seat in the r-th row. When Dan walks into the lecture hall this morning, some of the seats are already taken (this is the initial layout of the lecture hall). After that, the students come in one group at a time. From experience, Dan knows that when a group of K students enter the lecture hall, they look for K consecutive empty seats. That is, they try to find an empty seat (r, c) such that for all integers i in [0, K-1], the seat (r, c + 1) exists and is empty. If they can't find K consecutive empty seats,…Build a regular expression that captures the 10-digit US phone numbers (10 digits excluding the coun-try code, country code is optional), where # means any number from 0 to 9. Make sure to supportyour answer with the proper reasoning.It is recommended to use # instead of [0-9] for simplicity and you can follow the rules mentionedbelow as your test cases (this list is not exhaustive).• ##########• ###-###-####• (###) ###-####• ###.###-####• ### ### ####• ###.###.####• +1 ### ### ####
- Starting at the shown origin i.e., position (0,0). Which of the following code draw the red line? (0,0)n the starting-code below, <string> is not #included, but <cstring> is. You should also #include <string>. <cstring> is only included in case you want to use strlen("_photo.jpg"). It's up to you whether you want to use that. A photographer is organizing a photo collection about the national parks in the US and would like to annotate the information about each of the photos into a separate set of files. Write a program that reads the name of a text file containing a list of photo file names. The program then reads the photo file names from the text file, replaces the "_photo.jpg" portion of the file names with "_info.txt", and outputs the modified file names. Assume the unchanged portion of the photo file names contains only letters and numbers, and the text file stores one photo file name per line. If the text file is empty, the program produces no output. Ex: If the input of the program is: ParkPhotos.txt and the contents of ParkPhotos.txt are:…Try to modify the shape and code, and discover your plantChange the colorchange the petal numberchange the petal shapeput a leaf right next to the new flower (leaf shape is not important)Pick a different colour for the flower with different tones code n=800;r=linspace(0,1,n);theta=linspace(0,2*pi,n);[R,THETA]=ndgrid(r,theta);petalNum=5;x = 1 - (1/2)*((5/4)*(1 - mod(petalNum*THETA, 2*pi)/pi).^2 - 1/4).^2;phi = (pi/2)*exp(-2*pi/(8*pi));y = 1.95653*(R.^2).*(1.27689*R - 1).^2.*sin(phi);R2 = x.*(R.*sin(phi) + y.*cos(phi));X=R2.*sin(THETA);Y=R2.*cos(THETA);Z=x.*(R.*cos(phi)-y.*sin(phi));mapSize=20;blue_map=linspace(138,75,mapSize)';blue_map(:,2)=linspace(43,0,mapSize)';blue_map(:,3)=linspace(226,130,mapSize)';gold_map=[255 215 0; 250 210 0];violet_map=[gold_map; blue_map];surf(X,Y,Z,'LineStyle','none')colormap(violet_map/255)view([-12.700 81.200])
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781305480537/9781305480537_smallCoverImage.jpg)
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781305480537/9781305480537_smallCoverImage.jpg)