Engineering analysis
218221 questions • Page 3953 / 4365
Write a Matlab code that will generate a random number, which can take only two
Write a Matlab code that will generate a random number, which can take only two possible values H (representing a heads outcome in a random coin toss) and T (representing a tails …
Write a Matlab code: 2. Using normalized units, the potential associated with a
Write a Matlab code: 2. Using normalized units, the potential associated with a charge q1 is V = q1/r, where r is the distance from the charge. Consider a situation for which a po…
Write a Matlab function called sine_Taylor that inputs a positive integer n, a n
Write a Matlab function called sine_Taylor that inputs a positive integer n, a number x, and outputs the nth Taylor polynomial of the sine function. Compute the absolute and error…
Write a Matlab function called sine_Taylor that inputs a positive integer n, a n
Write a Matlab function called sine_Taylor that inputs a positive integer n, a number x, and outputs the nth Taylor polynomial of the sine function. Compute the absolute and error…
Write a Matlab function mindistance=findclosest(pointset,testpoint). For this fu
Write a Matlab function mindistance=findclosest(pointset,testpoint). For this function, the array pointset may have any number of rows, and has two columns; each row gives the loc…
Write a Matlab function that interpolates 4 points, {(x1,y1), (x2,y2), (x3,y3),
Write a Matlab function that interpolates 4 points, {(x1,y1), (x2,y2), (x3,y3), (x4,y4)}, using three cubic splines with zero-derivative clamping at the end points. The function s…
Write a Matlab function that interpolates 4 points, {(x1,y1), (x2,y2), (x3,y3),
Write a Matlab function that interpolates 4 points, {(x1,y1), (x2,y2), (x3,y3), (x4,y4)}, using three cubic splines with zero-derivative clamping at the end points. The function s…
Write a Matlab function to solve given Case Study by using False Position Method
Write a Matlab function to solve given Case Study by using False Position Method 5.6 CASE STUDY GREENHOUSE GASES AND RAINWATER Background. It is well documented that the atmospher…
Write a Matlab function, called mysum that inputs the integer n and outputs the
Write a Matlab function, called mysum that inputs the integer n and outputs the sum of the first n integers. Use a for loop to compute the sum - don't use Matlab's built in functi…
Write a Matlab program called fibfast.m to determine the largest value of n for
Write a Matlab program called fibfast.m to determine the largest value of n for style="color: rgb(86, 75, 71); font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; …
Write a Matlab program called iterate.m which plots the curves y=x and y=cos(x)
Write a Matlab program called iterate.m which plots the curves y=x and y=cos(x) on the same plot for x values between 0 and 1.5, then uses iteration to find the solution with x>…
Write a Matlab program that takes in as an input up to 4 polygon vertices in Car
Write a Matlab program that takes in as an input up to 4 polygon vertices in Cartesian coordinates (x, y). It should also take as an input a matrix that can describe any of the fo…
Write a Matlab program to solve this game: 1) 100 children stand in a line, and
Write a Matlab program to solve this game: 1) 100 children stand in a line, and the first child has a basket full of sticks. None of the others have a stick. 2) Starting with the …
Write a Matlab program to solve this game: 1) 100 children stand in a line, and
Write a Matlab program to solve this game: 1) 100 children stand in a line, and the first child has a basket full of sticks. None of the others have a stick. 2) Starting with the …
Write a Matlab script file that creates a graph of the 555 IC timer output as sh
Write a Matlab script file that creates a graph of the 555 IC timer output as shown below. Operation of the 555 Timer: The output of the 555 timer is controlled by the charge on t…
Write a Matlab script that answers the following questions. \"Divide and average
Write a Matlab script that answers the following questions. "Divide and average", an old-time method for approximating the square root of any positive number "a", can be formulate…
Write a Matlab script that asks a group of up to 50 members to enter their heigh
Write a Matlab script that asks a group of up to 50 members to enter their height (in cm) and their weight (in kg). The script should work as follows: Prompt the user to enter the…
Write a Matlab script that asks a group of up to 50 members to enter their heigh
Write a Matlab script that asks a group of up to 50 members to enter their height (in cm) and their weight (in kg). The script should work as follows: Prompt the user to enter the…
Write a Matlab script to assist in plot reading from a plot that is available as
Write a Matlab script to assist in plot reading from a plot that is available as an image file. This shall include Reading the plot from the image file located in the same folder …
Write a Matlab script to choose from the rand), round), fix(), ceil), floor), an
Write a Matlab script to choose from the rand), round), fix(), ceil), floor), and hist) functions (no other functions are allowed) to generate (a) a vector of 100000 random real n…
Write a Monte Carlo simulation using Matlab to evaluate the bit error rate (BER)
Write a Monte Carlo simulation using Matlab to evaluate the bit error rate (BER) for a baseband binary unipolar PAM signal transmitted over an AWGN channel. The unipolar signal sy…
Write a MplabX IDE PIC10f200 code that work with three LEDs red, blue and green
Write a MplabX IDE PIC10f200 code that work with three LEDs red, blue and green as a mood light.( mood light has 7 colors. When all the leds terns on we will get white color, gree…
Write a PIC16F877A assembler subroutine called “Mul_8x8” to multiply register Nu
Write a PIC16F877A assembler subroutine called “Mul_8x8” to multiply register Numb1 in memory location 20h, with register Numb2 in memory location 21h. The least significant byte …
Write a PICmicro Assembly code that does the following: Accepts temperature in C
Write a PICmicro Assembly code that does the following: Accepts temperature in Centigrade ranging from 0 to 127 oC on Port A. Output the temperature in Fahrenheit ranging from 1 t…
Write a Program in C that reads two strings (1000 characters). The program shoul
Write a Program in C that reads two strings (1000 characters). The program should work in Linux and wrote in C not C++. It should give a count for the Contain Count. Contain case …
Write a Program in C that reads two strings. The program should work in Linux an
Write a Program in C that reads two strings. The program should work in Linux and wrote in C not C++. It should give a count for the data below. Position Count with case and no ca…
Write a Python program that reads keyboard input from the user, whom is asked to
Write a Python program that reads keyboard input from the user, whom is asked to enter an x and y coordinate. The program should define a function, Location(x, y), that takes the …
Write a Racket program that implements the following game. You ask your friend t
Write a Racket program that implements the following game. You ask your friend to write down an integer between 1 and 100 but keep it hidden from you. You then execute your progra…
Write a Scilab script that takes no inputs and displays the following informatio
Write a Scilab script that takes no inputs and displays the following information. Use the colon operator or the linspace() function to create a row vector named ‘X’ that goes fro…
Write a VHDL code for the register module which has the following features: Para
Write a VHDL code for the register module which has the following features: Parameters: - the size of the word to store, in bits. To be called n. - the value to which the register…
Write a VHDL code of digital safe lock. 4 bits digit code and green light indica
Write a VHDL code of digital safe lock. 4 bits digit code and green light indicate safe is open and red light indicate safe is locked After three wrong trials alarm rings and clos…
Write a VHDL code of digital safe lock. 4 bits digit code and green light indica
Write a VHDL code of digital safe lock. 4 bits digit code and green light indicate safe is open and red light indicate safe is locked After three wrong trials alarm rings and clos…
Write a VHDL file to implement a binary coded decimal decoder from 4 to 10 with
Write a VHDL file to implement a binary coded decimal decoder from 4 to 10 with active high outputs. The truth table for the decoder is Inputs Outputs D C B A D9 D8 D7 D6 D5 D4 D3…
Write a VHDL model and simulate an 8-bit adder/subtractor unit with overflow det
Write a VHDL model and simulate an 8-bit adder/subtractor unit with overflow detection using three 4-bit carry select adders. Each carry select adder stage must be designed using …
Write a VHDL module to design an 8 bit shift is described as follows: It has 8-
Write a VHDL module to design an 8 bit shift is described as follows: It has 8- bit input 8- bit output Q, an active low asynchronous reset, a clock and two control bits S1S2. It …
Write a VHDL module to design an 8 bit shift is described as follows: It has 8-
Write a VHDL module to design an 8 bit shift is described as follows: It has 8- bit input 8- bit output Q, an active low asynchronous reset, a clock and two control bits S1S2. It …
Write a VHDL or verilog program for an 8 bit LFSR structure which generates all
Write a VHDL or verilog program for an 8 bit LFSR structure which generates all values in a range from 1 to 255 in a pseudo random way. To avoid the LFSR being stalled at 0, the i…
Write a VHDL program to create an n-bit register with the following specificatio
Write a VHDL program to create an n-bit register with the following specifications. The input signals must be... 1) select 2) clock 3) enable_out 3) date_in The output signal is d…
Write a VHDL program to create an n-bit register with the following specificatio
Write a VHDL program to create an n-bit register with the following specifications. Please answer the question in exactly the manner it is stated, otherwise the solution is not he…
Write a Verilog code for subtracting two 12-bit numbers in 2’s complement. Subtr
Write a Verilog code for subtracting two 12-bit numbers in 2’s complement. Subtract 6 bits at a time to pipeline your design. Compete the following Verilog code and write a test b…
Write a Verilog code for subtracting two 12-bit numbers in 2’s complement. Subtr
Write a Verilog code for subtracting two 12-bit numbers in 2’s complement. Subtract 6 bits at a time to pipeline your design. Compete the following Verilog code and write a test b…
Write a Verilog code that implements function f(A, B, C) = A\'.B.C + A.B.C. Solu
Write a Verilog code that implements function f(A, B, C) = A'.B.C + A.B.C. Solution: //Problem 1S. f(A, B, C) = A'.B.C + A.B.C. //-------------------------------------------------…
Write a WinMIPS64 code to determine whether a given number is an Armstrong numbe
Write a WinMIPS64 code to determine whether a given number is an Armstrong number. The n-digit numbers equal to sum of nth powers of their digits (a finite sequence), called Armst…
Write a Z80assembly program Write a Z80assembly program Solution 1. Here is the
Write a Z80assembly program Write a Z80assembly program
Write a bare-metal program C program for the CC3200 LAUNCHPAD that does the foll
Write a bare-metal program C program for the CC3200 LAUNCHPAD that does the following: - Initially all the LEDs are off. - Turns the green LED when the user presses once on SW2 an…
Write a bare-metal program C program for the CC3200 LAUNCHPAD that does the foll
Write a bare-metal program C program for the CC3200 LAUNCHPAD that does the following: - Initially all the LEDs are off. - Turns the green LED when the user presses once on SW2 an…
Write a behavioral Verilog Design Module for a circuit that possesses 5 inputs a
Write a behavioral Verilog Design Module for a circuit that possesses 5 inputs and 4 outputs. The 5 inputs are mode and A0-A3. The 4 outputs are X0-X3. If mode=0, the circuit will…
Write a behavioral module for a full-adder in Verilog. Draw the block diagram fo
Write a behavioral module for a full-adder in Verilog. Draw the block diagram for an 8-bit unsigned adder. Draw the block diagram for an 8-bit unsigned multiplier. Use 8-bit rippl…
Write a brief report concerning the general problem of and software solution for
Write a brief report concerning the general problem of and software solution for managing tickets, with the ability to make and cancel reservations. Your report will consist of fo…
Write a brief statement of the Work-Energy Theorem or Kinetic Energy Theorem. (T
Write a brief statement of the Work-Energy Theorem or Kinetic Energy Theorem. (This is not the definition of work.) Consider the force-displacement graph for a spring shown. Deter…
Subject
Engineering analysis
Use Browse or pick another subject.