- 博客(2)
- 收藏
- 关注
原创 数电实验,verilog实现亮灯1234
module LED_0to3_mov (clk1,bit4_output,BCD_out); //主程序 input clk1 ; //50Mhz时钟脉冲 output [3:0] bit4_output; //2-4译码器选择数字0-3 output [7:0] BCD_out; wire [1:0]out; //点亮数码管a-h wire [3:0] Y; clk200hz (clk1,clk); _2bit_plus_mc(clk,out[1:0]); u4_to_1 (out[
2022-12-09 10:36:21
1046
原创 2021-11-03
#include using namespace std; double fun(double x1){ return 3x1x1x1-2x1x1-5; } double f(double x2){ return 9x2x2-4x2; } int main(){ double x,y; cout<<“请输入x的值”; cin>>x; y=x-fun(x)/f(x); cout<<“在其附近的根x=”; printf("%.5lf",y); //控制y的输出精度。(不知道
2021-11-03 21:16:00
97
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人