登录
首页 » C# »

于 2022-03-07 发布 文件大小:1.22 kB
0 119
下载积分: 2 下载次数: 1

代码说明:

1-2 实系数复变多项式问题« 编程任务:给定阶数分别为n和m的实系数复变多项式f(x) 和g(x),以及复数z,计算f (z) / g(z)的值。« 数据输入:由文件input.txt 给出输入数据。第一行有2 个正整数g(x) 的阶数。接下来的2行,每行分别有n和m个实数数。最后一行的2 个实数分别表示复数z 的实部和虚部。« 结果输出:将计算出的f (z) / g(z)的值输出到文件output.txt。文件的第一行是计算得到的复数,保留6 位有效数字。注意输出的结果应该符合数学中手写习惯。例如,当复数z 的实部和虚部分别为2 和1 时,应该输出2+i,而不是2+1i。输入文件示例 输出文件示例input.txt output.txt2 11 2 32 23.5 0.5-1-2 polynomial coefficients complex issues laquo; Programming tasks : to set the order of n and m is the coefficient of complex polynomials f (x) and g (x), and the plural z, calculated f (z)/g (z) values. Laquo; Data input : from the document input.txt given input data. The first trip had two positive integers g (x) of the Order. The next two firms, each trip respectively n and m really count. The last line of the two real plural z respectively, said the real and imaginary parts. Laquo; Results output : to calculate the f (z)/g (z) the value of the output to a file output.txt. The document is the first line of the complex calculat

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • recttracker
    这个是MFC中关于tracker应用的一些技巧。实现拖动,放大缩小(it s about tracker in mfc!)
    2009-04-30 10:37:04下载
    积分:1
  • PlatFormSetup
    [C#]自己用c#做的一个小工具平台 本系统使用软件VS2005采用C#+xml操作数据,使用之前请确定你的机器上安有.NET Fraework2.0 本系统主要实现了上网,快速启动程序,备忘录,记事,QQ,网站记录,观看记录等功能 ([C#] Themselves with c# Make a small tool platform for the system using software VS2005 using C#+ Xml operating data, prior to use Make sure your machine has an. NET Fraework2.0 realize this system is mainly the Internet, Quick Start program, memos, notes, QQ, web logs, records and other functions Views)
    2008-05-23 10:39:54下载
    积分:1
  • DS18B20
    面向51单片机的DS18B20的温度传感器的c语言程序(MCU 51 for the temperature sensor DS18B20 c language program)
    2011-06-04 08:25:18下载
    积分:1
  • C.rar
    常用算法程序集(C语言描述) 第三版 (PDF高清电子书+附书源码打包).rar(Commonly used algorithm assembly (C language description) Third Edition (PDF e-book+ HD package attached to the book source code). Rar)
    2010-07-20 15:41:44下载
    积分:1
  • hunhebiancheng_123
    matlab与CC++混合编程程序,可以参考下,适合初学者(matlab and C C++ mixed programming program, you can refer to, for beginners)
    2013-07-12 12:27:54下载
    积分:1
  • manageSystem (4)
    学生选课、查看成绩,老师修改提交学生成绩。(student manage system)
    2018-06-14 23:20:01下载
    积分:1
  • DBSCAN-master
    可以用dbscan算法对二维数据进行聚类分析,从而找出离群异常点(We can use DBSCAN algorithm to cluster two-dimensional data to find outliers.)
    2019-03-20 12:28:44下载
    积分:1
  • 基于mcp2515CAN总线发送源程序
    基于51单片机实现简单的CAN总线发送程序,
    2022-02-01 07:02:00下载
    积分:1
  • regtonfatodfa
    正则表达式转换为NFA再转换为DFA,并附原理介绍(Regular expression is converted to NFA and then convert the DFA, with the principle of introduction)
    2020-11-08 19:59:48下载
    积分:1
  • AVR_PWM
    用AVR单片机Atmega16产生两路互补的PWM波去控制全桥逆变电路的程序(Two complementary PWM wave to control full-bridge inverter circuit program with AVR Atmega16)
    2012-11-01 09:39:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载