can someone please fix this code to make it say "Julio" the code is incomplete im...
Im stuck. can someone please show me code on how i can make text appear on html canvas. i want to create a form where someone for example put their name and when submit button is clicked on the form it appear on the canvas. i am using html javascript. please show code for javascript, canvas, and html. please let me know if im not making sense. Thank you
CAN SOMEONE HELP ME AND WITH SOLVING AND EXPLAINING IT TO ME PLEASE? Short Answer Question 2 - The Display [10 marks] Rather than showing numbers, we want to design our 7-segment display for letters. Design a circuit to decode our binary representation of each pressed key into the closest approximation of the ASCII letter (5 = A, 6 = B, 7 = C, 8 = D). Each segment of the display (a-g) is an LED that turns on with...
could use some help with this. please show work so that i can
understand how its done as well.
1. A BCD-to-seven-segment decoder is a combinational circuit that converts a decimal digit in BCD to an appropriate code for the selection of segments in an indicator used to display the decimal digit in a familiar form. The seven outputs of the decoder (a, b, c, d, e, f, g) select the corresponding segments in the display. Using a truth table...
Please fix my code so I can get this output: Enter the first 12-digit of an ISBN number as a string: 978013213080 The ISBN number is 9780132130806 This was my output: import java.util.Scanner; public class Isbn { private static int getChecksum(String s) { // Calculate checksum int sum = 0; for (int i = 0; i < s.length(); i++) if (i % 2 == 0) sum += (s.charAt(i) - '0') * 3; else sum += s.charAt(i) - '0'; return 10...
In Figure 1 a conceptual diagram of a seven-segment screen is
presented, called a, b, c, d, e, f and g, as well as a decimal
point dp. In this work, it is not considered the decimal point.
Figure 1: Seven-Segment Screen
Each of the segments is a light-emitting diode (LED). The screen
is used for representing numbers or other symbols. If the screen is
a common cathode, then when a high voltage appears (logical value
1) the respective LED...
2. The decimal digits 0 to 9 are represented by four logic signals using the 7321 weighted BCD code. Only the code 0011 is used to represent the digit 3. In addition the code 1100 is used to represent the character E. Codes that do not represent either a decimal digit (including 0100), or the character E never occur. The logic signals are inputs to a decoder circuit whose outputs provide drive signals for a seven segment display system shown...
in java please fix code between
14 and 20 to make the code compile
Write a method swapArrayEnds() that swaps the first and last elements of its array parameter. Ex: sortArray = {10, 20, 30, 40} becomes {40, 20, 30, 10). The array's size may differ from 4. Display ari ay Values 1 pas [ pa: 6 public void displayValues(int [] arrayVals) { 7 int i; 8 9 for (i = 0; i < arrayVals.length; ++i) { 19 System.out.print(arrayVals[i] +...
Hello, can someone please fix my code? It runs perfect but I'm having trouble with the index for the incorrect answer array; please run some tests to ensure the code runs properly, thank you! Here is the code: ___________________________________________________________________________________________________________________________ import java.util.Scanner; public class DriverTest{ final static int QuestionTotal = 10; public static void main(String[] args){ // scanner and answer key Scanner scan = new Scanner(System.in); final char[] answers = {'A', 'B', 'C',...
please answers to all thanks.
Alt Car Ripple Blanking in Seven-Segment Decoders 4. In the following drawings, four 741547 seven segment decoders are configured to suppress leading or trailing zeros, using the ripple-blanking feature of the decoder a. Complete each drawing to show how to interconnect the decaders to display the digits and blank displays as shown. [2 marks for each drawing: 4 marks totall b. Label each set of decoder inputs (DCBA, RBI) and output (RBO only) with the...
I need someone to fix my C Program Code
Firstly I will post the Q and the input and the outputs
Then the code
Secondly the code
===================================
#include <stdio.h>
#include <math.h>
int main()
{
double
a,b,c,d,l,x,x_0,x_1,x_mid,p_x,p_0,p_1,p_mid,E=1e-6;
int i1,i2;
printf("Enter a,b,c,d of ax^3+bx^2+cx+d=0: ");
scanf("%lf%lf%lf%lf",&a,&b,&c,&d);
x_0=-50;x_1=-50;x=-50;p_0=a*(pow(x_0,3))+b*(pow(x_0,2))+c*x_0+d;i1=0;i2=0;
do{
p_x=a*x*x*x+b*x*x+c*x+d;
l=p_x*p_0;
if(l<0){
x_1=x;}
i1=i1+1;x++;}
while(fabs(p_x)>=E &&
x<50);
if(fabs(p_x)<E){
printf("the polynominal has root...