Commits

Panagiotis Mavrogiorgos committed 7c50785

Added statiki kai metatopiseis.

  • Participants
  • Parent commits a47e635

Comments (0)

Files changed (12)

File various/metatopiseis/New File.c

+#define MIN_AMS 205
+
+#include <tigcclib.h>
+
+void _main(void)
+{
+	double L, J1, J2, K1, K2, Q1, Q2, F1, F2, d,d1,d2,d3,d4, EI;
+	char buffer[50];
+	
+	clrscr();
+	printf("Dose to EI tou tmimatos\n");
+	EI = atof(gets(buffer));
+	printf("\nDose to mikos L\n");
+	L = atof(gets(buffer));
+	printf("\nDose to Mar,1 (KNm)\n");
+	J1 = atof(gets(buffer));
+	printf("\nDose to Mdex,1 (KNm)\n");
+	J2 = atof(gets(buffer));
+	printf("\nDose to Q1 (KN/m)\n");
+	Q1 = atof(gets(buffer));
+	printf("\nDose to Mar,2 (KNm)\n");
+	K1 = atof(gets(buffer));
+	printf("\nDose to Mdex,2 (KNm)\n");
+	K2 = atof(gets(buffer));
+	printf("\nDose to Q2 (KN/m)\n");
+	Q2 = atof(gets(buffer));
+	ngetchx();clrscr();	
+	F1 = Q1 * L * L / 8;
+	F2 = Q2 * L * L / 8;
+	
+	//printf("F1=%f\nF2=%f",F1,F2);
+	
+	//ngetchx();clrscr();
+	
+	d1 = (J1 * (2 * K1 + K2) + J2 * ( K1 + 2 * K2)) / 6;
+	//printf("d1=%f\n",d1);
+	d2 = F1 * ( K1 + K2) /3;
+	//printf("d2=%f\n",d2);
+	d3 = F2 * ( J1 + J2) / 3;
+	//printf("d3=%f\n",d3);	
+	d4 = 8 * F1 * F2 / 15;
+	//printf("d4=%f\n",d4);
+	//ngetchx();clrscr();	
+			
+	d = d1+d2+d3+d4;
+	printf("EId = %f",d * L / EI);
+	ngetchx();clrscr();	
+
+}

File various/metatopiseis/New File.o

Binary file added.

File various/metatopiseis/metatop.89z

Binary file added.

File various/metatopiseis/metatop.9xz

Binary file added.

File various/metatopiseis/metatop.tpr

+[Settings]
+Archive=0
+Flash OS=0
+Fargo=0
+Use Data Variable=0
+Data Variable=
+Copy Data Variable=1
+Copy Data Variable if Archived=1
+Pack=0
+Packed Variable=
+Project Name=metatop
+GCC Switches=-Os -Wall -W -Wwrite-strings -ffunction-sections -fdata-sections
+GNU Assembler Switches=
+Assembler Switches=-g -t
+Debug Info=0
+Standard Library=1
+Initialize BSS=1
+Optimize NOPs=1
+Optimize Returns=1
+Optimize Branches=1
+Optimize Moves=1
+Optimize Tests=1
+Optimize Calculations=1
+Remove Unused Sections=1
+Cut Unused Ranges=1
+Reorder Sections=1
+Merge Constants=1
+Binary Output=0
+Command Line=
+Post-Build Process=
+[Library Options]
+Use TI-89=1
+Use TI-92 Plus=1
+Use V200=1
+Optimize Calc Consts=0
+Use Kernel=0
+Use PreOS=0
+Minimum AMS Version Defined=1
+Minimum AMS Version=1.00
+Unofficial OS Support=0
+Reloc Format=AMS
+ROM Call Format=Direct
+BSS Ref Format=Kernel
+Data Ref Format=Kernel
+Use F-Line Jumps=0
+Use 4-Byte F-Line Jumps=0
+Optimize ROM Calls=0
+Use Internal F-Line Emulator=0
+Use Return Value=0
+Enable Error Return=0
+Save Screen=1
+[File Editing]
+Open File=C:\Documents and Settings\black\Desktop\TI89\statiki 1 metatopiseis\New File.c
+[Included Files]
+C File 1=New File.c

File various/metatopiseis/metatop.v2z

Binary file added.

File various/statiki 1/New File.c

+#define MIN_AMS 205
+
+#include <tigcclib.h>
+
+void _main(void)
+{
+	double L, J1, J2, K1, K2, Q1, Q2, F1, F2, d,d1,d2,d3,d4, EI;
+	char buffer[50];
+	
+	clrscr();
+	printf("Dose to EI tou tmimatos se sxesi me to EI anaforas\n");
+	EI = atof(gets(buffer));
+	printf("\nDose to mikos L\n");
+	L = atof(gets(buffer));
+	printf("\nDose to Mar,1 (KNm)\n");
+	J1 = atof(gets(buffer));
+	printf("\nDose to Mdex,1 (KNm)\n");
+	J2 = atof(gets(buffer));
+	printf("\nDose to Q1 (KN/m)\n");
+	Q1 = atof(gets(buffer));
+	printf("\nDose to Mar,2 (KNm)\n");
+	K1 = atof(gets(buffer));
+	printf("\nDose to Mdex,2 (KNm)\n");
+	K2 = atof(gets(buffer));
+	printf("\nDose to Q2 (KN/m)\n");
+	Q2 = atof(gets(buffer));
+	ngetchx();clrscr();	
+	F1 = Q1 * L * L / 8;
+	F2 = Q2 * L * L / 8;
+	
+	//printf("F1=%f\nF2=%f",F1,F2);
+	
+	//ngetchx();clrscr();
+	
+	d1 = (J1 * (2 * K1 + K2) + J2 * ( K1 + 2 * K2)) / 6;
+	//printf("d1=%f\n",d1);
+	d2 = F1 * ( K1 + K2) /3;
+	//printf("d2=%f\n",d2);
+	d3 = F2 * ( J1 + J2) / 3;
+	//printf("d3=%f\n",d3);	
+	d4 = 8 * F1 * F2 / 15;
+	//printf("d4=%f\n",d4);
+	//ngetchx();clrscr();	
+			
+	d = d1+d2+d3+d4;
+	printf("EId = %f",d * L / EI);
+	ngetchx();clrscr();	
+
+}

File various/statiki 1/New File.o

Binary file added.

File various/statiki 1/statiki.89z

Binary file added.

File various/statiki 1/statiki.9xz

Binary file added.

File various/statiki 1/statiki.tpr

+[Settings]
+Archive=0
+Flash OS=0
+Fargo=0
+Use Data Variable=0
+Data Variable=
+Copy Data Variable=1
+Copy Data Variable if Archived=1
+Pack=0
+Packed Variable=
+Project Name=statiki
+GCC Switches=-Os -Wall -W -Wwrite-strings -ffunction-sections -fdata-sections
+GNU Assembler Switches=
+Assembler Switches=-g -t
+Debug Info=0
+Standard Library=1
+Initialize BSS=1
+Optimize NOPs=1
+Optimize Returns=1
+Optimize Branches=1
+Optimize Moves=1
+Optimize Tests=1
+Optimize Calculations=1
+Remove Unused Sections=1
+Cut Unused Ranges=1
+Reorder Sections=1
+Merge Constants=1
+Binary Output=0
+Command Line=
+Post-Build Process=
+[Library Options]
+Use TI-89=1
+Use TI-92 Plus=1
+Use V200=1
+Optimize Calc Consts=0
+Use Kernel=0
+Use PreOS=0
+Minimum AMS Version Defined=1
+Minimum AMS Version=1.00
+Unofficial OS Support=0
+Reloc Format=AMS
+ROM Call Format=Direct
+BSS Ref Format=Kernel
+Data Ref Format=Kernel
+Use F-Line Jumps=0
+Use 4-Byte F-Line Jumps=0
+Optimize ROM Calls=0
+Use Internal F-Line Emulator=0
+Use Return Value=0
+Enable Error Return=0
+Save Screen=1
+[File Editing]
+Open File=E:\statiki - metatopiseis\New File.c
+[Included Files]
+C File 1=New File.c

File various/statiki 1/statiki.v2z

Binary file added.