#include
#include
#include
#include
使用命名空间std;
作废双时间(双L、双P双G)
voidmain)
{
setlocale(LC_ALL-Pendulum.cpp-文件处理 - IMDN开发者社群-imdn.cn" />
#include#include#include#include使用命名空间std;作废双时间(双L、双P双G)voidmain){setlocale(LC_ALL,"RUS");双L,T;双P=3.14;//КОНСТАНТА双G=9.8;//КОНСТАНТА//ДЛЯЗАДАННЫХЗНАЧЕНИЙL=100;T=time(L,P,G);cout«"ВремяколебанийприL="«L«"равно:"«T;_getch();//ДЛЯЗНАЧЕНИЙВВОДИМЫХСКЛАВИАТУРЫsystem("cls");cout«"DведитеL=";cin»L;T=time(L,P,G);cout«"ВремяколебанийприL="«L«"равно:"«T;_getch();返回0;}作废双时间(双L、双P双G){双M;双P=3.14;//КОНСТАНТА双G=9.8;//КОНСТАНТАM=2*P*sqrt(L/G);//ПЕРИОДКОЛЕБАНИЙ返回M;}-IMDN开发者社群-imdn.cn">
#include#include#include#include使用命名空间std;作废双时间(双L、双P双G)voidmain){setlocale(LC_ALL,"RUS");双L,T;双P=3.14;//КОНСТАНТА双G=9.8;//КОНСТАНТА//ДЛЯЗАДАННЫХЗНАЧЕНИЙL=100;T=time(L,P,G);cout«"ВремяколебанийприL="«L«"равно:"«T;_getch();//ДЛЯЗНАЧЕНИЙВВОДИМЫХСКЛАВИАТУРЫsystem("cls");cout«"DведитеL=";cin»L;T=time(L,P,G);cout«"ВремяколебанийприL="«L«"равно:"«T;_getch();返回0;}作废双时间(双L、双P双G){双M;双P=3.14;//КОНСТАНТА双G=9.8;//КОНСТАНТАM=2*P*sqrt(L/G);//ПЕРИОДКОЛЕБАНИЙ返回M;} - IMDN开发者社群-imdn.cn">
于 2022-03-13 发布
文件大小:2.46 kB
0 188
#include"stdafx.h"
#include < iostream >
#include < conio.h >
#include < locale.h >
#include < stdio.h >
#include < math.h >
使用命名空间 std ;
作废双时间 (双 L、 双 P 双 G)
void main)
{
setlocale (LC_ALL,"RUS") ;
双 L,T;
双 P = 3.14 ;/ / КОНСТАНТА
双 G = 9.8 ;/ / КОНСТАНТА
//ДЛЯ ЗАДАННЫХ ЗНАЧЕНИЙ
L = 100 ;
T=time(L,P,G) ;
cout «"Время колебаний при L ="«L «"равно:"«T;
_getch() ;
//ДЛЯ ЗНАЧЕНИЙ ВВОДИМЫХ С КЛАВИАТУРЫ
system("cls") ;
cout «"Dведите L =";
cin» L;
T=time(L,P,G) ;
cout «"Время колебаний при L ="«L «"равно:"«T;
_getch() ;
返回 0 ;
}
作废双时间 (双 L、 双 P 双 G)
{
双 M;
双 P = 3.14 ;/ / КОНСТАНТА
双 G = 9.8 ;/ / КОНСТАНТА
M=2*P*sqrt(L/G) ;/ / ПЕРИОД КОЛЕБАНИЙ
返回 M;
}
下载说明:请别用迅雷下载,失败请重下,重下不扣分!
把文 本文 件 ,转换成数组,以换行回车符作为间隔。
在做多国语言显示的时候会有所帮助。...
把文本文件,转换成数组,以换行回车符作为间隔。
在做多国语言显示的时候会有所帮助。-The text file into an array to wrap as a carriage return interval. In multiple languages to do when the show will be helpful.
2022-06-15 13:09:59下载
积分:1
arm嵌入式平台下保存avi文 件 的代码
q嵌入式平台下保存avi格式的代码,简单明了。
使用了ffmpeg库,源码在arm交叉编译环境下编译通过,适合arm v7架构直接使用。
2022-01-26 03:03:57下载
积分:1
程序运行过程中,鼠标位置的记录与重演
GetCursorPos/SetCursorPos,fwrite/fread...
程序运行过程中,鼠标位置的记录与重演
GetCursorPos/SetCursorPos,fwrite/fread-running process, the position of the mouse and a repeat of the record GetCursorPos/SetCursorPos, fwrite/fread
2022-07-01 01:06:38下载
积分:1
该代码例子提供了一个对文 件 进行压缩和解压文 件 操作过程
该代码例子提供了一个对文件进行压缩和解压文件操作过程-The code provides an example of the documents to document compression and decompression operation
2022-01-25 22:40:36下载
积分:1
Operation of the use of memory
利用内存映射操作文件,读入内存后,逐行处理,希望有点用-Operation of the use of memory-mapped files, read into the memory after the processing line by line, I hope a little bit with
2023-07-30 18:55:02下载
积分:1
回收站监视本程序只设置对C:有效,删除C:的。。。。可以监控用户可设置为其它盘...
回收站监视本程序只设置对C:有效,删除C:的。。。。可以监控用户可设置为其它盘
2022-03-22 15:23:22下载
积分:1
Times the software can encrypt documents, to ensure that information security do...
次软件可以给文件进行加密,确保文件信息的安全.-Times the software can encrypt documents, to ensure that information security documents.
2022-07-07 12:25:40下载
积分:1
数字 CMOS VLSI 设计方法
这解释数字 CMOS VLSI 设计方法中的全部细节。它描述了数字 CMOS 集成电路和细节设计方面。A 必须为研究生。
2022-06-03 20:32:34下载
积分:1
FTP client for file and folder enumeration and populate the list box and then up...
用于FTP客户端文件和文件夹的列举并填入列表框中然后上传,和下载-FTP client for file and folder enumeration and populate the list box and then upload, and download
2022-08-16 14:21:14下载
积分:1
分散索引的虚拟文 件 系统
分散索引的虚拟文件系统-scattered Index Virtual File System
2022-12-05 17:30:03下载
积分:1