blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
4
214
content_id
stringlengths
40
40
detected_licenses
listlengths
0
50
license_type
stringclasses
2 values
repo_name
stringlengths
6
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
21 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
141k
586M
star_events_count
int64
0
30.4k
fork_events_count
int64
0
9.67k
gha_license_id
stringclasses
8 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
50 values
src_encoding
stringclasses
23 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
1 class
length_bytes
int64
5
10.4M
extension
stringclasses
29 values
filename
stringlengths
2
96
content
stringlengths
5
10.4M
f5a8053469d5d6751fd42eea4362407243882b03
449d555969bfd7befe906877abab098c6e63a0e8
/181/CH3/EX3.2/example3_2.sce
4dd3d48fb1108c3eccb3da0520febfe53c8cd950
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,214
sce
example3_2.sce
// Find the diode currents // Basic Electronics // By Debashis De // First Edition, 2010 // Dorling Kindersley Pvt. Ltd. India // Example 3-2 in page 144 clear; clc; close; // Given data R=10*10^3; // Resistance in K-ohms // Calculation printf("(a) R = 10K.Assume both diodes are conducting.We have:\n"); printf("100 = 10.02*I1 + 10*I2 + 0.2\n 100 = 10.01*I2 + 10*I1 + 0.6\n"); function y=f(i); y(1)=10.02*i(1)+10*i(2)+0.2-100 y(2)=10.015*i(2)+10*i(1)+0.6-100 endfunction ans=fsolve([0.1;0.1],f); I1=ans([1]); I2=ans([2]); printf("I1 = %0.3f A,I2 = %0.3f A\n",I1,I2); printf("Solving,we find I2<0.Thus D is not ON\n"); I1=(100-0.2)/10.02; printf("I1 = %0.2e A and I2 = 0\n\n",I1); printf("(b) R=1K.Assume both diodes are ON,we have:\n"); printf("100 = 1.52*I1 + 1.5*I2 + 0.2\n 100 = 1.515*I2 + 1.5*I1 + 0.6\n"); function y1=g(j); y1(1)=1.52*j(1)+1.5*j(2)+0.2-100 y1(2)=1.515*j(2)+1.5*j(1)+0.6-100 endfunction ans1=fsolve([0.1;0.1],g); I1=ans1([1]); I2=ans1([2]); printf("Solving,we find\nI1 = %0.3f A and I2 = %0.3f A.Hence assumption is valid",I1,I2); // Result // Since both currents are positive,assumption is valid for I1 = 39.717 mA and I2 = 26.287 mA
21c32ca2d35d231dee8d4d7ea89a21aaf605abcf
a550430672dfb5984bd8561b894897323028b7f5
/tests/results/mis02.tst
1c6bfb051a1e4162b3f1be6b31e9d8e5abcad9f6
[]
no_license
carlosmata/LabelPropagation
c91f68489a941e6f8cfb15de478d2fe28eadbcad
2f169cc4ece49a0d0f868fee15e5eefe02bbc6df
refs/heads/master
2020-12-18T17:46:23.501020
2020-05-09T06:13:16
2020-05-09T06:13:16
235,474,033
0
0
null
null
null
null
UTF-8
Scilab
false
false
175
tst
mis02.tst
argc:7 Dataset: ../datasets/converted/lesmiserables.net Nodes Edges Com Mod NMI Time seq semisync 77 508 7 0.564045 -1 0.000195342 par semisync 77 508 8 0.54892 -1 0.082652
5c6523c7fab77aa42109623ad0902e2dcbc0ec05
449d555969bfd7befe906877abab098c6e63a0e8
/1931/CH3/EX3.12/12.sce
8c902b2e7b265fd7d21af12e9da3015689b0a624
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,007
sce
12.sce
clc clear //INPUT a=0.424;//value of one axial unit b=1;//value of second axial unit c=0.367;//value of third axial unit i1=0.212;//value at x-intercept j1=1;//value at y-intercept k1=0.183;//value at z-intercept i2=0.848;//value at x-intercept j2=1;//value at y-intercept k2=0.732;//value at z-intercept i3=0.424;//value at x-intercept j3=%inf;//value at y-intercept k3=0.123;//value at z-intercept //CALCULATIONS p1=1/(i1/a);//miller indices at x-intercept q1=1/(j1/b);//miller indices at y-intercept r1=1/(k1/c);//miller indices at z-intercept p2=1/(i2/a)*2;//miller indices at x-intercept q2=1/(j2/b)*2;//miller indices at y-intercept r2=1/(k2/c)*2;//miller indices at z-intercept p3=1/(i3/a);//miller indices at x-intercept q3=1/(j3/b);//miller indices at y-intercept r3=1/(k3/c);//miller indices at z-intercept //OUTPUT mprintf('The miller indices are (%i %i %i) \n The miller indices are (%i %i %i) \n The miller indices are (%i %i%3.0f)',p1,q1,r1,p2,q2,r2,p3,q3,r3)
74571af4f9d7ac9175a0758cebea6185e77abcad
676ffceabdfe022b6381807def2ea401302430ac
/solvers/IncNavierStokesSolver/Tests/ChanFlow_m8_Flowrate_par.tst
4075ec26d4f63341a24aaa84208054f8a84987bc
[ "MIT" ]
permissive
mathLab/ITHACA-SEM
3adf7a49567040398d758f4ee258276fee80065e
065a269e3f18f2fc9d9f4abd9d47abba14d0933b
refs/heads/master
2022-07-06T23:42:51.869689
2022-06-21T13:27:18
2022-06-21T13:27:18
136,485,665
10
5
MIT
2019-05-15T08:31:40
2018-06-07T14:01:54
Makefile
UTF-8
Scilab
false
false
915
tst
ChanFlow_m8_Flowrate_par.tst
<?xml version="1.0" encoding="utf-8" ?> <test> <description>Channel Flow P=8, flowrate driven, parallel</description> <executable>IncNavierStokesSolver</executable> <parameters>ChanFlow_m8_Flowrate.xml</parameters> <processes>3</processes> <files> <file description="Session File">ChanFlow_m8_Flowrate.xml</file> </files> <metrics> <metric type="L2" id="1"> <value variable="u" tolerance="1e-12">9.00299e-13</value> <value variable="v" tolerance="2e-12">1.84102e-13</value> <value variable="p" tolerance="1e-8">5.92475e-10</value> </metric> <metric type="Linf" id="2"> <value variable="u" tolerance="2e-12">5.93081e-13</value> <value variable="v" tolerance="4e-12">3.56319e-13</value> <value variable="p" tolerance="1e-8">9.17508e-10</value> </metric> </metrics> </test>
782c42dd9a5ea7c930bbfba6ecdf32bcf87556f9
449d555969bfd7befe906877abab098c6e63a0e8
/1529/CH2/EX2.20/2_20.sce
b2d6addcd3c39daf8acea0fea05f5316284abe38
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
497
sce
2_20.sce
//Chapter 2, Problem 20, clc; V=240; //Supply voltage P1=1000; //Power rating of Electric toaster P2=3000; //Power rating of Electric fire //Calculating fuse current for electric toaster I1=P1/V; //Calculating fuse current for electric fire I2=P2/V; I1=I1+1; I2=I2+1; printf("(i) Current in fuse for Electric toaster = %d A\n\n\n",I1); printf("(ii) Current in fuse for Electric fire = %d A\n\n\n",I2);
aef2fcf89c21d9e8fea03230c671059be0b56f35
449d555969bfd7befe906877abab098c6e63a0e8
/3788/CH5/EX5.2.3/Ex5_2_3.sce
76100e6c640f42fe1df9c0336c994c8637883d2f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
338
sce
Ex5_2_3.sce
//Example 5.2.3 //Calculate the SN ratio if CN = 10dB //Variables clc clear delFpk = 3.6 Fmax = 4.8 CN = 10 delFpeak = 3.6 //result Brf = 2*(delFpk + Fmax) SNout = CN +10*log10(Brf/Fmax) + 20*log10(delFpeak/Fmax) + 1.8 printf("The SN ratio is %f dB,if the CN ratio for \n the signal from the satellite is 10dB",SNout)
5591a45d2cc42c247067dee6d495c23dde9189f8
449d555969bfd7befe906877abab098c6e63a0e8
/1067/CH44/EX44.04/44_04.sce
98e504fe5d4d9f2e412933f0b9b6d04c69e7b2d7
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
144
sce
44_04.sce
clear; clc; j=400; N=500; w=2*%pi*N/60; w=round(w); ke=.5*j*(w^2); mprintf("the kinetic energy=%dJoules \tor\t%fKiloJoules",ke,ke/1e3);
8dc9ab1d357e089bc42738fbd6354cbd569c5440
449d555969bfd7befe906877abab098c6e63a0e8
/2384/CH11/EX11.4/ex11_4.sce
3ce9b8477674c52ba4ec7f13eaac435761dbf348
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
336
sce
ex11_4.sce
// Exa 11.4 clc; clear; close; format('v',6) // Given data Pa= 12; N= 1440;// in rpm Na= 500;// in rpm Nm= 1450;// in rpm fa= Pa*Na/120;// in Hz Pm= round(120*fa/Nm); // Synchronous speed of motor Ns= 120*fa/Pm;// in rpm s= (Ns-N)/Ns*100;// in % disp(Pm,"The numbers of pole is : ") disp(s,"The percentage slip is : ")
584f25cce5881f0525d279ac2596e0e059edd225
449d555969bfd7befe906877abab098c6e63a0e8
/671/CH5/EX5.13/5_13.sce
ae939b7b0991c692c8b8ad411d2939c8517f70ed
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
178
sce
5_13.sce
f0=1E6 Cmax=500E-12 C=450E-12 w0=2*%pi*f0 L=1/(w0*w0*Cmax) w=1/sqrt(L*C) f=w/(2*%pi) wb=2*2*%pi*(f-f0) r=wb*L Q0=2*%pi*f*L/r disp(Q0,L,r) ////////calculation mistakes in book
a1618dc63a0924aa71626103d282308e548838ca
449d555969bfd7befe906877abab098c6e63a0e8
/2276/CH6/EX6.6/chapter6_ex6.sce
b9e2ea414617c6457407eeedbf27017597b8561f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
565
sce
chapter6_ex6.sce
clc clear //input i=8-(%i*6);//current flowing in amperes z=10+(%i*10);//impedance in ohms //calculations I=(((real(i))^2)+((imag(i))^2))^0.5;//current magnitude in amperes Z=(((real(z))^2)+((imag(z))^2))^0.5;//magnitude of impedance in ohms phi1=(180/%pi)*atan(-(imag(i))/(real(i)));//phase angle of current in degrees phi2=(180/%pi)*atan(-(imag(z))/(real(z)));//phase angle of impedance in degrees phi=-(phi2+phi1); v=I*Z;//voltage across coil in volts //output mprintf('the voltage across the coil is %3.0f V leading by %3.0f degrees',v,phi)
f3344a5614bdfbf75dc418fcda54b7c37deb4e5a
449d555969bfd7befe906877abab098c6e63a0e8
/1163/CH11/EX11.4/example_11_4.sce
157a3a7d1321d97ebeee38460961271ef248b793
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
619
sce
example_11_4.sce
clear; clc; disp("--------------Example 11.4---------------") bandwidth= 1*10^6; // 1 Mbps delay = 20*10^-3; // 20 ms bandwidth_delay_product=bandwidth*delay; frame_length=1000; // each frame has 1000 bits utilization_percentage = (frame_length/bandwidth_delay_product)*100; // formula printf("\nThe bandwidth-delay product is %d. Hence the system can send %d bits during the time it takes for the data to go from\nthe sender to the receiver and then back again.\nThe utilization percentage of the link is %d percent.",bandwidth_delay_product,bandwidth_delay_product,utilization_percentage); // display result
7dd6b2f0a5943f7b86a6e27567a8cac71c6630ef
449d555969bfd7befe906877abab098c6e63a0e8
/3784/CH1/EX1.19/Ex1_19.sce
cfa6186c0b3fcfad42e2ca9acc1707a175496582
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,259
sce
Ex1_19.sce
clc // Variable Initialization Vm=230//Supply Voltage in Volts Ra=0.05//Armature circuit resistance in Ohm La=3e-3//Inductance in mH N=750//Motor speed in Rpm V=220//Rated voltage of motor in Volts a=60//firing angle in Degree I=175 //motor current in Amp f=50 //source Frequency in Hz //La=2.85 mH N2=-400 a1=120 P1=atand((2*%pi*f*La)/Ra) // In Degree Eb=V-(I*Ra) //back emf in Volts w=(2*%pi*N)/60 //Angular Speed in rad/sec K=Eb/w Cot_P1=1/(tand(P1)) Eb1=(N2/N)*Eb//Back emf in Volts Z1=sqrt((Ra^2)+((2*%pi*f*La)^2)) //Impedance In Ohm AA1=(Ra*Vm*1.414)/(K*Z1) A1=exp(-%pi*Cot_P1) Wmc1=AA1*sind(a1-P1)*((1+A1)/(A1-1))//Critical Speed in rad/Sec Wrpm1=(Wmc1*60)/(2*%pi) //speed in rpm Eb2=(Wrpm1*Eb)/N a2=150 Va=(2*1.414*Vm)*(cosd(a2))*(1/%pi) Ia=(Va-Eb2)/Ra T=K*Ia//Torque in N-m //As the torque of 400 N-m is greater than T ,hence the opertion is in Continuous conduction mode T1=400 Ia1=T1/K Eb3=Va-(Ia1*Ra) Ns=(Eb3*N)/Eb //As the torque of 400 N-m is less than T ,hence the opertion is in Discontinuous conduction mode Z=0.2716 q=V*1.414/Z //nothing is solved in textbook using numericals //By Trial and error method beta is calculated b=233.240 //Results printf('\n\n The motor Speed =%0.1f rpm \n\n',Ns)
ff9ebaf3f5246cb53db6e73698e642b05d93fb63
449d555969bfd7befe906877abab098c6e63a0e8
/2084/CH16/EX16.20w/16_20w.sce
093ddd0c218c4489ea9c31164a097d48fe661d8d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
453
sce
16_20w.sce
//developed in windows XP operating system 32bit //platform Scilab 5.4.1 clc;clear; //example 16.20w //calculation of the main frequency heard by the person //given data us=36*10^3/(60*60)//speed(in m/s) of the person on the scooter v=340//speed(in m/s) of sound in the air nu=600//frequency(in Hz) of the siren //calculation nudash=(v/(v+us))*nu//main frequency printf('the main frequency heard by the person is %d Hz',round(nudash))
ddba93b31b8b9d9acf41262a046e08de37162636
449d555969bfd7befe906877abab098c6e63a0e8
/998/CH29/EX29.77/Ex77.sce
2f59897d3b21cacfc55a40d57abfbddad8eb4de2
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
311
sce
Ex77.sce
//Ex:77 clc; clear; close; a_d=30+15;//angular difference in degree R=10000;//orbital radius in km l_s=sqrt((R^2)+(R^2)-2*(R^2)*cos(45*3.14/180)); R_tp=(2*l_s)/(3*10^5); printf("The round trip propagation delay=%f sec", R_tp); printf("\n The round trip propagation delay=%f millisec", ceil(R_tp*1000));
d5ede29bae29b85e2e10a5d54785c7894ec8b548
4b19b47d022fddca53513cde319670424e673622
/typescript-in-action/demo/DemoApp/Scripts/app/Models.tst
5483f88ad89cd25fafb441fdb0254feec3bc0964
[]
no_license
kamranayub/presentations
34382351d081bc6d34e107a99cf132e5f75c2daa
122621514c672822d821dea8ad90ba53d0e86799
refs/heads/gh-pages
2022-06-27T16:03:18.023127
2018-03-29T02:46:54
2018-03-29T02:46:54
24,372,094
2
3
null
2022-06-05T01:07:36
2014-09-23T13:17:54
HTML
UTF-8
Scilab
false
false
857
tst
Models.tst
${ using Typewriter.Extensions.Types; // Because we use IsoDateTimeConverter in JSON.NET, all dates // returned from Web API are serialized as string so we should // decorate any setters with the appropriate decorators string DateStringConverter(Property p) { if (p.Type.IsDate) { return "@DateStringConverter"; } return ""; } } import {DateStringConverter} from './Decorators' $Classes(DemoApp.Models.*)[ export class $Name { $Properties[ private _$name: $Type = $Type[$Default]; public get $name(): $Type { return this._$name; } $DateStringConverter public set $name(value: $Type) { this._$name = value; }] public static fromJson(model: any): $Name { var o = new $Name(); $Properties[ o.$name = model.$name;] return o; } }]
c1429e8c6f02903e8677f102f53d3912db15ea2e
449d555969bfd7befe906877abab098c6e63a0e8
/2465/CH17/EX17.5/Example_5.sce
81bbb40e5fc4fd001949fdf3490c3399a67c1627
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
505
sce
Example_5.sce
//Chapter-17,Example 5,Page 370 clc(); close(); v= 50000 //volume of water m1 = 84 //mass of MgCO3 m2 = 100 //mass of CaCO3 m3 = 95 //mass of MgCl2 m4 = 111 //mass of CaCl2 amnt_1 = 144 //amount of MgCO3 in ppm amnt_2 = 25 //amount of CaCO3 in ppm amnt_3 = 95 //amount of MgCl2 in ppm amnt_4 = 111 //amount of CaCl2 in ppm lime = (74/100)*[2*(amnt_1*100/m1)+(amnt_2*100/m2)+(amnt_3*100/m3)]*v printf("the lime required is = %.3f mg",lime)
6bf2daa4d423015ebb7f4fc6d3b7bb9adfd880f2
449d555969bfd7befe906877abab098c6e63a0e8
/3588/CH7/EX7.5/EX7_5.sce
7cab142766c7aaf746a95999913c383950fcd883
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
2,831
sce
EX7_5.sce
//Clearing console clc clear //Intializing Variables h = 50 kx = 20 ky = 20 a = 0.5/12 b = 0.5/12 t = 0.5/12 Ta = 68 T(1,1) = 180 T(2,1) = 180 T(3,1) = 180 //Surface Convection stiffness matrix from problem EX7.4 k = [0.6327160 -0.1003086 -0.2584877 -0.1003086;-0.1003086 0.6327160 -0.1003086 -0.2584877;-0.2584877 -0.1003086 0.6327160 -0.1003086;-0.1003086 -0.2584877 -0.1003086 0.6327160] k1 = integrate('(1-r)^2','r',-1,1) k2 = integrate('(1+r)^2','r',-1,1) k3 = integrate('1-r^2','r',-1,1) //Edge Convection stiffness matrix and force vector k1h = (h*t*a/4)*[k1 k3 0 0;k3 k2 0 0;0 0 0 0;0 0 0 0] f1h = (h*t*Ta*a/2)*[2;2;0;0] k2h = (h*t*a/4)*[k1 k3 0 0;k3 k2 0 0;0 0 0 0;0 0 0 0]+(h*t*b/4)*[0 0 0 0;0 k1 k3 0;0 k3 k2 0;0 0 0 0] f2h = (h*t*Ta*a/2)*[2;4;2;0] k3h = (h*t*a/4)*[0 0 0 0;0 k1 k3 0;0 k3 k1+k2 k3;0 0 k3 k2] f3h = (h*t*Ta*a/2)*[0;2;4;2] k4h = (h*t*a/4)*[0 0 0 0;0 0 0 0;0 0 k1 k3;0 0 k3 k2] f4h = (h*t*Ta*a/2)*[0;0;2;2] //Surface Convection force vector feh = (h*t*Ta*a/2)*[4;4;4;4] //Constructing Elemental stiffness matrices k1 = k1h + k k2 = k2h + k k3 = k3h + k k4 = k4h + k //Constructing elemental force vectors f1 = f1h + feh f2 = f2h + feh f3 = f3h + feh f4 = f4h + feh //Constructing Global stiffness matrix K(1,1:9) = [k1(1,1) k1(1,4) 0 k1(1,2) k1(1,3) 0 0 0 0] K(2,1:9) = [k1(4,1) k1(4,4)+k4(1,1) k4(1,4) k1(4,2) k1(4,3)+k4(1,2) k4(1,3) 0 0 0] K(3,1:9) = [0 k4(4,1) k4(4,4) 0 k4(4,2) k4(4,3) 0 0 0] K(4,1:9) = [k1(2,1) k1(2,4) 0 k1(2,2)+k2(1,1) k1(2,3)+k2(1,4) 0 k2(1,2) k2(1,3) 0] K(5,1:9) = [k1(3,1) k1(3,4)+k4(2,1) k4(2,4) k1(3,2)+k2(4,1) k1(3,3)+k2(4,4)+k3(1,1)+k4(2,2) k3(1,4)+k4(2,3) k2(4,2) k2(4,3)+k3(1,2) k3(1,3)] K(6,1:9) = [0 k4(3,1) k4(3,4) 0 k3(4,1)+k4(3,2) k3(4,4)+k4(3,3) 0 k3(4,2) k3(4,3)] K(7,1:9) = [0 0 0 k2(2,1) k2(2,4) 0 k2(2,2) k2(2,3) 0] K(8,1:9) = [0 0 0 k2(3,1) k2(3,4)+k3(2,1) k3(2,4) k2(3,2) k2(3,3)+k3(2,2) k3(2,3)] K(9,1:9) = [0 0 0 0 k3(3,1) k3(3,4) 0 k3(3,2) k3(3,3)] //Constructing Global force vector F(4,1) = f1(2,1) +f2(1,1) F(5,1) = f1(3,1) +f2(4,1)+f3(1,1)+f4(2,1) F(6,1) = f3(4,1) +f4(3,1) F(7,1) = f2(2,1) F(8,1) = f2(3,1) +f3(2,1) F(9,1) = f3(3,1) //Resulting force vector by accounting for T1=T2=T3=180 Fd(4:9,1) = F(4:9,1) - K(4:9,1:3)*T(1:3,1) //Solving for Temperatures T(4:9,1)=linsolve(K(4:9,4:9),-Fd(4:9,1)) //Sovling for heat at node 1 2 and 3 F(1:3,1) = K(1:3,1:9)*T //Sovling for heat flow at node 1 2 and 3 F1 = F(1,1) - f1(1,1) F2 = F(2,1) -35.4168 F3 = F(3,1)-f4(4,1) printf('\nResults\n') printf('\nNode-Temperatures \nT1=%f◦F \nT2=%f◦F \nT3=%f◦F \nT4=%f◦F \nT5=%f◦F \nT6=%f◦F \nT7=%f◦F \nT8=%f◦F \nT9=%f◦F',T(1,1),T(2,1),T(3,1),T(4,1),T(5,1),T(6,1),T(7,1),T(8,1),T(9,1)) printf('\nHeat flow at node-1 \nF1=%fBtu/hr',F1) printf('\nHeat flow at node-2 \nF2=%fBtu/hr',F2) printf('\nHeat flow at node-3 \nF3=%fBtu/hr',F3)
2825b3e62eb2d5fbbee25f1a45a337b8a4b3ef26
449d555969bfd7befe906877abab098c6e63a0e8
/2075/CH1/EX1.11/pe1_11.sce
5ed79f28538dc3f16a4f013bb4c18aa27785b13a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
363
sce
pe1_11.sce
//exapple 1.11 clc; funcprot(0); // Initialization of Variable Vin=4.5; R1=1100; R2=10000; G1=3.4//gain 1 G2=120//gain 2 //calculation Ir=Vin/R1; disp(Ir*1000,"output current in mA:") Vo=Ir*(R1+R2); disp(Vo,"output voltage in V:") Vuo1=Vo/G1; disp(Vuo1,"gain output voltage 1 in V:") Vuo2=Vo/G2; disp(Vuo2,"gain output voltage 2 in V:") clear()
5edfb44f9aa7f9f08eac6bfa69c0eaef1bd8376f
449d555969bfd7befe906877abab098c6e63a0e8
/1571/CH3/EX3.11/Chapter3_Example11.sce
eb685fde7b8cb3b7b398174fddd6dff2beab7e38
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
334
sce
Chapter3_Example11.sce
clc clear //INPUT DATA h=5000;//height of the niagara falls in cm J=4.2*10^7;//joules constant in ergs per cal g=981;//accelaration due to gravity in cm/sec^2 //CALCULATIIONS w=h*g;//work done per unit mass in ergs/gn T=w/J;//rise in temperature in deg.C //OUTPUT mprintf('the rise in temperature is %3.2f deg.C',T)
51dbbbdce9c3384fcd30cc0e1bab2ce649df3928
08bfc8a1f8e44adc624d1f1c6250a3d9635f99de
/SDKs/swig/Examples/test-suite/scilab/global_vars_runme.sci
e024123e4d35e49ef5c032cce35079332dcd4d51
[]
no_license
Personwithhat/CE_SDKs
cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02
7afbd2f7767c9c5e95912a1af42b37c24d57f0d4
refs/heads/master
2020-04-09T22:14:56.917176
2019-07-04T00:19:11
2019-07-04T00:19:11
160,623,495
0
0
null
null
null
null
UTF-8
Scilab
false
false
128
sci
global_vars_runme.sci
version https://git-lfs.github.com/spec/v1 oid sha256:d7dc5d796b2882c691102e220438dfe1162bee6621cf1b42523d62671f00469f size 617
a69667e9d58014b7fd4ac660bca902caf01ba00c
592b1b7dfaefd62d755737ac7b6e81f44f7786ba
/2d Program to solve algebraic and transcendental equation by Newton Raphson.sce
a5563af70fe565e70786d8c4b12ba632f4036f2b
[]
no_license
muitnet/Numerical-and-Statistical-Methods-sem2-fybscit-mumbai-university
841143b72d52229c68bcd0666ed10c844c02f507
2d1c638b881f3e418a982baa02632effd03ae5fe
refs/heads/master
2021-01-19T07:23:05.463429
2017-04-07T11:54:24
2017-04-07T11:54:24
87,540,712
6
5
null
null
null
null
UTF-8
Scilab
false
false
369
sce
2d Program to solve algebraic and transcendental equation by Newton Raphson.sce
deff('y=f(x)','y=sin(x)-x/2'); deff('y1=f1(x)','y1=cos(x)-1/2'); x0=2, d=0.0001; c=0;n=1; printf('successive iterations \tx0 \tf(x0) \tf1(x0) \n'); while n==1 x2=x0; x1=x0-(f(x0)/f1(x0)); x0=x1; printf('\t%f \t%f \t%f \n',x2,f(x1),f(x1)); c=c+1; if abs (f(x0))<d break; end end printf(' the root of %i iteration is : %f',c,x0);
50bf2f84d92e7ac98fb8f6badfe2252623e896f7
449d555969bfd7befe906877abab098c6e63a0e8
/1319/CH8/EX8.5/8_5.sce
0a2915010814e6676b24f2cfcfb9effb2c7e06bc
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
967
sce
8_5.sce
//Tapping of an auto transformer to limit current in squirrel cage motor clc; clear; V=400; // Line to line voltage Vph=V/sqrt(3); // Phase voltage Z=1.54; // Standstill impedance Ifl=30;// Full Load Current Imax=75; // Max current which can be taken by the line s=4/100; // Full load slip t=poly([0 1],'t','c'); // Variable for tapping percent of normal voltage Is=t*(Vph/(100*Z)); // Starting current in the motor Ias=(t/100)*Is; // Current on supply side of the auto transformer Tap=Ias-Imax; // Equation to find t t=roots(Tap);// Numerical Value for t if(imag(sqrt(t(1)))) t=t(2); else t=t(1); end Ism=Imax*100/t; // Starting current in the motor (Numerical Value) st=((Ism/Ifl)^2)*s; // Starting torque to full load torque ratio printf('The tapping provided to the auto transformer = %g percent of Normal Voltage \n',t) printf('The starting torque available is %g times the full load torque \n',st)
bda0b90a608d9d995d8d01100288d1644fd53558
449d555969bfd7befe906877abab098c6e63a0e8
/1682/CH16/EX16.3/Exa16_3.sce
82b2b5de8cb817d40327d13e85ecc17407d30bf5
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,383
sce
Exa16_3.sce
//Exa 16.3 clc; clear; close; //given data : disp("Given the following LP model :") disp("maximize Z = 6*X1 + 8*X2"); disp("subject to"); disp("5*X1+10*X2 <= 60"); disp("4*X1+4*X2 <= 40"); disp("X1,X2 >= 0"); disp("The introduction of non-negative constraints X1>=0 and X2>=0 will eliminate the 2nd, 3rd and 4th quadrants of XY plane."); disp("Compute the cordinates to plot equations relting to the constraints on the XY plane as shown below : "); disp("5*X1+10*X2 <= 60"); disp("When X1=0 : X2=6"); disp("When X2=0 : X1=12"); X1=0:12; X2=(60-5*X1)/10; plot2d(X1,X2); disp("Consider the 2nd constraint in the form :"); disp("4*X1+4*X2 <= 40"); disp("When X1=0 : X2=10"); disp("When X2=0 : X1=10"); X1=0:10; X2=(40-4*X1)/4; plot2d(X1,X2); disp("The closed polygon is the feasible region at each of the corner points of the closed polygon is computed as follows by substituting its coordinates in the objective function :"); ZA=6*0+8*0; ZB=6*10+8*0; ZC=6*8+8*2; ZD=6*0+8*6; disp("ZA=6*0+8*0=0... ZB=6*10+8*0=60... ZC=6*8+8*2=64... ZD=6*0+8*6=48"); disp("Since the type of the objective function is maximization, the solution corresponding to the maximum Z value should be selected as the optimum solution. The Z value is maximum for the corner point C. Hence, the corresponding solution is "); disp("X1 = 8 X2 = 2 and Z(Optimum) = 64");
2b8d6898a4d2ec65c0c731dbd6c8ba93cd369ca1
449d555969bfd7befe906877abab098c6e63a0e8
/647/CH6/EX6.10/Example6_10.sce
858ef695ec5d8f94627b513068de0877f1ac87b5
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
441
sce
Example6_10.sce
clear; clc; // Example: 6.10 // Page: 218 printf("Example: 6.10 - Page: 218\n\n"); // Mathematics is involved in proving but just that no numerical computations are involved. // For prove refer to this example 6.10 on page number 218 of the book. printf(" Mathematics is involved in proving but just that no numerical computations are involved.\n\n"); printf(" For prove refer to this example 6.10 on page 218 of the book.");
b30d71bee5e72526c90a8c0a1370aeb1d0b024be
449d555969bfd7befe906877abab098c6e63a0e8
/608/CH9/EX9.12/9_12.sce
00aec320ed0ce416e0d4b0cf01896d978ab37457
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
649
sce
9_12.sce
//Problem 9.12: A flux of 25 mWb links with a 1500 turn coil when a current of 3 A passes through the coil. Calculate (a) the inductance of the coil, (b) the energy stored in the magnetic field, and (c) the average e.m.f. induced if the current falls to zero in 150 ms. //initializing the variables: I1 = 3; // in Amperes I2 = 0; // in Amperes dt = 0.150; // in secs N = 1500; //turns Phi = 0.025; // in Wb //calculation: L = N*Phi/I1 W = L*I1*I1/2 dI = I1 - I2 E = -1*L*dI/dt printf("\n\n Result \n\n") printf("\n (a)Inductance L = %.1f H",L) printf("\n (b)energy stored W = %.2f J",W) printf("\n (c)e.m.f. induced = %.0f V",E)
cd606573fea17ae25a18d3d3acfc6ae12bd75fb3
16f807178d75bf8f92b14bf909e62d286193cc13
/edsonjmodif.sce
eebe5d60be17e3f301ac1228fa4e68fb4a8b8253
[]
no_license
renzo-source/LABORATORIO-03-Linealizaci-n-num-rica-del-sistema-MoDiCA-X
11440801c8552f7f613fca0b05be21a8b6ccbab4
d6a990da1a41b86f726620c28c1af1da5d50c0d7
refs/heads/master
2022-12-04T17:48:33.145635
2020-08-16T04:13:16
2020-08-16T04:13:16
279,112,222
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,141
sce
edsonjmodif.sce
function xdot=edsonjmodif(u1,u2,u3,u4,u5) // This is nonlinear Pendulum Model // Load the parameters exec('edsonjParametersmodif.sce', -1); // state variables x=u1; v=u2; theta=u3; vartheta=u4; // control variables F=u5; // Fuerza // Modelo MoDiCA-X //estado 1-posicion eta1dot= v; //estado 2-Velocidad lineal segun estado 1 eta2dot= -((b*v*(I+m*l^2))/((M+m)*(I+m*l^2)-(m^2*l^2*(cos(theta))^2)))+((F*(I+m*l^2))/((M+m)*(I+m*l^2)-(m^2*l^2*(cos(theta))^2)))+... ((m^2*g*l^2**sin(theta)*cos(theta))/((M+m)*(I+m*l^2)-(m^2*l^2*(cos(theta))^2)))+((m*l*(vartheta^2)*sin(theta)*(I+m*l^2))/((M+m)*(I+m*l^2)-(m^2*l^2*(cos(theta))^2))); //estado 3-Angulo theta eta3dot= vartheta; //estado 4-Velocidad Angular segun estado 3 eta4dot= ((b*v*m*l*cos(theta))/((I+m*l^2)*(M+m)-(m^2*l^2*(cos(theta))^2)))-((F*m*l*cos(theta))/((I+m*l^2)*(M+m)-(m^2*l^2*(cos(theta))^2)))-... ((m^2*l^2*vartheta^2*cos(theta)*sin(theta))/((I+m*l^2)*(M+m)-(m^2*l^2*(cos(theta))^2)))-((m*g*l*sin(theta)*(M+m))/((I+m*l^2)*(M+m)-(m^2*l^2*(cos(theta))^2))); //Salida xdot xdot =[eta1dot;eta2dot;eta3dot;eta4dot]; endfunction
8f9751e44534220f70ac870929febe443d03ae31
931df7de6dffa2b03ac9771d79e06d88c24ab4ff
/Fortnite Peek.sce
87a53de39100a74b593f7af4faf560c42b0dd5f3
[]
no_license
MBHuman/Scenarios
be1a722825b3b960014b07cda2f12fa4f75c7fc8
1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137
refs/heads/master
2023-01-14T02:10:25.103083
2020-11-21T16:47:14
2020-11-21T16:47:14
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
56,115
sce
Fortnite Peek.sce
Name=Fortnite Peek PlayerCharacters=Counter-Striker BotCharacters=Counter-Striker Bot PEEKER.bot IsChallenge=true Timelimit=120.0 PlayerProfile=Counter-Striker AddedBots=Counter-Striker Bot PEEKER.bot PlayerMaxLives=0 BotMaxLives=0 PlayerTeam=1 BotTeams=2 MapName=794569841.map MapScale=3.0 BlockProjectilePredictors=true BlockCheats=true InvinciblePlayer=true InvincibleBots=false Timescale=1.0 BlockHealthbars=true TimeRefilledByKill=0.0 ScoreToWin=1.0 ScorePerDamage=1.0 ScorePerKill=100.0 ScorePerMidairDirect=0.0 ScorePerAnyDirect=0.0 ScorePerTime=0.0 ScoreLossPerDamageTaken=1.0 ScoreLossPerDeath=0.0 ScoreLossPerMidairDirected=0.0 ScoreLossPerAnyDirected=0.0 ScoreMultAccuracy=false ScoreMultDamageEfficiency=true ScoreMultKillEfficiency=false GameTag=CS, Counterstrike WeaponHeroTag=Rifles DifficultyTag=3 AuthorsTag=gli BlockHitMarkers=true BlockHitSounds=true BlockMissSounds=true BlockFCT=true Description= Bot shoots at you and takes away your score! Pop him faster. Comes out quickly from behind cover, focus! GameVersion=1.0.7.2 ScorePerDistance=0.0 [Aim Profile] Name=cs MinReactionTime=0.18 MaxReactionTime=0.3 MinSelfMovementCorrectionTime=0.007 MaxSelfMovementCorrectionTime=0.035 FlickFOV=10.0 FlickSpeed=1.0 FlickError=3.0 TrackSpeed=3.5 TrackError=3.5 MaxTurnAngleFromPadCenter=90.0 MinRecenterTime=0.25 MaxRecenterTime=0.4 OptimalAimFOV=35.0 OuterAimPenalty=1.1 MaxError=35.0 ShootFOV=1.0 VerticalAimOffset=-5.0 MaxTolerableSpread=2.0 MinTolerableSpread=0.0 TolerableSpreadDist=2000.0 MaxSpreadDistFactor=2.0 [Aim Profile] Name=Default MinReactionTime=0.3 MaxReactionTime=0.4 MinSelfMovementCorrectionTime=0.001 MaxSelfMovementCorrectionTime=0.05 FlickFOV=30.0 FlickSpeed=1.5 FlickError=15.0 TrackSpeed=3.5 TrackError=3.5 MaxTurnAngleFromPadCenter=75.0 MinRecenterTime=0.3 MaxRecenterTime=0.5 OptimalAimFOV=30.0 OuterAimPenalty=1.0 MaxError=40.0 ShootFOV=15.0 VerticalAimOffset=0.0 MaxTolerableSpread=5.0 MinTolerableSpread=1.0 TolerableSpreadDist=2000.0 MaxSpreadDistFactor=2.0 [Bot Profile] Name=Counter-Striker Bot PEEKER DodgeProfileNames=cs peek DodgeProfileWeights=1.0 DodgeProfileMaxChangeTime=10.0 DodgeProfileMinChangeTime=0.1 WeaponProfileWeights=1.5;1.5;1.5;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=cs;cs;cs;cs;cs;Default;Default;Default WeaponSwitchTime=5.0 UseWeapons=true CharacterProfile=Counter-Striker SeeThroughWalls=true NoDodging=false NoAiming=false [Character Profile] Name=Counter-Striker MaxHealth=100.0 WeaponProfileNames=FN PUMP;FN SMG;FN AR;LG;;;; MinRespawnDelay=0.0001 MaxRespawnDelay=0.0001 StepUpHeight=75.0 CrouchHeightModifier=0.75 CrouchAnimationSpeed=1.0 CameraOffset=X=0.000 Y=0.000 Z=0.000 HeadshotOnly=true DamageKnockbackFactor=1.0 MovementType=Base MaxSpeed=1100.0 MaxCrouchSpeed=250.0 Acceleration=6000.0 AirAcceleration=16000.0 Friction=7.5 BrakingFrictionFactor=1.25 JumpVelocity=800.0 Gravity=2.5 AirControl=1.0 CanCrouch=true CanPogoJump=false CanCrouchInAir=true CanJumpFromCrouch=true EnemyBodyColor=X=0.546 Y=0.776 Z=0.546 EnemyHeadColor=X=0.608 Y=0.463 Z=0.314 TeamBodyColor=X=0.000 Y=0.000 Z=0.771 TeamHeadColor=X=0.149 Y=0.542 Z=1.000 BlockSelfDamage=true InvinciblePlayer=false InvincibleBots=false BlockTeamDamage=true AirJumpCount=0 AirJumpVelocity=800.0 MainBBType=Cylindrical MainBBHeight=250.0 MainBBRadius=35.0 MainBBHasHead=true MainBBHeadRadius=25.0 MainBBHeadOffset=0.0 MainBBHide=false ProjBBType=Cylindrical ProjBBHeight=250.0 ProjBBRadius=35.0 ProjBBHasHead=true ProjBBHeadRadius=25.0 ProjBBHeadOffset=0.0 ProjBBHide=true HasJetpack=false JetpackActivationDelay=0.5 JetpackFullFuelTime=1000.0 JetpackFuelIncPerSec=100.0 JetpackFuelRegensInAir=true JetpackThrust=6000.0 JetpackMaxZVelocity=600.0 JetpackAirControlWithThrust=0.25 AbilityProfileNames=;;; HideWeapon=false AerialFriction=0.0 StrafeSpeedMult=1.0 BackSpeedMult=1.0 RespawnInvulnTime=0.0 BlockedSpawnRadius=256.0 BlockSpawnFOV=0.0 BlockSpawnDistance=0.0 RespawnAnimationDuration=0.0 AllowBufferedJumps=true BounceOffWalls=false LeanAngle=0.0 LeanDisplacement=0.0 AirJumpExtraControl=0.0 ForwardSpeedBias=1.0 HealthRegainedonkill=0.0 HealthRegenPerSec=0.0 HealthRegenDelay=0.0 JumpSpeedPenaltyDuration=0.0 JumpSpeedPenaltyPercent=0.0 ThirdPersonCamera=false TPSArmLength=300.0 TPSOffset=X=0.000 Y=150.000 Z=150.000 BrakingDeceleration=2048.0 VerticalSpawnOffset=0.0 [Dodge Profile] Name=cs peek MaxTargetDistance=10000.0 MinTargetDistance=0.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.125 MaxLRTimeChange=0.5 MinFBTimeChange=0.2 MaxFBTimeChange=0.5 DamageReactionChangesDirection=false DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.01 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.25 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.3 MaxJumpTime=0.6 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=1.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.0 BlockedMovementReactionMax=0.125 [Weapon Profile] Name=FN PUMP Type=Hitscan ShotsPerClick=8 DamagePerShot=12.5 KnockbackFactor=0.0 TimeBetweenShots=1.35 Pierces=false Category=SemiAuto BurstShotCount=1 TimeBetweenBursts=0.5 ChargeStartDamage=10.0 ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=5.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=true HeadshotMultiplier=2.0 MagazineMax=0 AmmoPerShot=1 ReloadTimeFromEmpty=1.0 ReloadTimeFromPartial=1.0 DamageFalloffStartDistance=400.0 DamageFalloffStopDistance=1200.0 DamageAtMaxRange=9.0 DelayBeforeShot=0.0 HitscanVisualEffect=Tracer ProjectileGraphic=Ball VisualLifetime=0.1 WallParticleEffect=None HitParticleEffect=None BounceOffWorld=false BounceFactor=0.5 BounceCount=0 HomingProjectileAcceleration=0.0 ProjectileEnemyHitRadius=1.0 CanAimDownSight=true ADSZoomDelay=0.15 ADSZoomSensFactor=0.6 ADSMoveFactor=0.75 ADSStartDelay=0.0 ShootSoundCooldown=0.08 HitSoundCooldown=0.08 HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=0.0 RecoilNegatable=false DecalType=1 DecalSize=3.0 DelayAfterShooting=0.0 BeamTracksCrosshair=false AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=false SpreadStationaryVelocity=300.0 PassiveCharging=false BurstFullyAuto=true FlatKnockbackHorizontal=0.0 FlatKnockbackVertical=0.0 HitscanRadius=0.0 HitscanVisualRadius=6.0 TaggingDuration=0.0 TaggingMaxFactor=1.0 TaggingHitFactor=1.0 ProjectileTrail=None RecoilCrouchScale=1.0 RecoilADSScale=1.0 PSRCrouchScale=1.0 PSRADSScale=1.0 ProjectileAcceleration=0.0 AccelIncludeVertical=false AimPunchAmount=0.0 AimPunchResetTime=0.2 AimPunchCooldown=0.5 AimPunchHeadshotOnly=false AimPunchCosmeticOnly=false MinimumDecelVelocity=0.0 PSRManualNegation=false PSRAutoReset=true AimPunchUpTime=0.05 AmmoReloadedOnKill=5 CancelReloadOnKill=true FlatKnockbackHorizontalMin=0.0 FlatKnockbackVerticalMin=0.0 ADSScope=No Scope ADSFOVOverride=80.0 ADSFOVScale=Clamped Horizontal ADSAllowUserOverrideFOV=false IsBurstWeapon=false ForceFirstPersonInADS=false ZoomBlockedInAir=true ADSCameraOffsetX=-90.0 ADSCameraOffsetY=0.0 ADSCameraOffsetZ=0.0 QuickSwitchTime=1.35 Explosive=false Radius=500.0 DamageAtCenter=100.0 DamageAtEdge=100.0 SelfDamageMultiplier=0.5 ExplodesOnContactWithEnemy=false DelayAfterEnemyContact=0.0 ExplodesOnContactWithWorld=false DelayAfterWorldContact=0.0 ExplodesOnNextAttack=false DelayAfterSpawn=0.0 BlockedByWorld=false SpreadSSA=0.0,0.1,0.0,0.0 SpreadSCA=0.0,0.1,0.0,0.0 SpreadMSA=0.0,0.1,0.0,0.0 SpreadMCA=0.0,0.1,0.0,0.0 SpreadSSH=0.0,0.1,1.2,1.2 SpreadSCH=0.0,0.1,0.0,0.0 SpreadMSH=0.0,0.1,1.2,1.2 SpreadMCH=0.0,0.1,0.0,0.0 MaxRecoilUp=6.5 MinRecoilUp=3.0 MinRecoilHoriz=-2.0 MaxRecoilHoriz=2.0 FirstShotRecoilMult=1.0 RecoilAutoReset=true TimeToRecoilPeak=0.1 TimeToRecoilReset=0.6 AAMode=0 AAPreferClosestPlayer=false AAAlpha=1.0 AAMaxSpeed=1.0 AADeadZone=0.0 AAFOV=30.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=true AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=1.0 StickyLock=false HeadLock=false VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=false PSRLoopStartIndex=0 PSRViewRecoilTracking=0.45 PSRCapUp=9.0 PSRCapRight=4.0 PSRCapLeft=4.0 PSRTimeToPeak=0.175 PSRResetDegreesPerSec=40.0 UsePerBulletSpread=false PBS0=0.0,0.0 PBS1=1.25,23.0 PBS2=1.8,27.0 PBS3=1.1,360.0 PBS4=2.0,40.0 PBS5=1.6,98.0 PBS6=1.3,270.0 PBS7=1.7,170.0 [Weapon Profile] Name=FN SMG Type=Hitscan ShotsPerClick=1 DamagePerShot=17.0 KnockbackFactor=0.1 TimeBetweenShots=0.083 Pierces=false Category=FullyAuto BurstShotCount=2 TimeBetweenBursts=0.1 ChargeStartDamage=0.1 ChargeStartVelocity=X=1500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=3000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=3000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=3.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=true HeadshotMultiplier=2.0 MagazineMax=0 AmmoPerShot=1 ReloadTimeFromEmpty=2.2 ReloadTimeFromPartial=2.2 DamageFalloffStartDistance=800.0 DamageFalloffStopDistance=1200.0 DamageAtMaxRange=8.0 DelayBeforeShot=0.0 HitscanVisualEffect=Tracer ProjectileGraphic=Ball VisualLifetime=0.001 WallParticleEffect=Gunshot HitParticleEffect=Blood BounceOffWorld=true BounceFactor=0.6 BounceCount=0 HomingProjectileAcceleration=6000.0 ProjectileEnemyHitRadius=0.1 CanAimDownSight=true ADSZoomDelay=0.15 ADSZoomSensFactor=1.0 ADSMoveFactor=0.75 ADSStartDelay=0.0 ShootSoundCooldown=0.08 HitSoundCooldown=0.08 HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=0.1 RecoilNegatable=false DecalType=1 DecalSize=8.0 DelayAfterShooting=0.0 BeamTracksCrosshair=false AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=true SpreadStationaryVelocity=0.0 PassiveCharging=false BurstFullyAuto=true FlatKnockbackHorizontal=0.0 FlatKnockbackVertical=0.0 HitscanRadius=0.0 HitscanVisualRadius=6.0 TaggingDuration=0.0 TaggingMaxFactor=1.0 TaggingHitFactor=1.0 ProjectileTrail=None RecoilCrouchScale=0.0 RecoilADSScale=0.0 PSRCrouchScale=1.0 PSRADSScale=1.0 ProjectileAcceleration=0.0 AccelIncludeVertical=true AimPunchAmount=0.0 AimPunchResetTime=0.05 AimPunchCooldown=0.5 AimPunchHeadshotOnly=false AimPunchCosmeticOnly=true MinimumDecelVelocity=0.0 PSRManualNegation=false PSRAutoReset=true AimPunchUpTime=0.05 AmmoReloadedOnKill=30 CancelReloadOnKill=false FlatKnockbackHorizontalMin=0.0 FlatKnockbackVerticalMin=0.0 ADSScope=No Scope ADSFOVOverride=80.0 ADSFOVScale=Clamped Horizontal ADSAllowUserOverrideFOV=false IsBurstWeapon=false ForceFirstPersonInADS=false ZoomBlockedInAir=true ADSCameraOffsetX=-90.0 ADSCameraOffsetY=0.0 ADSCameraOffsetZ=0.0 QuickSwitchTime=0.1 Explosive=false Radius=500.0 DamageAtCenter=100.0 DamageAtEdge=0.1 SelfDamageMultiplier=0.5 ExplodesOnContactWithEnemy=true DelayAfterEnemyContact=0.0 ExplodesOnContactWithWorld=true DelayAfterWorldContact=0.0 ExplodesOnNextAttack=false DelayAfterSpawn=5.0 BlockedByWorld=true SpreadSSA=0.6,0.4,0.0,0.7 SpreadSCA=2.0,2.0,-1.0,0.0 SpreadMSA=0.22,0.22,-1.0,1.0 SpreadMCA=2.0,2.0,-1.0,0.0 SpreadSSH=0.6,0.4,0.0,0.7 SpreadSCH=2.0,2.0,-1.0,0.0 SpreadMSH=0.22,0.22,-1.0,1.0 SpreadMCH=2.0,2.0,-1.0,0.0 MaxRecoilUp=0.0 MinRecoilUp=0.0 MinRecoilHoriz=0.0 MaxRecoilHoriz=0.0 FirstShotRecoilMult=0.0 RecoilAutoReset=false TimeToRecoilPeak=0.1 TimeToRecoilReset=0.1 AAMode=0 AAPreferClosestPlayer=false AAAlpha=0.15 AAMaxSpeed=1.0 AADeadZone=0.0 AAFOV=30.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=true AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=0.1 StickyLock=false HeadLock=true VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=false PSRLoopStartIndex=2 PSRViewRecoilTracking=1.0 PSRCapUp=2.2 PSRCapRight=4.0 PSRCapLeft=4.0 PSRTimeToPeak=0.12 PSRResetDegreesPerSec=6.0 PSR0=1.5,0.0 PSR1=1.25,0.0 PSR2=0.4,0.125 PSR3=0.4,-0.125 PSR4=0.4,0.25 PSR5=0.4,-0.25 UsePerBulletSpread=false PBS0=0.0,0.0 [Weapon Profile] Name=FN AR Type=Hitscan ShotsPerClick=1 DamagePerShot=30.0 KnockbackFactor=0.1 TimeBetweenShots=0.181818 Pierces=false Category=FullyAuto BurstShotCount=2 TimeBetweenBursts=0.1 ChargeStartDamage=0.1 ChargeStartVelocity=X=1500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=3000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=3000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=3.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=true HeadshotMultiplier=2.0 MagazineMax=30 AmmoPerShot=1 ReloadTimeFromEmpty=2.2 ReloadTimeFromPartial=2.2 DamageFalloffStartDistance=800.0 DamageFalloffStopDistance=1200.0 DamageAtMaxRange=25.0 DelayBeforeShot=0.0 HitscanVisualEffect=Tracer ProjectileGraphic=Ball VisualLifetime=0.001 WallParticleEffect=Gunshot HitParticleEffect=Blood BounceOffWorld=true BounceFactor=0.6 BounceCount=0 HomingProjectileAcceleration=6000.0 ProjectileEnemyHitRadius=0.1 CanAimDownSight=true ADSZoomDelay=0.15 ADSZoomSensFactor=1.0 ADSMoveFactor=0.75 ADSStartDelay=0.0 ShootSoundCooldown=0.08 HitSoundCooldown=0.08 HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=0.1 RecoilNegatable=true DecalType=1 DecalSize=8.0 DelayAfterShooting=0.0 BeamTracksCrosshair=false AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=true SpreadStationaryVelocity=0.0 PassiveCharging=false BurstFullyAuto=true FlatKnockbackHorizontal=0.0 FlatKnockbackVertical=0.0 HitscanRadius=0.0 HitscanVisualRadius=6.0 TaggingDuration=0.0 TaggingMaxFactor=1.0 TaggingHitFactor=1.0 ProjectileTrail=None RecoilCrouchScale=1.0 RecoilADSScale=1.0 PSRCrouchScale=1.0 PSRADSScale=1.0 ProjectileAcceleration=0.0 AccelIncludeVertical=true AimPunchAmount=0.0 AimPunchResetTime=0.05 AimPunchCooldown=0.5 AimPunchHeadshotOnly=false AimPunchCosmeticOnly=true MinimumDecelVelocity=0.0 PSRManualNegation=false PSRAutoReset=true AimPunchUpTime=0.05 AmmoReloadedOnKill=30 CancelReloadOnKill=false FlatKnockbackHorizontalMin=0.0 FlatKnockbackVerticalMin=0.0 ADSScope=No Scope ADSFOVOverride=80.0 ADSFOVScale=Clamped Horizontal ADSAllowUserOverrideFOV=false IsBurstWeapon=false ForceFirstPersonInADS=false ZoomBlockedInAir=true ADSCameraOffsetX=-90.0 ADSCameraOffsetY=0.0 ADSCameraOffsetZ=0.0 QuickSwitchTime=0.0 Explosive=false Radius=500.0 DamageAtCenter=100.0 DamageAtEdge=0.1 SelfDamageMultiplier=0.5 ExplodesOnContactWithEnemy=true DelayAfterEnemyContact=0.0 ExplodesOnContactWithWorld=true DelayAfterWorldContact=0.0 ExplodesOnNextAttack=false DelayAfterSpawn=5.0 BlockedByWorld=true SpreadSSA=2.0,2.0,-1.0,0.0 SpreadSCA=2.0,2.0,-1.0,0.0 SpreadMSA=2.0,2.0,-1.0,0.0 SpreadMCA=2.0,2.0,-1.0,0.0 SpreadSSH=1.0,1.0,-1.0,0.0 SpreadSCH=2.0,2.0,-1.0,0.0 SpreadMSH=1.0,1.0,-1.0,0.0 SpreadMCH=2.0,2.0,-1.0,0.0 MaxRecoilUp=0.0 MinRecoilUp=0.0 MinRecoilHoriz=0.0 MaxRecoilHoriz=0.0 FirstShotRecoilMult=1.0 RecoilAutoReset=true TimeToRecoilPeak=0.08 TimeToRecoilReset=0.08 AAMode=0 AAPreferClosestPlayer=false AAAlpha=0.15 AAMaxSpeed=1.0 AADeadZone=0.0 AAFOV=30.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=true AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=0.1 StickyLock=false HeadLock=true VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=false PSRLoopStartIndex=2 PSRViewRecoilTracking=1.0 PSRCapUp=2.2 PSRCapRight=4.0 PSRCapLeft=4.0 PSRTimeToPeak=0.12 PSRResetDegreesPerSec=6.0 PSR0=1.5,0.0 PSR1=1.25,0.0 PSR2=0.4,0.0 PSR3=0.4,0.0 PSR4=0.4,0.0 PSR5=0.4,0.0 UsePerBulletSpread=false PBS0=0.0,0.0 [Weapon Profile] Name=LG Type=Hitscan ShotsPerClick=1 DamagePerShot=6.0 KnockbackFactor=2.0 TimeBetweenShots=0.046 Pierces=false Category=FullyAuto BurstShotCount=1 TimeBetweenBursts=0.5 ChargeStartDamage=10.0 ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=5.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=false HeadshotMultiplier=2.0 MagazineMax=0 AmmoPerShot=1 ReloadTimeFromEmpty=0.5 ReloadTimeFromPartial=0.5 DamageFalloffStartDistance=100000.0 DamageFalloffStopDistance=100000.0 DamageAtMaxRange=7.0 DelayBeforeShot=0.0 HitscanVisualEffect=Tracer ProjectileGraphic=Ball VisualLifetime=0.05 WallParticleEffect=None HitParticleEffect=None BounceOffWorld=false BounceFactor=0.0 BounceCount=0 HomingProjectileAcceleration=0.0 ProjectileEnemyHitRadius=1.0 CanAimDownSight=false ADSZoomDelay=0.0 ADSZoomSensFactor=0.7 ADSMoveFactor=1.0 ADSStartDelay=0.0 ShootSoundCooldown=0.08 HitSoundCooldown=0.08 HitscanVisualOffset=X=0.000 Y=0.000 Z=-80.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=4.0 RecoilNegatable=false DecalType=0 DecalSize=30.0 DelayAfterShooting=0.0 BeamTracksCrosshair=true AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=true SpreadStationaryVelocity=0.0 PassiveCharging=false BurstFullyAuto=true FlatKnockbackHorizontal=0.0 FlatKnockbackVertical=0.0 HitscanRadius=0.0 HitscanVisualRadius=6.0 TaggingDuration=0.0 TaggingMaxFactor=1.0 TaggingHitFactor=1.0 ProjectileTrail=None RecoilCrouchScale=1.0 RecoilADSScale=1.0 PSRCrouchScale=1.0 PSRADSScale=1.0 ProjectileAcceleration=0.0 AccelIncludeVertical=true AimPunchAmount=0.0 AimPunchResetTime=0.05 AimPunchCooldown=0.5 AimPunchHeadshotOnly=false AimPunchCosmeticOnly=true MinimumDecelVelocity=0.0 PSRManualNegation=false PSRAutoReset=true AimPunchUpTime=0.05 AmmoReloadedOnKill=0 CancelReloadOnKill=false FlatKnockbackHorizontalMin=0.0 FlatKnockbackVerticalMin=0.0 ADSScope=No Scope ADSFOVOverride=72.099998 ADSFOVScale=Overwatch ADSAllowUserOverrideFOV=true IsBurstWeapon=false ForceFirstPersonInADS=true ZoomBlockedInAir=false ADSCameraOffsetX=0.0 ADSCameraOffsetY=0.0 ADSCameraOffsetZ=0.0 QuickSwitchTime=0.0 Explosive=false Radius=500.0 DamageAtCenter=100.0 DamageAtEdge=0.0 SelfDamageMultiplier=0.5 ExplodesOnContactWithEnemy=false DelayAfterEnemyContact=0.0 ExplodesOnContactWithWorld=false DelayAfterWorldContact=0.0 ExplodesOnNextAttack=false DelayAfterSpawn=0.0 BlockedByWorld=false SpreadSSA=1.0,1.0,-1.0,0.0 SpreadSCA=1.0,1.0,-1.0,0.0 SpreadMSA=1.0,1.0,-1.0,0.0 SpreadMCA=1.0,1.0,-1.0,0.0 SpreadSSH=1.0,1.0,-1.0,0.0 SpreadSCH=1.0,1.0,-1.0,0.0 SpreadMSH=1.0,1.0,-1.0,0.0 SpreadMCH=1.0,1.0,-1.0,0.0 MaxRecoilUp=0.0 MinRecoilUp=0.0 MinRecoilHoriz=0.0 MaxRecoilHoriz=0.0 FirstShotRecoilMult=1.0 RecoilAutoReset=false TimeToRecoilPeak=0.05 TimeToRecoilReset=0.35 AAMode=0 AAPreferClosestPlayer=false AAAlpha=0.05 AAMaxSpeed=1.0 AADeadZone=0.0 AAFOV=720.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=false AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=1.0 StickyLock=false HeadLock=false VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=false PSRLoopStartIndex=0 PSRViewRecoilTracking=0.45 PSRCapUp=9.0 PSRCapRight=4.0 PSRCapLeft=4.0 PSRTimeToPeak=0.095 PSRResetDegreesPerSec=40.0 UsePerBulletSpread=false PBS0=0.0,0.0 [Map Data] reflex map version 8 global entity type WorldSpawn String32 targetGameOverCamera end String256 title Rocket Dodge1 Stay Alive UInt8 playersMin 1 UInt8 playersMax 16 brush vertices -352.000000 432.000000 320.000000 864.000000 432.000000 320.000000 864.000000 432.000000 256.000000 -352.000000 432.000000 256.000000 -352.000000 -128.000000 320.000000 864.000000 -128.000000 320.000000 864.000000 -128.000000 256.000000 -352.000000 -128.000000 256.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -256.000000 64.000000 128.000000 -64.000000 64.000000 128.000000 -64.000000 64.000000 64.000000 -256.000000 64.000000 64.000000 -256.000000 -64.000000 128.000000 -64.000000 -64.000000 128.000000 -64.000000 -64.000000 64.000000 -256.000000 -64.000000 64.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 128.000000 64.000000 128.000000 384.000000 64.000000 128.000000 384.000000 64.000000 64.000000 128.000000 64.000000 64.000000 128.000000 -64.000000 128.000000 384.000000 -64.000000 128.000000 384.000000 -64.000000 64.000000 128.000000 -64.000000 64.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 576.000000 64.000000 128.000000 768.000000 64.000000 128.000000 768.000000 64.000000 64.000000 576.000000 64.000000 64.000000 576.000000 -64.000000 128.000000 768.000000 -64.000000 128.000000 768.000000 -64.000000 64.000000 576.000000 -64.000000 64.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -256.000000 128.000000 256.000000 768.000000 128.000000 256.000000 768.000000 128.000000 64.000000 -256.000000 128.000000 64.000000 -256.000000 64.000000 256.000000 768.000000 64.000000 256.000000 768.000000 64.000000 64.000000 -256.000000 64.000000 64.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -256.000000 64.000000 -64.000000 -128.000000 64.000000 -64.000000 -128.000000 64.000000 -128.000000 -256.000000 64.000000 -128.000000 -256.000000 -64.000000 -64.000000 -128.000000 -64.000000 -64.000000 -128.000000 -64.000000 -128.000000 -256.000000 -64.000000 -128.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 640.000000 64.000000 -64.000000 768.000000 64.000000 -64.000000 768.000000 64.000000 -128.000000 640.000000 64.000000 -128.000000 640.000000 -64.000000 -64.000000 768.000000 -64.000000 -64.000000 768.000000 -64.000000 -128.000000 640.000000 -64.000000 -128.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 192.000000 64.000000 -64.000000 320.000000 64.000000 -64.000000 320.000000 64.000000 -128.000000 192.000000 64.000000 -128.000000 192.000000 -64.000000 -64.000000 320.000000 -64.000000 -64.000000 320.000000 -64.000000 -128.000000 192.000000 -64.000000 -128.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -256.000000 -64.000000 256.000000 768.000000 -64.000000 256.000000 768.000000 -64.000000 -1280.000000 -256.000000 -64.000000 -1280.000000 -256.000000 -176.000000 256.000000 768.000000 -176.000000 256.000000 768.000000 -176.000000 -1280.000000 -256.000000 -176.000000 -1280.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -256.000000 128.000000 64.000000 -128.000000 128.000000 64.000000 -128.000000 128.000000 -128.000000 -256.000000 128.000000 -128.000000 -256.000000 64.000000 64.000000 -128.000000 64.000000 64.000000 -128.000000 64.000000 -128.000000 -256.000000 64.000000 -128.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 192.000000 128.000000 64.000000 320.000000 128.000000 64.000000 320.000000 128.000000 -128.000000 192.000000 128.000000 -128.000000 192.000000 64.000000 64.000000 320.000000 64.000000 64.000000 320.000000 64.000000 -128.000000 192.000000 64.000000 -128.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 640.000000 128.000000 64.000000 768.000000 128.000000 64.000000 768.000000 128.000000 -128.000000 640.000000 128.000000 -128.000000 640.000000 64.000000 64.000000 768.000000 64.000000 64.000000 768.000000 64.000000 -128.000000 640.000000 64.000000 -128.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 384.000000 64.000000 128.000000 576.000000 64.000000 128.000000 576.000000 64.000000 64.000000 384.000000 64.000000 64.000000 384.000000 -64.000000 128.000000 576.000000 -64.000000 128.000000 576.000000 -64.000000 64.000000 384.000000 -64.000000 64.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 672.000000 384.000000 -32.000000 736.000000 384.000000 -32.000000 736.000000 384.000000 -96.000000 672.000000 384.000000 -96.000000 672.000000 128.000000 -32.000000 736.000000 128.000000 -32.000000 736.000000 128.000000 -96.000000 672.000000 128.000000 -96.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 224.000000 384.000000 -32.000000 288.000000 384.000000 -32.000000 288.000000 384.000000 -96.000000 224.000000 384.000000 -96.000000 224.000000 128.000000 -32.000000 288.000000 128.000000 -32.000000 288.000000 128.000000 -96.000000 224.000000 128.000000 -96.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -224.000000 384.000000 -32.000000 -160.000000 384.000000 -32.000000 -160.000000 384.000000 -96.000000 -224.000000 384.000000 -96.000000 -224.000000 128.000000 -32.000000 -160.000000 128.000000 -32.000000 -160.000000 128.000000 -96.000000 -224.000000 128.000000 -96.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 0.000000 384.000000 -32.000000 64.000000 384.000000 -32.000000 64.000000 384.000000 -96.000000 0.000000 384.000000 -96.000000 0.000000 -64.000000 -32.000000 64.000000 -64.000000 -32.000000 64.000000 -64.000000 -96.000000 0.000000 -64.000000 -96.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 448.000000 384.000000 0.000000 512.000000 384.000000 0.000000 512.000000 384.000000 -64.000000 448.000000 384.000000 -64.000000 448.000000 -64.000000 0.000000 512.000000 -64.000000 0.000000 512.000000 -64.000000 -64.000000 448.000000 -64.000000 -64.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -256.000000 448.000000 -1216.000000 768.000000 448.000000 -1216.000000 768.000000 448.000000 -1280.000000 -256.000000 448.000000 -1280.000000 -256.000000 -64.000000 -1216.000000 768.000000 -64.000000 -1216.000000 768.000000 -64.000000 -1280.000000 -256.000000 -64.000000 -1280.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 768.000000 464.000000 256.000000 864.000000 464.000000 256.000000 864.000000 464.000000 -1280.000000 768.000000 464.000000 -1280.000000 768.000000 -176.000000 256.000000 864.000000 -176.000000 256.000000 864.000000 -176.000000 -1280.000000 768.000000 -176.000000 -1280.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -352.000000 448.000000 256.000000 -256.000000 448.000000 256.000000 -256.000000 448.000000 -1280.000000 -352.000000 448.000000 -1280.000000 -352.000000 -176.000000 256.000000 -256.000000 -176.000000 256.000000 -256.000000 -176.000000 -1280.000000 -352.000000 -176.000000 -1280.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -128.000000 64.000000 -64.000000 -96.000000 64.000000 -64.000000 -96.000000 64.000000 -128.000000 -128.000000 64.000000 -128.000000 -128.000000 -64.000000 -64.000000 -96.000000 -64.000000 -64.000000 -96.000000 -64.000000 -128.000000 -128.000000 -64.000000 -128.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices -256.000000 448.000000 272.000000 768.000000 448.000000 272.000000 768.000000 448.000000 -192.000000 -256.000000 448.000000 -192.000000 -256.000000 384.000000 272.000000 768.000000 384.000000 272.000000 768.000000 384.000000 -192.000000 -256.000000 384.000000 -192.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -64.000000 64.000000 128.000000 128.000000 64.000000 128.000000 128.000000 64.000000 64.000000 -64.000000 64.000000 64.000000 -64.000000 -64.000000 128.000000 128.000000 -64.000000 128.000000 128.000000 -64.000000 64.000000 -64.000000 -64.000000 64.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 400.000000 64.000000 -64.000000 384.000000 64.000000 -64.000000 384.000000 64.000000 64.000000 400.000000 64.000000 64.000000 400.000000 -64.000000 -64.000000 384.000000 -64.000000 -64.000000 384.000000 -64.000000 64.000000 400.000000 -64.000000 64.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 400.000000 64.000000 -96.000000 320.000000 64.000000 -96.000000 320.000000 64.000000 -63.999992 400.000000 64.000000 -64.000000 400.000000 -64.000000 -96.000000 320.000000 -64.000000 -96.000000 320.000000 -64.000000 -63.999992 400.000000 -64.000000 -64.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 400.000000 80.000000 -96.000000 320.000000 80.000000 -96.000000 320.000000 80.000000 64.000008 400.000000 80.000000 64.000000 400.000000 64.000000 -96.000000 320.000000 64.000000 -96.000000 320.000000 64.000000 64.000008 400.000000 64.000000 64.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 112.000000 64.000000 64.000000 128.000000 64.000000 64.000000 128.000000 64.000000 -64.000000 112.000000 64.000000 -64.000000 112.000000 -64.000000 64.000000 128.000000 -64.000000 64.000000 128.000000 -64.000000 -64.000000 112.000000 -64.000000 -64.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 112.000000 64.000000 -64.000000 192.000000 64.000000 -64.000000 192.000000 64.000000 -96.000000 112.000000 64.000000 -96.000000 112.000000 -64.000000 -64.000000 192.000000 -64.000000 -64.000000 192.000000 -64.000000 -96.000000 112.000000 -64.000000 -96.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 608.000000 64.000000 -64.000000 640.000000 64.000000 -64.000000 640.000000 64.000000 -128.000000 608.000000 64.000000 -128.000000 608.000000 -64.000000 -64.000000 640.000000 -64.000000 -64.000000 640.000000 -64.000000 -128.000000 608.000000 -64.000000 -128.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 592.000000 80.000000 64.000000 656.000000 80.000000 64.000000 656.000000 80.000000 -96.000000 592.000000 80.000000 -96.000000 592.000000 64.000000 64.000000 656.000000 64.000000 64.000000 656.000000 64.000000 -96.000000 592.000000 64.000000 -96.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 672.000000 64.000000 256.000000 768.000000 64.000000 256.000000 768.000000 64.000000 128.000000 672.000000 64.000000 128.000000 672.000000 -64.000000 256.000000 768.000000 -64.000000 256.000000 768.000000 -64.000000 128.000000 672.000000 -64.000000 128.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -256.000000 64.000000 256.000000 -160.000000 64.000000 256.000000 -160.000000 64.000000 128.000000 -256.000000 64.000000 128.000000 -256.000000 -64.000000 256.000000 -160.000000 -64.000000 256.000000 -160.000000 -64.000000 128.000000 -256.000000 -64.000000 128.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 192.000000 64.000000 256.000000 320.000000 64.000000 256.000000 320.000000 64.000000 128.000000 192.000000 64.000000 128.000000 192.000000 -64.000000 256.000000 320.000000 -64.000000 256.000000 320.000000 -64.000000 128.000000 192.000000 -64.000000 128.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -128.000000 80.000000 64.000000 -64.000000 80.000000 64.000000 -64.000000 80.000000 -128.000000 -128.000000 80.000000 -128.000000 -128.000000 64.000000 64.000000 -64.000000 64.000000 64.000000 -64.000000 64.000000 -128.000000 -128.000000 64.000000 -128.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 112.000000 80.000000 64.000000 192.000000 80.000000 64.000000 192.000000 80.000000 -96.000000 112.000000 80.000000 -96.000000 112.000000 64.000000 64.000000 192.000000 64.000000 64.000000 192.000000 64.000000 -96.000000 112.000000 64.000000 -96.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices -32.000000 64.000000 256.000000 64.000000 64.000000 256.000000 64.000000 64.000000 128.000000 -32.000000 64.000000 128.000000 -32.000000 -64.000000 256.000000 64.000000 -64.000000 256.000000 64.000000 -64.000000 128.000000 -32.000000 -64.000000 128.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices -112.000000 64.000000 64.000000 -96.000000 64.000000 64.000000 -96.000000 64.000000 -128.000000 -112.000000 64.000000 -128.000000 -112.000000 -64.000000 64.000000 -96.000000 -64.000000 64.000000 -96.000000 -64.000000 -128.000000 -112.000000 -64.000000 -128.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 448.000000 64.000000 256.000000 560.000000 64.000000 256.000000 560.000000 64.000000 128.000000 448.000000 64.000000 128.000000 448.000000 -64.000000 256.000000 560.000000 -64.000000 256.000000 560.000000 -64.000000 128.000000 448.000000 -64.000000 128.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 608.000000 64.000000 64.000000 624.000000 64.000000 64.000000 624.000000 64.000000 -128.000000 608.000000 64.000000 -128.000000 608.000000 -64.000000 64.000000 624.000000 -64.000000 64.000000 624.000000 -64.000000 -128.000000 608.000000 -64.000000 -128.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip entity type CameraPath UInt32 entityIdAttachedTo 20 UInt8 posLerp 2 UInt8 angleLerp 2 entity type Target Vector3 position 320.000000 256.000000 320.000000 Vector3 angles -135.000000 30.000000 0.000000 String32 name end entity type PlayerSpawn Vector3 position 240.000000 -64.000000 -848.000000 Bool8 teamB 0 entity type PlayerSpawn Vector3 position -192.000000 -64.000000 16.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position -112.000000 -64.000000 192.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 144.000000 -64.000000 192.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 608.000000 -64.000000 192.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 736.000000 -64.000000 -16.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 272.000000 -64.000000 -32.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0 entity type PlayerSpawn Vector3 position 368.000000 -64.000000 192.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 Bool8 initialSpawn 0 Bool8 modeCTF 0 Bool8 modeFFA 0 Bool8 modeTDM 0 Bool8 mode1v1 0 Bool8 modeRace 0 Bool8 mode2v2 0
b564374d1271f38a80413df2f44acb5c13b2451e
449d555969bfd7befe906877abab098c6e63a0e8
/32/CH11/EX11.04/11_04.sce
af55ee893eb6e87fa056827b36a4e45bde9347bb
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
889
sce
11_04.sce
//pathname=get_absolute_file_path('11.04.sce') //filename=pathname+filesep()+'11.04-data.sci' //exec(filename) //Height of chimney(in m): H=60 //Ambient air temperature(in K): Ta=17+273 //Temperature of burnt gases(in K): Tg=300+273 //Temperature of the artificial burnt gases(in K): Tga=150+273 //Mass per kg of fuel required for complete combustion(in kg): m=19 //Specific heat of hot gases(in kJ/kg.K): Cpg=1.0032 //Calorific value of burnt fuel(in kJ/kg): c=32604 //Draught (in mm of water column): hw=353*H*(1/Ta-(m+1)/(m*Tg)) //Chimney efficiency: n=9.81*H*(m/(m+1)*Tg/Ta-1)/(Cpg*(Tg-Tga)*10^3)*100 //Extra heat carried away by flue gases(in kJ): Q=(m+1)*Cpg*(Tg-Tga) printf("\n RESULT \n") printf("\nDraught = %f mm of water",hw) printf("\nChimney efficiency = %f percent",n) printf("\nExtra heat carried away by flue gases per kg of fuel burnt = %f kJ",Q)
7900fdaad214b3fe516aff7b6f63137a73d00692
f6134e0a162a059c42ec3ef8de2a63941d73936c
/Scilab_code/Planner/LSH_build.sci
780753c8fe7583531e033bb8190c3faabd60fb98
[]
no_license
mxch18/SRL-WRT_pathPlanning
38a1701934a4a0e919a6c1c7990092b242df72da
6992febbbe103814d2cef5351a0e8917b183a2b0
refs/heads/master
2020-03-23T06:43:54.155192
2018-09-26T17:26:56
2018-09-26T17:26:56
141,226,032
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,482
sci
LSH_build.sci
function hash_LSH_out = LSH_build(new_element,node_nb,hash_LSH) //Author : Maxens ACHIEPI //Space Robotics Laboratory - Tohoku University //Description: // //INPUT //hash_LSH: struct // *hash_LSH.dimension: the dimension of the vectors we're hashing // *hash_LSH.nb: the number of hash functions // *hash_LSH.size: the size of the hash tables // *hash_LSH.hashing_functions: struct // *array: [a11 a12 ... a1k;a21 a22 ... a2k;...] // *prime_factor: a big prime number // *hash_LSH.hash_tables: list of list. each element of the list is a hash-table. //new_element: a row vector //OUTPUT // //----------------------------------------------------------------------------// hash_LSH_out = hash_LSH; if length(new_element) ~= hash_LSH_out.dimension then mprintf("Element is of the wrong dimension"); return; end p_f = hash_LSH_out.hashing_functions.prime_factor; for i = 1:hash_LSH_out.nb x_i = hash_LSH_out.hashing_functions.array(i,1:hash_LSH_out.dimension); // b_i = hash_LSH_out.hashing_functions.array(i,hash_LSH_out.dimension+1); h_i = modulo(floor(p_f*(new_element*x_i')),hash_LSH_out.size); hash_LSH.hash_tables(i)(h_i) = [hash_LSH.hash_tables(i)(h_i); new_element node_nb]; end endfunction
38b79d4f7e667dec1193c1172ddd3e2d260c6f49
449d555969bfd7befe906877abab098c6e63a0e8
/3392/CH9/EX9.1/Ex9_1.sce
06bfe15eee0855a489447add46e44b1b35325dc6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
439
sce
Ex9_1.sce
clc // initialization of variables clear a=30 //mm c=80 //mm b=50 //mm P=9.5 //kN d=100 //mm position of P //calculations P=P*10^3 A=b^2 A=b*(c-a) Am=b*log(c/a) R=(a+c)/2 p=d+R Mx=p*P r=a S_thB=P/A+(Mx*(A-r*Am))/(A*r*(R*Am-A)) r=c S_thC=P/A+(Mx*(A-r*Am))/(A*r*(R*Am-A)) printf('The maximum tensile stress is (at point B) = %.1f MPa',S_thB) printf('\n The maximum cpmpressive stress is (at point C) = %.1f MPa',S_thC)
d2f6e22ed0cf3d4958a0579f77f87e97d27d7faa
127061b879bebda7ce03f6910c80d0702ad1a713
/bin/PIL_slab_str.sci
6419ab31eb0075a9e1d9e65bc701f6b223a6a2e6
[]
no_license
pipidog/PiLib-Scilab
961df791bb59b9a16b3a32288f54316c6954f128
125ffa71b0752bfdcef922a0b898263e726db533
refs/heads/master
2021-01-18T20:30:43.364412
2017-08-17T00:58:50
2017-08-17T00:58:50
100,546,695
0
1
null
null
null
null
UTF-8
Scilab
false
false
3,360
sci
PIL_slab_str.sci
// **** Purpose **** // 1. Use PIL_conv_cell to generate a conventional cell. So the new // conventional cell will have a3 axis perpendicular to a2 and a1. // 2. Use the output variables: cc_vec, cc_sublat as inputs, this // function can constructure a slab sructure, i.e. the output // structure has only fininte size on a3 axis. // **** Variables **** // [cc_vec]: 3x3, real // <= the lattice vectors of conventional cell genetated by PIL_conv_cell // [cc_sublat]: nx10 // <= the sublattice information of conventional cell generated by // PIL_conv_cell // [tot_a3_cc]: 1x1, int // <= how many conventional cell in the a3 direction. // [a3_range]: 1x2, real / [] // <= assign a3 range of the slab. if [], select all // [vac_len]: 1x1, real / [] // <= enlarge the slab a3 vector to vac_len, so a vaccum zoen appears. // Note that, the default slab_vec is always tot_a3_cc*cc_vec(3,:). // vac_len will be added based on this value. // [slab_vec]: 3x3, real // => lattice vectors of the slab structure. slab_vec(3,:) is supposed // the finite direction. // default slab_vec is always tot_a3_cc*cc_vec(3,:) envn if you assign // a3_range. // [slab_sublat]: nx6, real // => sublattice information of the slab structure. // [sublat index in prim cell, x,y,z, proj on a3, layer index] // **** Version **** // Jan 28, 2016: first built // **** Comment **** // see results using red_cart_conv.sce to output .xsf file. Then open // it by xcrysden. function [slab_vec,slab_sublat]=PIL_slab_str(cc_vec,cc_sublat,tot_a3_cc,a3_range,vac_len) select length(a3_range) case 0 case 2 a3_range=gsort(a3_range,'g','i'); else disp('Error: PIL_slab_str, a3_range must be 2 values or []'); abort end select length(vac_len) case 0 vac_len=0; case 1 else disp('Error: PIL_slab_str, vac_len must be 1 values or []'); abort end // common variables tot_ccsub=length(cc_sublat(:,1)); a3_unit=cc_vec(3,:)/norm(cc_vec(3,:)); // construct slab strucutre // cc_sublat=[b,n1,n2,n3,x,y,z] // slab_sublat=[b, x,y,z, proj_on_a3] slab_sublat=zeros(tot_a3_cc*tot_ccsub,5) for n=1:tot_a3_cc slab_sublat((n-1)*tot_ccsub+1:n*tot_ccsub,1).. =cc_sublat(:,1); slab_sublat((n-1)*tot_ccsub+1:n*tot_ccsub,2:4).. =cc_sublat(:,5:7)+(n-1)*repmat(cc_vec(3,:),tot_ccsub,1); slab_sublat((n-1)*tot_ccsub+1:n*tot_ccsub,5).. =slab_sublat((n-1)*tot_ccsub+1:n*tot_ccsub,2:4)*a3_unit'; end //construct sublatice of supercell select layers slab_vec=cc_vec; slab_vec(3,:)=cc_vec(3,:)*tot_a3_cc+vac_len*a3_unit; if a3_range~=[] then tmp=find(slab_sublat(:,5)>= a3_range(1) .. & slab_sublat(:,5)<= a3_range(2)); slab_sublat=slab_sublat(tmp,:); end endfunction // //clear; clc; exec(PiLib); //pc_vec=.. //[ 6.300000 0.000000 0.000000 //4.440000 4.480000 0.000000 //-5.370000 -2.240000 2.430000] //pc_sublat=.. //[ 0.000000 0.000000 0.000000 //3.150000 0.000000 1.215000 //4.478580 1.868160 0.000000 //1.328580 1.868160 1.215000] // cc_vec=[0 -1 -1; -1 0 -1; 1 1 0] //[cc_sublat]=PIL_conv_cell_vec(pc_vec,pc_sublat,cc_vec) // // tot_a3_cc=5; //[slab_vec,slab_sublat]=PIL_slab_str(cc_vec,cc_sublat,tot_a3_cc) //
88a7f7bd0fff1fc64c25c7376c3978576dc9d9ef
449d555969bfd7befe906877abab098c6e63a0e8
/446/CH12/EX12.4/12_4.sce
1777de95ce57456ec20f9ac9b99abeae6576b9e0
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
554
sce
12_4.sce
clear clc disp('Exa-12.4'); N=30;Z=26;A=56;Mn=1.008665;Mp=1.007825;m=55.934939;c2=931.5; //given values and constants for case-1 B=((N*Mn)+(Z*Mp)-(m))*c2; //binding energy(per nucleon) printf('Binding nergy per nucleon for 26,56Fe30 is %.3f MeV\n',B/A); N=146;Z=92;A=238;Mn=1.008665;Mp=1.007825;m=238.050785;c2=931.5; //given values and constants for case-2 B=((N*Mn)+(Z*Mp)-(m))*c2; //binding energy(per nucleon) printf('Binding nergy per nucleon for 26,56Fe30 is %.3f MeV',B/A);
6000c748de830cab7ffeeaa377d688ca63d78d52
3592fbcb99d08024f46089ba28a6123aeb81ff3c
/src/asserVisuPred/predCostMire.sci
a2c4991a0f829e10b3e02f301da5d175c76ba289
[]
no_license
clairedune/sciGaitanLib
a29ab61206b726c6f0ac36785ea556adc9ef03b9
7498b0d707a24c170fc390f7413359ad1bfefe9f
refs/heads/master
2020-12-11T01:51:13.640472
2015-01-28T13:52:26
2015-01-28T13:52:26
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
8,479
sci
predCostMire.sci
//-----------------------------------------------// // COST HORIZON FUNCTION ITRO 2010 ALLIBERT // author Claire Dune // date 04/01/2010 //-----------------------------------------------// // // // // function [sm_out,cost] = ga_costHorLoc2dMire(s_in,Z_in,Up_in,Te_in,Np_in,Q_in,e0_in,sdes_in) // compute the cost function on a whole horizon // @param Up the control on the horizon // @param Te sampling time // @param Z a fixed depth // @param sm0 the first feature // @param Q a weight symmetrix positive defined matrix // @param e0 the first error // @param sStar the desired features // compute the matrix sm of the predicted features global store; store =[store; Up_in(1:6)']; sm_out = ga_predHorLoc2dMire(s_in,Z_in,Up_in,Te_in,Np_in); // compute the cost function unsing sm Q and sd cost = ga_costHorizon(Np_in,sm_out,Q_in,e0_in,sdes_in); endfunction function cost = ga_costHorGlobaldMire(s_in,Z_in,Up_in,Te_in,Np_in,Q_in,e0_in,sdes_in) // compute the cost function on a whole horizon // @param Up the control on the horizon // @param Te sampling time // @param Z a fixed depth // @param sm0 the first feature // @param Q a weight symmetrix positive defined matrix // @param e0 the first error // @param sStar the desired features // compute the matrix sm of the predicted features sm_out = ga_predHorGlobalMire(s_in,Z_in,Up_in,Te_in,Np_in); // compute the cost function unsing sm Q and sd cost = ga_costHorizon(Np_in,sm_out,Q_in,e0_in,sdes_in); endfunction function cost = ga_costHorGlobalJerk(s_in,Z_in,sdes_in,Q_in,e0_in,stateCoMIn,rMcIn,jerkIn,SpIn,UpIn,SvIn,UvIn,SaIn,UaIn,TeIn,NpIn,ndofIn) sm_out = predHorGlobalMireJerk(s_in, Z_in, stateCoMIn, rMcIn, jerkIn, SpIn, UpIn, SvIn, UvIn, SaIn, UaIn, TeIn, NpIn, ndofIn); cost = ga_costHorizon(Np_in,sm_out,Q_in,e0_in,sdes_in); endfunction function cost = ga_costHorLocalJerk(s_in,Z_in,sdes_in,Q_in,e0_in,stateCoMIn,rMcIn,jerkIn,SpIn,UpIn,SvIn,UvIn,SaIn,UaIn,TeIn,NpIn,ndofIn) sm_out = predHorLocalMireJerk(s_in, Z_in, stateCoMIn, rMcIn, jerkIn, SpIn, UpIn, SvIn, UvIn, SaIn, UaIn, TeIn, NpIn, ndofIn); cost = ga_costHorizon(Np_in,sm_out,Q_in,e0_in,sdes_in); endfunction //----TODO // on pourrait fusionner ces deux fonction en une seule // en passant en argument la fonction de prediction // rq: la fonction global n'a pas bsoin du calcul de L //-----------------------------------------------// // // cost function for SQP // //-----------------------------------------------// function cost = cld_costSQPMire(index,Uc_in) global Z_global; global s_global; global sdes_global; global computeL_global; L_out = computeL_global(s_global,Z_global); costv = L_out*Uc_in - (-s_global+sdes_global); cost = costv'*costv; endfunction function cost = ga_costSQPMire(index,Uc_in) global Te_global ; global Z_global; global Q_global; global s_global; global e0_global; // error between model and truth global sdes_global; global computeL_global; L_out = computeL_global(s_global,Z_global); sm_out = s_global+ Te_global*L_out*Uc_in; err = sdes_global - sm_out; cost = err'*err; endfunction function cost = ga_costSQPGlobalMire(index,Uc_in) global Te_global ; global Z_global; global Q_global; global s_global; global e0_global; // error between model and truth global sdes_global; [sm_out,Z_out] = ga_predGlobalMire(s_global,Z_global,Uc_in,Te_global); err = sdes_global - sm_out; cost = err'*err; endfunction function cost = testSQP(index,Uc_in) err = Uc_in-[1 2 3 4 5 6]'; cost = err'*err; endfunction //-----------------------------------------------// // COST HORIZON FUNCTION ITRO 2010 ALLIBERT // author Claire Dune // date 04/01/2010 //-----------------------------------------------// function cost = ga_costLocalMire(index,Uc_in) global Nc_global ; global Np_global ; global Te_global ; global Z_global; global Q_global; global s_global; global e0_global; // error between model and truth global sdes_global; global Nbpts_global; Up_out = computeControlOnHorizon(Uc_in,Np_global); cost = ga_costHorLoc2dMire(s_global,Z_global,Up_out,Te_global,Np_global,Q_global,e0_global,sdes_global); if (isnan(cost)) disp('cost is nan') halt() end endfunction function cost = ga_costGlobalMire(index,Uc_in) global Nc_global ; global Np_global ; global Te_global ; global Z_global; global Q_global; global s_global; global e0_global; // error between model and truth global sdes_global; global Nbpts_global; Up_out = computeControlOnHorizon(Uc_in,Np_global); cost = ga_costHorGlobaldMire(s_global,Z_global,Up_out,Te_global,Np_global,Q_global,e0_global,sdes_global); endfunction function cost = cld_costLocalMire(index,Uc_in) global Nc_global ; global Np_global ; global Te_global ; global Z_global; global Q_global; global s_global; global e0_global; // error between model and truth global sdes_global; global Nbpts_global; Up_out = computeControlOnHorizon(Uc_in,Np_global); cost = ga_costHorLoc2dMire(s_global,Z_global,Up_out,Te_global,Np_global,Q_global,e0_global,sdes_global); alpha = 0.01; cost = cost + alpha* Up_out'*Up_out; endfunction function cost = cld_costGlobalMire(index,Uc_in) global Nc_global ; global Np_global ; global Te_global ; global Z_global; global Q_global; global s_global; global e0_global; // error between model and truth global sdes_global; global Nbpts_global; Up_out = computeControlOnHorizon(Uc_in,Np_global); cost = ga_costHorGlobaldMire(s_global,Z_global,Up_out,Te_global,Np_global,Q_global,e0_global,sdes_global); alpha = 0.01; cost = cost + alpha* Up_out'*Up_out; endfunction function cost = costGlobalMireJerk(index,Jerk) global Te_global; global Np_global; global Q_global ; global s_global ; global Z_global ; global e0_global; global sdes_global; global Nbpts_global; global ndof_global; global rMc_global; global stateCoM_global; global Sp_global; global Up_global; global Sv_global; global Uv_global; global Sa_global; global Ua_global; cost = ga_costHorGlobalJerk(s_global,... Z_global,... sdes_global,... Q_global,... e0_global,... stateCoM_global,... rMc_global,... Jerk,... Sp_global,... Up_global,... Sv_global,... Uv_global,... Sa_global,... Ua_global,... Te_global,... Np_global,... ndof_global) endfunction function cost = costLocalMireJerk(index,Jerk) global Te_global; global Np_global; global Q_global ; global s_global ; global Z_global ; global e0_global; global sdes_global; global Nbpts_global; global ndof_global; global rMc_global; global stateCoM_global; global Sp_global; global Up_global; global Sv_global; global Uv_global; global Sa_global; global Ua_global; cost = ga_costHorLocalJerk(s_global,... Z_global,... sdes_global,... Q_global,... e0_global,... stateCoM_global,... rMc_global,... Jerk,... Sp_global,... Up_global,... Sv_global,... Uv_global,... Sa_global,... Ua_global,... Te_global,... Np_global,... ndof_global) endfunction
5edc0a6da9b81adf2a6fae96e1f5ad20a2b5d0cc
449d555969bfd7befe906877abab098c6e63a0e8
/3542/CH4/EX4.10/Ex4_10.sce
c1b75bd3226925b9e5aeaf9a4efe43ab3715ae70
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,951
sce
Ex4_10.sce
// Example no 4.10 // To find the power at receiver // Page no. 152 clc; clear all; // Given data d=50*10^3; // Distance between transmitter and receiver in m hte=100; // Effective heigth of transmitter in m hre=10; // Effective heigth of receiver in m EIRP=1*10^3; // Radiated power in Watt f=900*10^6; // Operating frequency in Hz c=3*10^8; // Speed of ligth in m/s lambda=c/f; // operating wavelength in m EIRP=20*log10(EIRP); // Radiated power in dB Gr=0; // Receiving gain in dB Lf=-10*log10(lambda^2/(4*%pi*d)^2); // Free space path loss in dB Amu=43; // Attenuation relative to free space in dB from Okumuras curve Garea=9; // Gain due to type of environment in dB from Okumuras curve Ghte=20*log10(hte/200); // Base station antenna heigth gain factor for 1000m > hte > 30m Ghre=20*log10(hre/3); // Mobile antenna heigth gain factor for 10m > hre > 3m L50=Lf+Amu-Ghte-Ghre-Garea; // Total mean path loss // The median reeived power Pr=EIRP-L50+Gr; //Displaying the result in command window printf('\n The power at receiver = %0.2f dBm',Pr); //Answer is varrying due to round-off error
229a16a04b3f936696824b0fd1a828eb19f988dd
449d555969bfd7befe906877abab098c6e63a0e8
/3557/CH15/EX15.10/Ex15_10.sce
1a08f0eed59d8251641178b98775f66a76388cb0
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
191
sce
Ex15_10.sce
//Example 15.10// a=17;//A //current along the long dimension b=1*10^-6;//m //thin strip with dimension c=1*10^-3;//m //thin strip wide dimension d=a/(b*c) mprintf("d = %e A/m^2",d)
6bc6c65f99cf61e2bc9d12c0a895114a133c60e7
449d555969bfd7befe906877abab098c6e63a0e8
/243/CH13/EX13.1/13_01.sce
c83affe580316d83309065806df67d458cd442be
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
350
sce
13_01.sce
//Example No. 13_01 //Taylor method //Pg No. 414 clear ; close ; clc ; deff('F = f(x,y)','F = x^2 + y^2') deff('D2Y = d2y(x,y)','D2Y = 2*x + 2*y*f(x,y)'); deff('D3Y = d3y(x,y)','D3Y = 2 + 2*y*d2y(x,y) + 2*f(x,y)^2'); deff('Y = y(x)','Y = 1 + f(0,1)*x + d2y(0,1)*x^2/2 + d3y(0,1)*x^3/6'); disp(y(0.25),'y(0.25) = ') disp(y(0.5),'y(0.5) = ')
87deb048d5d521d5aeeef6541d261c5f168abb89
449d555969bfd7befe906877abab098c6e63a0e8
/1118/CH13/EX13.2/eg13_2.sce
1fdbbacb9cfb6c9de0854195a645c78bedab3372
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
504
sce
eg13_2.sce
clear; //clc(); function [mag,theta]=c(r,i) mag=sqrt(r*r + i*i) theta=atand(i/r) endfunction previousprot = funcprot(0) funcprot(0) r=25; x=90; i=x; [mag,theta]=c(r,i); vs=145; vr=132; pl=0; p=50; pr0=-(vr^2)*r/mag^(2); qr0=-(vr^(2)*x)/mag^(2); pr=vs*vr/mag; q=sqrt(pr^(2) - (pr0 - pl)^(2)) + qr0; qpm=q; printf("\n the rating of the synchronous phase modifier is: %.2f MVAr\n",qpm); phi=atand(qpm/p); printf("\n the pf is: %.2f (lagging)\n",phi);
66bb3c169891b09d40d5d19cd061c27d6ef65f8e
449d555969bfd7befe906877abab098c6e63a0e8
/226/CH11/EX11.7/example7_sce.sce
ec966ec93aaa85a4bf323e19b1f5175c42571193
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
343
sce
example7_sce.sce
//chapter 11 //example 11.7 //page 462 printf("\n") printf("given") Crss=1*10^-12;Ciss=5*10^-12;Yfs=2500*10^-6;Yos=75*10^-6;Rd=5.6*10^3;Rl=100*10^3;R1=3.3*10^6;R2=1*10^6;rs=600; Cgd=Crss; Cgs=Ciss-Crss Av=Yfs*(((1/Yos)*Rd*Rl))/((Rd*Rl+(1/Yos)*Rd+(1/Yos)*Rl)) Cin=Cgs+(1+Av)*Cgd Zi=(R1*R2)/(R1+R2) f2=1/(2*3.14*Cin*((rs*Zi)/(rs+Zi)))
83f678d5468ad49f20929cebbd72ffd65436bedc
449d555969bfd7befe906877abab098c6e63a0e8
/1895/CH5/EX5.11/EXAMPLE5_11.SCE
52a6d1b9430d6583f4157929c5f2d1e65eb5b9b3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,770
sce
EXAMPLE5_11.SCE
//ANALOG AND DIGITAL COMMUNICATION //BY Dr.SANJAY SHARMA //CHAPTER 5 //ANGLE MODULATION clear all; clc; printf("EXAMPLE 5.11(PAGENO 217)"); //given //x(t) = 5*cos(2*%pi*15*10^3*t) V_m = 5//amplitude of voltage f_m = 15*10^3//modulation frequency k_f = 15*10^3//frequency sensitivity k_p = 15*10^3//phase sensitivity //calculations //first case //for FM system delta_f1 = k_f * V_m;//frequency deviation for FM system m_f1 = delta_f1/f_m; //modulation index in FM system BW1 = 2*(delta_f1+f_m);//bandwidth for FM system //for PM system delta_f2 = k_f * V_m*f_m;//frequency deviation for PM system BW2 = 2*(delta_f2 + f_m);//bandwidth for PM system m_p1 = k_p * V_m//modulation index in PM system //second case f_m1 = 5*10^3//modulating frequency for second case //for FM system delta_f3 = k_p * V_m;//frequency deviation for FM system m_f2 = delta_f3/f_m1; //modulation index in FM system BW3 = 2*(delta_f3+f_m1);//bandwidth for FM system //for PM system delta_f4 = k_p * V_m*f_m1;//frequency deviation for PM system BW4 = 2*(delta_f4 + f_m1);//bandwidth for PM system m_p2 = k_p * V_m//modulation index in PM system //results printf("\n\ni.a.Modulation index of FM system for first case = %.2f",m_f1); printf("\n\n b.Bandwidth of FM system for first case = %.2f Hz",BW1); printf("\n\nii.a.Modulation index of PM system for first case = %.2f",m_p1); printf("\n\n b.Bandwidth of PM system for first case = %.2f Hz",BW2); printf("\n\niii.a.Modulation index of FM system for second case = %.2f",m_f2); printf("\n\n b.Bandwidth of FM system for second case = %.2f Hz",BW3); printf("\n\niv.a.Modulation index of PM system for second case = %.2f",m_p2); printf("\n\n b.Bandwidth of PM system for second case = %.2f Hz",BW4);
01efaa3373191c4275a09a1a479858bbe787bbd5
449d555969bfd7befe906877abab098c6e63a0e8
/1385/CH9/EX9.14/9_14.sce
fec78dd1048bbdf8387882968ca733fc53879678
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
149
sce
9_14.sce
clc //initialisation of variables c= 1.92*10^-5 //mole per litre //CALCULATIONS pH= -log10(c) //RESULTS printf (' pH of solution = %.2f ',pH)
4a6e2d335436e251b5a7f912fe4c2ab4f41e37c1
3bbb143919dc13b04e7eb3e3a72a26d0ed8bb0f6
/lbl2.sce
efa4b15e761b0d84da6fdcb72aa7d4c7650da8e9
[]
no_license
moueza/multi-body-system-scicos-scilab
c4dbd0bef67f9eb24d59bd12933c5a40150a9d81
0a87575863ff4d0bcd825df70b48a716df29bd58
refs/heads/master
2022-08-29T20:03:45.042873
2022-07-17T16:00:47
2022-07-17T16:00:47
186,108,145
0
0
null
null
null
null
UTF-8
Scilab
false
false
566
sce
lbl2.sce
//exec("pendule.sci") exec('/home/peter/POUB/multi-body-system-scicos-scilab/pendule.sci', 1); //les données numériques g=10; l=1; m=1; M=1; k=0.5; //Il les valeurs initiales x0=1; y0=1; theta0=0; u0=[0;0;0]; Y0=[x0;y0;theta0;u0;0]; uprim0= [ 0; -g;0]; Yprim0= [u0; uprim0;0]; // instants où l'on calcule t0=0; t=t0:0.05:20; // paramètres de dassl atol=[0.0001;0.0001;0.0001;0.0001;0.0001;0.0001;0.001]; rtol=atol; // appel de dassl Y=dassl([Y0, Yprim0],t0,t,rtol, atol, f); //Undefined variable: M4m //dassl: An error occurred in 'dassl' subroutine.
0c7a30588b5e977959fd9e0735538e4d3ea1b29b
449d555969bfd7befe906877abab098c6e63a0e8
/162/CH1/EX1.15.b/example115b.sce
f549aadd90fe3b5783619393e32eed1419e088f9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
192
sce
example115b.sce
//Example 1.15b //Check whether the given signal is periodic or not clc; t=-10:0.01:10; y=sin((2*%pi/5)*t); plot(t,y); disp('Plot shows that the given signal is periodic with period 5');
f22b7b0916c703182bbde5094142d4a5e7fb5c69
449d555969bfd7befe906877abab098c6e63a0e8
/284/CH6/EX6.6/ex_6.sce
24741d77d783fde5619965e09cb45dde35c68af2
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
429
sce
ex_6.sce
// Chapter 6_The pn junction //Caption_Junction capacitance //Ex_6//page 232 T=300 //temperature in kelvin S=1.32*10^15 //slope of the curve between Vr and (1/c)^2 ni=1.5*(10^10) Vbi=0.855 //Built in potential barrier eps=11.7*8.85*(10^-14) e=1.6*(10^-19) Nd=2/(e*eps*S) Na=((ni^2)/Nd)*exp(Vbi/0.0259) printf('The impurity doping concentration in p+n junction is -acceptor %f cm^-3 and donor %f cm^-3',Na,Nd)
05e6ad7215da88b4d828588288838e09056fe6a9
c1586080142293015bec970587dc8f1d9814b936
/Code/LDT.sce
5eb56760933010695a594508971f0c0433f86ff0
[]
no_license
Connorrr/Lexical-Decision-Task
4fae528146e460aa8a15168eebc4e8a4bff39b49
43bc669a2907b7bbbf0ab50629136fbceaaf6231
refs/heads/master
2020-04-06T06:55:16.242802
2016-08-26T04:41:30
2016-08-26T04:41:30
63,307,514
0
0
null
null
null
null
UTF-8
Scilab
false
false
3,353
sce
LDT.sce
#File: LDT.sce #Description: Contains trial objects #Programmer: Connor Reid (Psy Technician) #Created@: 14/07/2016 #LastMod@: 14/07/2016 #ModifiedBy: Connor Reid #Copyright@: School Of Psychology, Griffith University #------------------------------------------------------------------- pcl_file = "LDT.pcl"; scenario = "LDT"; response_matching = simple_matching; default_font_size = 20; default_text_color=255,255,255; default_background_color = 0,0,0; active_buttons = 1; button_codes = 1; #write_codes = true; #write codes to port #pulse_width = 20; #if port is parallel begin; ############### Text ######################################### text{ caption = "In the following task you will be presented with a string of letters. Your task is to quickly and accurately identify whether the string of letters is a word or non-word. eg. Word \"THE\" or Non-word \"TEH\"\n Please respond by pressing the spacebar key if the string of letters is a word.\n If the string of letters is a non-word, please do not press any key. The next trial will begin soon after.\n Please place your finger on the spacebar key to prepare.\n Before completing the trials, you will be presented with 10 practice trials.\n Press the spacebar when you are ready to continue."; }instructions_text; text{ caption = "Please respond by pressing the <b>spacebar</b> key if the string of letters is a <b>word</b>. If the string of letters is a <b>non-word</b>, please <b>do not press any key</b>. The next trial will begin soon after.\n Please place your finger on the spacebar key to prepare."; formatted_text = true; }instructions_text2; text{ caption = "Blah"; font_size = 50; }main_text; text{ caption = "Congratulations! You have finished all trials. Thank you for your participation."; }goodbye_text; ########################### Pictures ######################### picture{ text instructions_text; x = 0; y = 0; }instructions_pic; picture{ text instructions_text2; x = 0; y = 0; }instructions_pic2; picture{ text main_text; x = 0; y = 0; }main_pic; picture{ text{caption = "+"; font_size = 40; font_color = 255,255,255;}fixation_text; x = 0; y = 0; }fixation_pic; picture{ text{caption = "?"; font_size = 50;}question_mark_text; x = 0; y = 0; }question_mark_pic; picture{ text goodbye_text; x = 0; y = 0; }goodbye_pic; ###################### Trials ################################ trial{ trial_duration = forever; trial_type = first_response; picture instructions_pic; }instructions_trial; trial{ trial_duration = forever; trial_type = first_response; picture instructions_pic2; }instructions_trial2; trial{ trial_duration = 200; trial_type = first_response; picture main_pic; }main_trial; trial{ trial_duration = 500; trial_type = fixed; picture fixation_pic; }fixation_trial; trial{ trial_duration = 1000; trial_type = fixed; stimulus_event{ picture question_mark_pic; response_active = true; }response_event; }question_mark_trial; trial{ trial_duration = 500; trial_type = fixed; picture {}blank_pic; }blank_trial; trial{ trial_duration = 500; trial_type = fixed; picture {text{caption = "X"; font_size = 50; font_color = 255,0,0;}incorrect_text; x = 0; y = 0;}incorrect_pic; }incorrect_trial; trial{ trial_duration = 3000; trial_type = fixed; picture goodbye_pic; }goodbye_trial;
98124d340be224e57c0cdc2f30cbff33b9a99721
8217f7986187902617ad1bf89cb789618a90dd0a
/browsable_source/2.4/Unix-Windows/scilab-2.4/macros/auto/krac2.sci
608b088716c7882cdc41562b4ae1603c64a92515
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
clg55/Scilab-Workbench
4ebc01d2daea5026ad07fbfc53e16d4b29179502
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
refs/heads/master
2023-05-31T04:06:22.931111
2022-09-13T14:41:51
2022-09-13T14:41:51
258,270,193
0
1
null
null
null
null
UTF-8
Scilab
false
false
479
sci
krac2.sci
function kp=krac2(n) // Copyright INRIA if type(n)<>16 then error(97,1),end; flag=n(1) select flag(1) case 'r' then [n,d,dom]=n(2:4) case 'lss' then n=ss2tf(n);[n,d,dom]=n(2:4) else error(97,1), end; if dom<>'c' then error('System must be continuous'),end if size(n,'*')<>1 then error(95,1),end x=[]; q1=derivat(n/d);s=roots(q1(2)); // for a=s', if abs(imag(a))<=10*%eps then x=[x;a], end, end //x(x==0)=[] if x==[] then;return,end kp=sort(-real(freq(d,n,real(x))))
39341e2b7c77cad6d042825f3962b5e3e6f6ab87
449d555969bfd7befe906877abab098c6e63a0e8
/710/CH1/EX1.2/1_2.sci
1ba9d760bc418ac04f0c763a3c68dee366139d77
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
434
sci
1_2.sci
clc(); clear; //To determine the distance when intensity or power of source of sound changes //Io=10^-12; //Initial intensity of sound //d=50; //d=number of decibels given by 10log(Io/I1) //Therefore I1=10^5Io=10^-7W/m^2 I1=10^(-7); P=70; //Output power in W r=sqrt(P/(4*(%pi)*I1)) //distance in m printf("The distance at which sound reduces to a level of 50dB is %f m",r);
be74a3d85d70c6378135bb9e439e30d2af4d1e5c
449d555969bfd7befe906877abab098c6e63a0e8
/1358/CH7/EX7.6/Example76.sce
0205d526b916c88bdf408998f8423a62dc67ef88
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,130
sce
Example76.sce
// Display mode mode(0); // Display warning for floating point exception ieee(1); clear; clc; disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 7, Example 6") disp("Annulus area A is given by") disp("A = 2 pi*rm*h") disp("where h = blade height") disp("rm = mean radius") disp("As we have to find the blade height from the outlet conditions, in this case annulus area is A3.") disp("h = A3/2pi*rm") disp("Um = pi*Dm*N") Um = 300;//m/s N = 240;//rps Dm = Um/(%pi*N) rm = Dm/2 disp("Temperature drop in the stage is given by Drop = T01-T03") Drop = 145//Kelvins T01 = 1150; T03 = T01-Drop C3 = 390; Cpg = 1.147; T3 = T03-C3^2 / (2*Cpg*1000) disp("Using turbine efficiency to find isentropic temperature drop") eta = 0.88; T03a = T01-Drop/eta disp("Using isentropic p–T relation for expansion process") P01 = 8; P03 = P01/(T01/T03a)^(4) disp("Also from isentropic relation") P3 = P03/(T03a/T3)^4 disp("where P01,P3;P03 are in bars") R = 0.287; rho3 = P3/(R*T3) *100//kg/m3 m = 34;//kg/s Ca3 = C3; A3 = m/(rho3*Ca3) h = A3/(2*%pi*rm) disp("where h is in m")
ed7c9ca6f779fec6053a7d0d64c6ff2b92ef9ad9
76b8c4ba0a69d3281b658f0fcf0ec56a96e27581
/Scripts/additionImage.sci
2f1ce893059f3195922a76d54076ff7b60c15e4b
[]
no_license
RomainJunca/ExoLife
0824fa566b38c5061f77592df6c38c3614dd8619
8da1524432d0ef1137d5e73e80cec339e6ec1c33
refs/heads/master
2020-05-25T14:08:07.353617
2017-03-20T08:31:32
2017-03-20T08:31:32
84,937,995
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,112
sci
additionImage.sci
//Fonction addtionnant deux images function image_out=additionImage(img1,img2) img1SizeX = size(img1,1); img1SizeY = size(img1,2); img2SizeX = size(img2,1); img2SizeY = size(img2,2); image_out = zeros(img1SizeX,img1SizeY);//On crée une matrice nulle de même dimension que la première image. for x = 1: img1SizeX; for y = 1: img1SizeY; if x > img2SizeX | y > img2SizeY then //SI l'intensité du pixel est inférieur à celle du même pixel sur la deuxième image. image_out(x, y) = img1(x, y);//On garde la valeur du pixel de la première image. elseif (img1(x, y)+img2(x,y))>255 then //On dis que si la somme est supérieur à 255 alors c'est égal a 255 pour rester dans la image_out(x,y)=255;// SINON SI la valeur du pixel de la première image PLUS celle du pixel de la deuxième image est Positif else image_out(x,y)= img1(x,y)+img2(x,y);//SINON on garde la valeur de la somme end, end end endfunction
220f43ce1a948c1efcccea512b8110ac9cf40573
449d555969bfd7befe906877abab098c6e63a0e8
/3681/CH5/EX5.16/Ex5_16.sce
a25af31afd5dd2d3d89827cb2bd40e0a68640f62
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,217
sce
Ex5_16.sce
// Calculating the instantaneous radial force on the h.v. winding if a short circuit occurs at the terminals of the l.v. winding with h.v. energised and the force at full load clc; disp('Example 5.16, Page No. = 5.97') // Given Data // 6600/400 V, delta/star 3-phase core type transformer Q = 1000;// kVA rating f = 50;// Frequency (in Hz) u0 = 4*%pi*10^(-7); T = 500;// h.v winding turns Lmt = 1.3;// Length of mean turn (in meter) Lc = 0.6;// Height of winding (in meter) m = 1.8;// Doubling effect multiplier // Calculation of the per unit leakage reactance I_fl = Q*1000/(3*6600);// Full load current per phase on h.v. side (in Ampere) i = m*2^(1/2)*(1/0.05)*I_fl;// Instantaneous peak value of short circuit current (in Ampere) Fr = u0/2*(i*T)^(2)*Lmt/Lc;// Total instantaneous radial force on the h.v. coil (in N) disp(Fr,'Total instantaneous radial force on the h.v. coil (N)='); Fr = u0/2*(I_fl*T)^(2)*Lmt/Lc;// Force at full load (in N) disp(Fr,'Force at full load (N)='); disp('This shows that the forces under short circuit conditions are considerably large as compared with forces at full load') //in book answers are 2330000 (N) and 866 (N). The answers vary due to round off error
03395cb0b74316019a6e6a65dc72d884abd76272
449d555969bfd7befe906877abab098c6e63a0e8
/548/DEPENDENCIES/6_17data.sci
c44970687e0cdeffa11ade82448d52d41038620f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
672
sci
6_17data.sci
//for the jet power executive aircraft(CJ-1): W=88176.75;//normal gross weight(N) b=16.25;//wingspan(meter) S=29.54;//wingarea(m^2) AR=b^2/S;//aspect ratio e=0.81;//oswald efficiency factor h=1.83;//Height(m)of wing above ground D=1.225;//density at sea level(Kg/m^3) g=9.8;//Gravitational constant Ur=0.02;//Rolling friction coefficient Cl=1.0;//maximum lift coefficient during ground roll Cdo=0.02;//parasite drag coefficient T=32485;//thrust(N) phi=(16*h/b)^2/(1+(16*h/b)^2)//Ground effect factor Vlo=1.2*sqrt(2*W/(D*S*Cl))//liftoff velocity(1.2*Vstall in m/s) Dr=D*(0.7*Vlo)^2*S*(Cdo+phi*Cl^2/(%pi*e*AR))/2//drag(N) L=D*(0.7*Vlo)^2*S*Cl/2//lift(N)
5b5fa5a9744f6208324a92c2d68a10723dd6873c
089894a36ef33cb3d0f697541716c9b6cd8dcc43
/NLP_Project/test/blog/bow/bow.11_12.tst
cc69f2acb5b9803c244ee07e59992d5e4ce3e303
[]
no_license
mandar15/NLP_Project
3142cda82d49ba0ea30b580c46bdd0e0348fe3ec
1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2
refs/heads/master
2020-05-20T13:36:05.842840
2013-07-31T06:53:59
2013-07-31T06:53:59
6,534,406
0
1
null
null
null
null
UTF-8
Scilab
false
false
3,359
tst
bow.11_12.tst
11 1:0.4 5:1.0 10:0.06666666666666667 35:0.16666666666666666 37:1.0 62:0.07142857142857142 195:1.0 292:1.0 635:0.3333333333333333 1103:1.0 1564:1.0 11 22:1.0 23:1.0 55:0.5 61:1.0 91:1.0 305:0.2 1133:1.0 11 10:0.06666666666666667 12:0.25 31:0.3333333333333333 61:1.0 62:0.07142857142857142 104:1.0 132:1.0 157:1.0 172:0.08333333333333333 11 91:1.0 199:1.0 307:0.3333333333333333 1454:1.0 11 16:1.0 62:0.07142857142857142 67:1.0 534:0.08333333333333333 11 1:0.2 8:0.25 91:1.0 210:0.375 228:2.0 266:1.0 387:3.0 1471:1.0 11 37:1.0 66:1.0 232:0.1111111111111111 711:0.5 1224:1.0 11 4:0.125 5:1.0 17:0.5 35:0.3333333333333333 37:2.0 65:1.0 66:1.0 83:1.0 91:1.0 232:0.1111111111111111 242:1.0 317:0.5 339:1.0 580:1.0 1305:1.0 11 5:1.0 62:0.07142857142857142 222:1.0 317:1.0 11 3:0.2 12:0.5 132:1.0 210:0.25 280:0.025 305:0.2 707:1.0 710:1.0 11 1:0.2 3:0.2 5:1.0 35:0.16666666666666666 37:2.0 62:0.07142857142857142 104:1.0 220:0.5 222:1.0 269:1.0 326:1.0 600:1.0 1286:1.0 11 1:0.2 2:1.0 5:1.0 8:1.5 37:2.0 61:1.0 62:0.14285714285714285 125:1.0 128:0.3333333333333333 228:1.0 232:0.2222222222222222 317:0.5 339:1.0 514:0.25 1108:1.0 1361:0.5 11 4:0.125 5:1.0 17:0.5 35:0.3333333333333333 37:2.0 65:1.0 66:1.0 83:1.0 91:1.0 232:0.1111111111111111 242:1.0 317:0.5 339:1.0 580:1.0 1305:1.0 11 5:1.0 62:0.07142857142857142 222:1.0 317:1.0 11 66:1.0 11 96:0.5 11 209:1.0 11 1:0.2 2:1.0 3:0.2 8:0.25 10:0.06666666666666667 12:0.5 31:0.3333333333333333 33:1.0 66:1.0 80:1.0 84:1.0 91:1.0 120:0.5 143:1.0 210:0.125 1382:1.0 1426:1.0 11 1:0.2 10:0.13333333333333333 12:0.5 31:0.3333333333333333 37:1.0 62:0.07142857142857142 79:1.0 81:0.5 84:1.0 132:1.0 206:1.0 210:0.125 333:1.0 11 1:0.2 2:1.0 8:0.5 12:0.5 17:0.5 62:0.07142857142857142 98:0.1111111111111111 229:1.0 267:1.0 292:1.0 882:1.0 1196:1.0 1233:1.0 1240:1.0 1340:1.0 11 3:0.2 5:1.0 8:0.25 12:0.25 31:0.3333333333333333 119:1.0 201:1.0 202:1.0 292:1.0 305:0.2 1349:1.0 1380:1.0 11 1:0.4 2:1.0 5:1.0 8:0.25 12:0.25 23:1.0 37:1.0 62:0.14285714285714285 64:0.2 73:0.5 91:1.0 187:1.0 199:1.0 243:1.0 340:0.25 859:1.0 1040:1.0 11 1:0.2 3:0.2 5:1.0 12:0.25 75:0.14285714285714285 132:1.0 1127:1.0 1382:1.0 11 12:0.25 50:1.0 62:0.07142857142857142 83:0.5 143:1.0 512:1.0 736:1.0 1236:1.0 11 12:0.25 31:0.3333333333333333 11 1:0.2 5:1.0 8:0.25 10:0.06666666666666667 12:0.5 25:0.0625 31:0.6666666666666666 35:0.16666666666666666 37:1.0 40:1.0 62:0.07142857142857142 66:1.0 75:0.14285714285714285 146:1.0 147:1.0 212:1.0 391:0.5 439:1.0 451:1.0 11 12:0.25 31:0.3333333333333333 50:1.0 90:0.5 143:1.0 206:1.0 292:1.0 340:0.25 11 1:0.2 5:1.0 12:0.25 25:0.0625 42:1.0 61:1.0 62:0.07142857142857142 63:1.0 132:1.0 964:1.0 11 8:0.25 25:0.0625 31:0.3333333333333333 49:1.0 62:0.07142857142857142 64:0.2 69:0.5 71:1.0 202:1.0 697:1.0 11 10:0.06666666666666667 31:0.3333333333333333 35:0.16666666666666666 37:1.0 58:1.0 62:0.07142857142857142 85:1.0 206:1.0 326:1.0 389:1.0 905:1.0 1168:1.0 11 1:0.2 5:1.0 8:0.25 12:0.25 37:1.0 64:0.2 73:0.5 82:1.0 128:0.3333333333333333 210:0.125 227:0.5 335:0.5 1282:1.0 1361:0.5 11 3:0.2 33:1.0 58:1.0 93:0.5 95:1.0 11 1:0.2 451:1.0 807:1.0 1176:1.0 1249:1.0 1469:1.0 11 8:0.25 58:1.0 91:1.0 96:0.5 854:1.0 11 1:0.4 2:1.0 12:0.25 25:0.0625 35:0.3333333333333333 115:1.0 172:0.08333333333333333 315:1.0 1449:1.0 11 1:0.4 2:1.0 3:0.2 198:1.0 292:1.0 11 1:0.2 91:1.0 117:1.0 307:0.16666666666666666
0ba94c340c5f7986a1525e97b1accff951902d0b
449d555969bfd7befe906877abab098c6e63a0e8
/905/CH1/EX1.10/1_10.sce
bdaec93592aa234eb47812a43922fe8e2a3fb58a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
774
sce
1_10.sce
clear; clc; // Illustration 1.10 // Page: 30 printf('Illustration 1.10 - Page:30 \n\n'); // Solution //*****Data*****// // acetone-1 benzene-2 T = 298; // [K] x_1 = 0.7808; x_2 = 1-x_1; // The infinite dilution diffusivities are D_12o = 2.75*10^-9; // [square m/s] D_21o = 4.15*10^-9; // [square m/s] // From the NRTL equation, for this system at the given temperature and concentration the thermodynamic correction factor r = 0.871. r = 0.871; D_12exp = 3.35*10^-9; // [square m/s] //*****// // Using equation 1.56 D_12 = (D_12o^x_2)*(D_21o^x_1); D_12 = D_12*r; printf("The theoritical value of Fick diffusivity is %e square m/s",D_12); // The predicted value of the Fick diffusivity is in excellent agreement with the experimental result.
574ef8f96cdf9e842988004baa5618af8b1e99f4
efc2fec9dd841d0ca834702c904e00c52762a9f9
/Demo/detecting.sci
6e718c6345c00c929ee0bd9e124eeee29213e429
[]
no_license
surajch77/Scilab-Computer-Vision-Toolbox-TestCases
64c8e0382e8b9d416c4c27c1ed4272f49bf45b51
969f9bcddefea05b42c623aeebe2e0cdcffd6eeb
refs/heads/master
2021-01-20T20:24:14.345296
2016-06-29T15:16:52
2016-06-29T15:16:52
61,932,313
0
0
null
null
null
null
UTF-8
Scilab
false
false
399
sci
detecting.sci
function J_list = detecting(I) bboxes = peopleDetector(I) [rows cols] = size(bboxes) for i = 1 : rows x_1 = bboxes(i, 1); y_1 = bboxes(i, 2); x_2 = bboxes(i, 1) + bboxes(i, 3); y_2 = bboxes(i, 2) + bboxes(i, 4); /// opencv_rectangle(....., r, g, b, thickness, linetype, shift) I = rectangle(I, x_1, y_1, x_2, y_2, 0, 255, 0, 2, 8, 0); end J_list = mattolist(I); endfunction
d73bb8f1845552124e287b52595f832a137ccc7c
449d555969bfd7befe906877abab098c6e63a0e8
/534/CH13/EX13.2/13_2_View_Factor_Geometries.sce
dcc25225ac649453bbbb97e70c52ef9cd0fd8710
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,033
sce
13_2_View_Factor_Geometries.sce
clear; clc; printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 13.2 Page 821 \n')// Example 13.2 // View Factors of known surface Geometries // (1) Sphere within Cube F12a = 1 ;//By Inspection F21a = (%pi/6)*F12a ; //By Reciprocity // (2) Partition within a Square Duct F11b = 0 ;//By Inspection //By Symmetry F12 = F13 F12b = (1-F11b)/2 ; //By Summation Rule F21b = sqrt(2)*F12b ; //By Reciprocity // (3) Circular Tube //From Table 13.2 or 13.5, with r3/L = 0.5 and L/r1 = 2 F13c = .172; F11c = 0; //By Inspection F12c = 1 - F11c - F13c ;//By Summation Rule F21c = F12c/4 ;//By Reciprocity printf('\n Desired View Factors may be obtained from inspection, the reciprocity rule, the summation rule and/or use of charts \n (1) Sphere within Cube F21 = %.3f \n (2) Partition within a Square Duct F21 = %.3f \n (3) Circular Tube F21 = %.3f',F21a,F21b,F21c);
3d9874a1c8d66e9042b0b3948248a963e900a147
449d555969bfd7befe906877abab098c6e63a0e8
/632/CH10/EX10.10/example10_10.sce
0e1b75e38423d3760ad4dc6f7b736cc7ce6fd746
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
918
sce
example10_10.sce
//clc() mlime = 5;//kg mcoke = 1;//kg PCaCO3l = 84.5;//% PMgCO3l = 11.5;//% NCaCO3l = PCaCO3l * mlime / (100.09*100); NMgCO3l = PMgCO3l * mlime / (84.312*100); mInertsl = mlime * ( 100 - PCaCO3l - PMgCO3l ) / 100; PCc = 76;//% Pashc = 21;//% Pwaterc = 3;//% NCc = mcoke * PCc /(100*12); Nwaterc = mcoke * Pwaterc / ( 100 * 18.016 ); mash = Pashc * mcoke / 100; //CaCO3 + C + O2 = CaO + 2CO2 //MgCO3 + C + O2 = MgO + 2CO2 PCaCO3conv = 95;//(Percent calcination of CaCO3) PMgCO3conv = 90;//(Percent calcination of MgCO3) NCaO = PCaCO3conv * NCaCO3l / 100; mCaO = NCaO * 56.08; NMgO = PMgCO3conv * NMgCO3l / 100; mMgO = NMgO * 40.312; mCaCO3 = (NCaCO3l * (1-PCaCO3conv/100)*100.09); mMgCO3 = (NMgCO3l * (1-PMgCO3conv/100)*84.312); mtotal = mCaO + mMgO + mCaCO3 + mMgCO3 + mInertsl + mash; PCaO = mCaO * 100 / mtotal; disp("%",PCaO,"The weight percent of CaO in the product leaving the kiln = ")
7f5872e33cd6ee7147625eab9cdc9da08a63ef07
f9157b24bd3482d72ec64073a522b11a2db1c9ff
/port_tester/porttest.sce
8aa8caf268099cc9a1e8a28cf4496fe7b5be89f3
[]
no_license
gjcooper/presentation-utility-experiments
3c35f4b075fba3c5415e1091dcdda72e337f53db
e2c989c80181b0ed2d690639d16b1f0ac1acfe2d
refs/heads/master
2021-01-10T10:51:01.588392
2017-03-15T02:54:55
2017-03-15T02:54:55
53,284,692
0
0
null
null
null
null
UTF-8
Scilab
false
false
451
sce
porttest.sce
pcl_file = "porttest.pcl"; scenario = "Port Tester"; default_font_size = 14; default_background_color = 0, 0, 0; response_matching = simple_matching; begin; picture {} default; picture { text { caption = "Please enter a number 1-255 or c to continue\n"; } ootxt; x = 0; y = 0; } oopic; picture { text { caption = "Repeating 255"; } rptxt; x = 0; y = 0; } rpic; picture { text { caption = "Cycling 1-255"; } ctxt; x = 0; y = 0; } cpic;
011877204a84c5c1e9b57b2ad851cfcc30a838ec
449d555969bfd7befe906877abab098c6e63a0e8
/2045/CH9/EX9.1/Ex9_1.sce
4a676521a8e9a98ce32a52ead2883bef371b659d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
673
sce
Ex9_1.sce
//pagenumber 424 example 1 clear //(1) frequency freque=100*10^3*sqrt(2^(1/3)-(1)); frequ2=100*10^3/sqrt(2^(1/3)-(1)); disp("frequency1 = "+string((freque))+"hertz"); disp("frequency2 = "+string((frequ2))+"hertz"); //(2)frequency freq11=100*10^6;//hertz freq12=150*10^6;//hertz freq13=200*10^6;//hertz freq21=100*10^3;//hertz freq22=150*10^3;//hertz freq23=200*10^3;//hertz frequ1=sqrt(freq11^2+freq12^2+freq13^2); disp("frequency = "+string((frequ1))+"hertz");//correction in the book 269.25mega hertz frequ1=1/sqrt((1/(freq21^2))+(1/(freq22^2))+(1/(freq23^2))); disp("frequency = "+string((frequ1))+"hertz");//correction in the book
a6f5d1697c457255739a85b697ea57bb0cd4280e
361bde95a22190692c954b03dcc9add9c73f6646
/ASSIGNMENT-4/E-VV.sce
eefd1e918f93ab3834bb3522c8ed9397c5e24cf4
[]
no_license
madhuri1234567/SCILAB
ad80337ea4211ce7c2fc2f8dc44763cdc34738c0
29a6a879f90e679ce5b4f560436fe4b186257052
refs/heads/master
2020-12-29T21:13:27.352657
2020-04-11T09:01:18
2020-04-11T09:01:18
238,733,957
1
0
null
null
null
null
UTF-8
Scilab
false
false
392
sce
E-VV.sce
clc;clear;close // FOR ANY MATRIX ORDER [3x3] A=input("enter the matrix [ORDER [3x3]]") X=poly(0,'X'); X=X; charmat=A-X*eye(3,3); disp(charmat,'the characteristic matrix is'); charpoly=poly(A,'X'); disp(charpoly,'the characteristic polynomial is'); X=spec(A); disp(X,'the eigen values of A are'); [evec,eval]=spec(A); disp(evec,'the eigen vectors of A are');
42c11b706a91d185adcb5005d95ce07a94370d19
449d555969bfd7befe906877abab098c6e63a0e8
/551/CH3/EX3.26/26.sce
c5dcadb1c2c82446afb203f7f8c4397e8d0061fc
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
275
sce
26.sce
clc p1=8; //bar p2=1; //bar T_sup2=115; //0C T_s2=99.6; //0C h_f1=720.9; //kJ/kg h_fg1=2046.5; //kJ/kg h_f2=417.5; //kJ/kg h_fg2=2257.9; //kJ/kg c_ps=2.1; x1=[h_f2+h_fg2+c_ps*(T_sup2-T_s2)-h_f1]/h_fg1; disp("Dryness fraction of the steam in the main = ") disp(x1)
ee4d59fffd354ca7de4dd926ec4b03c201491a08
ebd6f68d47e192da7f81c528312358cfe8052c8d
/swig/Examples/test-suite/scilab/li_cpointer_runme.sci
0aa4339c86aa5b6d7e2d432e5cdef9acb8b8c131
[ "LicenseRef-scancode-swig", "GPL-3.0-or-later", "LicenseRef-scancode-unknown-license-reference", "GPL-3.0-only", "Apache-2.0" ]
permissive
inishchith/DeepSpeech
965ad34d69eb4d150ddf996d30d02a1b29c97d25
dcb7c716bc794d7690d96ed40179ed1996968a41
refs/heads/master
2021-01-16T16:16:05.282278
2020-05-19T08:00:33
2020-05-19T08:00:33
243,180,319
1
0
Apache-2.0
2020-02-26T05:54:51
2020-02-26T05:54:50
null
UTF-8
Scilab
false
false
155
sci
li_cpointer_runme.sci
exec("swigtest.start", -1); p = new_intp(); intp_assign(p, 3); checkequal(intp_value(p), 3, "intp_value(p)"); delete_intp(p); exec("swigtest.quit", -1);
4b179c2911505a7f5e86581c5c9b46420db0f48a
449d555969bfd7befe906877abab098c6e63a0e8
/704/CH2/EX2.24/ex2_24.sce
413a28f0f536c9b4b42fa46052f199d719d002c3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
532
sce
ex2_24.sce
//Caption:Percentage change in speed of a d.c. motor //Exam:2.24 clc; clear; close; V=240;//supply voltage(in V) R_a=0.5;//armature resistance(in Ohm) I_1=100;//armature current (in Amp) I_2=50;//changed armature current(in Amp) E_1=V-R_a*I_1;//induced emf(in V) E_2=V-R_a*I_2;//changed induced emf due to I_2 //flux per pole is constant N_r=E_2/E_1;//ratio of speed in machine due to voltage change N_rp=(N_r-1)*100;//Percentage change in speed of d.c. motor disp(N_rp,'Percentage change in speed of d.c. motor==');
999662742342a6368a432ff0eb4c21a66ba7b2e2
b6b875fb04ec6df2c0fb0d28f36962fa9aebb2bf
/TD6/Scripts/insere.sci
18359f5c597c099a07305c9375b1f5c6b779f49e
[]
no_license
MFrizzy/Modelisation
51794b2edf421f9d2206cb73972d8d8d7b1e9759
0ca819afbcbe00f58f3bbaa8fc97164ae2c1d3cb
refs/heads/master
2021-08-29T12:02:20.042037
2017-12-13T22:39:21
2017-12-13T22:39:21
106,943,303
0
0
null
null
null
null
UTF-8
Scilab
false
false
348
sci
insere.sci
function newq = insere(q, ta, ts) if q($, 1) < ta then q($+1,:) = [ta, 1, 1]; else ind = sum(q(:, 1) < ta); q(ind+2:$+1, :) = q(ind+1:$, :); q(ind+1,:) = [ta, q(ind,2), 1]; q(ind+1:$,2) = q(ind+1:$,2) + 1; end s = q($, 1) + ts q($+1, :) = [s, q($, 2) - 1, -1]; newq = q endfunction
49d0b9c19bc2aedb4d4cc79e7288a217aeb12822
449d555969bfd7befe906877abab098c6e63a0e8
/3204/CH20/EX20.9/Ex20_9.sce
f39ea22c1cbd48b7c0c68b493ff9e1129e4c3ae1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,120
sce
Ex20_9.sce
// Initilization of variables s=1000 // m // distance OB (ref fig.20.13) h=19.6 // m // height of shell from ground g=9.81 // m/s^2 // acc due to gravity // Calculations // MOTION OF ENTIRE SHELL FROM O to A. v_y=sqrt(2*(g)*h) // m/s // initial velocity of shell in vertical direction t=v_y/g // seconds // time taken by the entire shell to reach point A v_x=s/t // m/s // velocity of shell in vertical direction // VELOCITIES OF THE TWO PARTS OF THE SHELL AFTER BURSTING AT A: // Let v_x2 be the horizontal velocity of 1st & the 2nd part after bursting which is given as, v_x2=v_x*2 // m/s // Now distance BC travelled by part 2 is BC=v_x2*t // m // Distance from firing point OC OC=s+BC // m // Results clc printf('(a) The velocity of shell just before bursting is %f m/s \n',v_x) printf('(b) The velocity of first part immediately after the shell burst is %f m/s \n',v_x2) printf('(c) The velocity of second part immediately after the shell burst is %f m/s \n',v_x2) printf('(b) The distance between the firing point & the point where the second part of the shell hit the ground is %f m \n',OC)
34588de7215a8da79d879b824727eeb7c8dde78a
3590ec513eb9615226301b62f0545dccf1dfaec2
/Chips/4Demultiplexor-chip/Demultiplexor4way.tst
ea6b44a71b095d183faaed3fa8db1617e0de5c13
[]
no_license
tiltedlistener/Elements
efb2ff6271fead4ec00a3302a0e020ab2781409a
ff676c5292a05331645b52dfe727a9e7bf7e37f0
refs/heads/master
2020-05-15T15:06:07.899576
2014-06-30T06:39:08
2014-06-30T06:39:08
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
703
tst
Demultiplexor4way.tst
// This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by Nisan and Schocken, MIT Press. // File name: projects/01/Not.tst load Demultiplexor4way.hdl, output-file Demultiplexor4way.out, compare-to Demultiplexor4way.cmp, output-list in%B3.1.3 s1%B3.1.3 s2%B3.1.3 a%B3.1.3 b%B3.1.3 c%B3.1.3 d%B3.1.3; set in 0, set s1 0, set s2 0, eval, output; set in 0, set s1 0, set s2 1, eval, output; set in 0, set s1 1, set s2 0, eval, output; set in 0, set s1 1, set s2 1, eval, output; set in 1, set s1 0, set s2 0, eval, output; set in 1, set s1 0, set s2 1, eval, output; set in 1, set s1 1, set s2 0, eval, output; set in 1, set s1 1, set s2 1, eval, output;
77d8abbb7b16ccb22d18873efff9ea41e114a8d6
f14f2861ee7e97cb37f69216b207bf431873cfb5
/SciLab/Ajustes de curvas.sce
8c05187f55fbba3610a34a71abd02abb55962cb8
[]
no_license
osfprieto/Personal
f97307f1014569baa9a10865c255072b8b949c11
f0353c25718f29feebfb26da2003408e448a0aeb
refs/heads/master
2022-09-20T13:11:19.242327
2022-09-12T19:53:37
2022-09-12T19:53:37
14,189,787
0
0
null
null
null
null
UTF-8
Scilab
false
false
4,331
sce
Ajustes de curvas.sce
//osfprieto@gmail.com //Ejericio usado en la exposición function probarAjusteDeCurvas() x = [0 1 2 3 4 5] y = [2.1 7.7 13.6 27.2 40.9 61.1] coef_lineal = ajuste_de_curvas(x, y, 1) sem_lineal = calcular_semejanza(y, eval_vec_coef(x, coef_lineal)') coef_cuadratico = ajuste_de_curvas(x, y, 2) sem_cuadratico = calcular_semejanza(y, eval_vec_coef(x, coef_cuadratico)') poly_lineal = poly(coef_lineal, "x", "coef") poly_cuadratico = poly(coef_cuadratico, "x", "coef") disp("Coeficientes lineales:") disp(poly_lineal) disp("Semejanza lineal") disp(sem_lineal) disp("Coeficientes cuadrático:") disp(poly_cuadratico) disp("Semejanza cuadrático:") disp(sem_cuadratico) xBuscar = 0:0.2:6 yBuscar_lineal = eval_vec_coef(xBuscar, coef_lineal) yBuscar_cuadratico = eval_vec_coef(xBuscar, coef_cuadratico) plot(x, y, 'o', xBuscar, yBuscar_lineal', '-', xBuscar, yBuscar_cuadratico', '-') endfunction //Calcula la semejanza en función de los datos medidos y los datos aproximados function semejanza=calcular_semejanza(y_medidos, y_aproximados) y_mean = mean(y_medidos) em = sum((y_medidos-y_mean).*(y_medidos-y_mean)) ea = sum((y_medidos-y_aproximados).*(y_medidos-y_aproximados)) sem = (em-ea)/em semejanza = sem endfunction //Evalúa un vector con los coeficientes para una ecuación logarítmica function vector_evaluado=evaluar_vect_log(x, coeficientes) //y = a + blog(x) a = coeficientes(1) b = coeficientes(2) y = [] for i=1:1:length(x) y(i) = a + b*log(x(i)) end vector_evaluado = y endfunction //Evalúa un vector con los coeficientes para una ecuación exponencial function vector_evaluado=evaluar_vect_exp(x, coeficientes) //y = ar^x b = coeficientes(1) m = coeficientes(2) a = exp(b) r = exp(m) y = [] for i=1:1:length(x) y(i) = a*r^x(i) end vector_evaluado = y endfunction //Evalúa un vector dado con los coeficientes dados. function vector_evaluado=evaluar_vect_pol(x, coeficientes) y = [] for i=1:1:length(x) y(i) = evaluar_coef_pol(x(i), coeficientes) end vector_evaluado = y endfunction //Evalúa un valor dado con los coeficientes dados. function evaluado=evaluar_coef_pol(x, coeficientes) grado_polinomio = length(coeficientes)-1 suma = 0 for i=0:1:grado_polinomio suma = suma + x^i*coeficientes(i+1) end evaluado = suma endfunction //Calcula los coeficientes de la regresión polinomial del grado que se //solicite con respecto a los puntos ingresados. function coeficientes = ajuste_de_curvas(x_conocidos, y_conocidos, grado_polinomio) matriz = generar_matriz(x_conocidos, y_conocidos, grado_polinomio+1) vector = generar_vector_solucion(x_conocidos, y_conocidos, grado_polinomio+1) coef = linsolve(matriz, -vector) coeficientes = coef endfunction //Genera el vector B usado para calcular los coeficientes de la regresión. function vector=generar_vector_solucion(x_conocidos, y_conocidos, tamanio_vector) grado = tamanio_vector-1 arreglo = 1:1:tamanio_vector vect = matrix(arreglo, tamanio_vector, 1) for i=1:1:tamanio_vector vector(i, 1) = sumatoria_x_y(x_conocidos, y_conocidos, grado) grado = grado-1 end endfunction //Genera la matriz A usada para calcular los coeficientes de la regresión. //Usa la sumatorias en x de distintos grados. function mat=generar_matriz(x_conocidos, y_conocidos, tamanio_matriz) m = length(x_conocidos) matriz = [] for i = 1:1:tamanio_matriz grado = tamanio_matriz-i for j = 1:1:tamanio_matriz matriz(i, j) = sumatoria_x(x_conocidos, grado) grado = grado+1 end end mat = matriz endfunction //Calcula la sumatoria de i=1 hasta n de yi*xi^n function sumatoria=sumatoria_x_y(x_conocidos, y_conocidos, grado) suma = 0 m = length(x_conocidos) for j=1:1:m suma = suma + x_conocidos(j)^grado*y_conocidos(j) end sumatoria = suma endfunction //Calcula la sumatoria de i=1 hasta n de xi^n function sumatoria=sumatoria_x(x_conocidos, grado) suma = 0 m = length(x_conocidos) for j=1:1:m suma = suma + x_conocidos(j)^grado end sumatoria = suma endfunction
02e0e1529c218b42c1af8a04fedce209223c16e4
449d555969bfd7befe906877abab098c6e63a0e8
/1553/CH23/EX23.10/23Ex10.sce
b4da36ae506f82b4141b49b5d0df7ab8d8399e55
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
156
sce
23Ex10.sce
// Chapter 23 Ex. 10 clc; clear; close; //given log2 =0.30103 //consider x=log2 x=0.30103; ans=56*x; mprintf("The number of digits are %.0f",ans);
e83a92d0b08f5f94a8bdd6a9b76c85f1607eb903
8217f7986187902617ad1bf89cb789618a90dd0a
/browsable_source/2.2/Unix/scilab-2.2/macros/scicos/check_io.sci
65487fb3ef8dd7c91862726b0064c92d71b215da
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain", "MIT" ]
permissive
clg55/Scilab-Workbench
4ebc01d2daea5026ad07fbfc53e16d4b29179502
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
refs/heads/master
2023-05-31T04:06:22.931111
2022-09-13T14:41:51
2022-09-13T14:41:51
258,270,193
0
1
null
null
null
null
UTF-8
Scilab
false
false
2,477
sci
check_io.sci
function [model,graphics,ok]=check_io(model,graphics,nin,nout,nclkin,nclkout) // check_io first check if given number of ports agree with block connection // and then changes block structure //%parameters // model : initial and resulting block model structure // graphics: initial and resulting block graphics structure // nin : desired number of inputs // nout : desired number of outputs // nclkin : desired number of clock inputs // nclkout : desired number of clock outputs // ok : error flag // ok==-1 : some of input parameters are incorrects // ok==-2 : attempt to add/delete ports when some are connected // ok==1 : changes of block structure has been performed //! if nin<0|nout<0|nclkin<0|nclkout<0 then x_message('number of port can''t be negative') ok=%f return end [label,ip1,op1,cip1,cop1]=graphics(4:8) [nin1,nout1,nclkin1,nclkout1]=model(2:5) //Check inputs wasconnected=%f if ip1<>[] then if find(ip1>0)<>[] then wasconnected=%t, end, end, if wasconnected&nin<>nin1 then x_message(['It is not yet possible to add or delete inputs' 'when some of them are connected']) ok=%f return end if nin>nin1 then ip1(nin)=0 elseif nin<nin1 then ip1=ip1(1:nin) end //Check outputs wasconnected=%f if op1<>[] then if find(op1>0)<>[] then wasconnected=%t, end, end, if wasconnected&nout<>nout1 then x_message(['It is not yet possible to add or delete outputs' 'when some of them are connected']) ok=%f return end if nout>nout1 then op1(nout)=0 elseif nout<nout1 then op1=op1(1:nout) end //Check clock inputs wasconnected=%f if cip1<>[] then if find(cip1>0)<>[] then wasconnected=%t, end, end, if wasconnected&nclkin<>nclkin1 then x_message(['It is not yet possible to add or delete clock inputs' 'when some of them are connected']) ok=%f return end if nclkin>nclkin1 then cip1(nclkin)=0 elseif nclkin<nclkin1 then cip1=cip1(1:nclkin) end //Check clock outputs wasconnected=%f if cop1<>[] then if find(cop1>0)<>[] then wasconnected=%t, end, end, if wasconnected&nclkout<>nclkout1 then x_message(['It is not yet possible to add or delete clock outputs' 'when some of them are connected']) ok=%f return end if nclkout>nclkout1 then cop1(nclkout)=0 elseif nclkout<nclkout1 then cop1=cop1(1:nclkout) end ok=%t graphics(5)=ip1 graphics(6)=op1 graphics(7)=cip1 graphics(8)=cop1 model(2)=nin model(3)=nout model(4)=nclkin model(5)=nclkout
a259d13245df7da8d81f7887ab60964cff34f9b3
676ffceabdfe022b6381807def2ea401302430ac
/solvers/IncNavierStokesSolver/Tests/KovaFlow_m8_short_HOBC_VCSWeakPress.tst
b5a01006c5cf88018e79e68cf26b7dafca0ec1ac
[ "MIT" ]
permissive
mathLab/ITHACA-SEM
3adf7a49567040398d758f4ee258276fee80065e
065a269e3f18f2fc9d9f4abd9d47abba14d0933b
refs/heads/master
2022-07-06T23:42:51.869689
2022-06-21T13:27:18
2022-06-21T13:27:18
136,485,665
10
5
MIT
2019-05-15T08:31:40
2018-06-07T14:01:54
Makefile
UTF-8
Scilab
false
false
896
tst
KovaFlow_m8_short_HOBC_VCSWeakPress.tst
<?xml version="1.0" encoding="utf-8"?> <test> <description>Kovasznay Flow P=8 Weak Pressure VSS</description> <executable>IncNavierStokesSolver</executable> <parameters>KovaFlow_m8_short_HOBC_VCSWeakPress.xml</parameters> <files> <file description="Session File">KovaFlow_m8_short_HOBC_VCSWeakPress.xml</file> </files> <metrics> <metric type="L2" id="1"> <value variable="u" tolerance="1e-11">2.51879e-08</value> <value variable="v" tolerance="1e-11">9.55783e-09</value> <value variable="p" tolerance="1e-11">1.11241e-08</value> </metric> <metric type="Linf" id="2"> <value variable="u" tolerance="1e-11">9.42611e-08</value> <value variable="v" tolerance="1e-11">5.59167e-08</value> <value variable="p" tolerance="1e-10">2.94001e-07</value> </metric> </metrics> </test>
7541aed755c9e35864b8a59ad19f2b62d7c1f284
449d555969bfd7befe906877abab098c6e63a0e8
/260/CH12/EX12.4/12_4.sce
03d55a18471210da5d3e15607c48da5f2539ed88
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
751
sce
12_4.sce
//Eg-12.4 //pg-514 clear clc x = 0.01; h1 = 0.0001; h2 = h1/2; Re = 10^4; deff('out = func(in)','out = 1/in^0.5 - 1.77*log(Re*in^0.5) + 0.6') //Using central difference formula Dh11 = (func(x+h1)-func(x-h1))/(2*h1); Dh21 = (func(x+h2)-func(x-h2))/(2*h2); Dh12 = (-func(x+2*h1) + 16*func(x+h1) - 30*func(x) + 16*func(x-h1) - func(x-2*h1))/(12*h1^2); Dh22 = (-func(x+2*h2) + 16*func(x+h2) - 30*func(x) + 16*func(x-h2) - func(x-2*h2))/(12*h2^2); //Using equation [16], D1new = 4/3*Dh21 - 1/3*Dh11; D2new = 4/3*Dh22 - 1/3*Dh12; printf('First Derivative = %f\n',D1new) printf('Second Derivative = %f\n',D2new) printf('\nAnalytically : \n') printf('First Derivative = -588.5\nSecond Derivative = 83850\n')
3024d3927a03bda2914281c1dcd263795e7f2f9d
449d555969bfd7befe906877abab098c6e63a0e8
/1238/CH8/EX8.9/8_9.sce
2f251ab5dcc18774ec2c4f076c825ebd7dc95b92
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
328
sce
8_9.sce
//calculating required data// //example 9// clc //clears the command window//; clear //clears// N=2^10-1;//no. of steps// Vmax=10*10^-3*N;//maximum full scale output// R=(10*10^-3)/Vmax*100;//percentage resolution// printf('maximum full scale output=%f ampere\n',Vmax) printf('percentage resolution=%f percent',R)
4eed149d1c1cb3eba8a0a322c0d9729180729c64
449d555969bfd7befe906877abab098c6e63a0e8
/147/CH13/EX13.15/Example13_15.sce
5353e3d048b30de1c98e9ba11c723ab720d8953c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
505
sce
Example13_15.sce
close(); clear; clc; //rated power 'Pr' Pr = 100*1000; //VA V1 = 11000; //V V2 = 2300; //V f = 60; //Hz //(a) //load on open-delta 'Pl' Pl = sqrt(3)*Pr; //VA mprintf("(a) Total load that can be supplied = %0.1f kVA\n\n",Pl/1000); //(b) Pr = 120*1000; //VA Iab = 1/3 * (Pr/V2); //from phasor diagram Ia = (sqrt(3)*Iab); //transformation ratio 'a' a = V1/V2; //current in V1 winding 'Iline' Iline = Ia/a; //A mprintf("(b) Line current on high-voltage side, Iline = %0.1f A",Iline);
995d7c914e227538e29c629c8f947e022cc155f2
449d555969bfd7befe906877abab098c6e63a0e8
/1427/CH25/EX25.19/25_19.sce
c9f27cd89b880347c781fd832b70d4a024db2811
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
259
sce
25_19.sce
//ques-25.19 //Calculating mean free path of oxygen clc dia=3.61*10^-10;//collision diameter (in m) T=273+25;//temperature (in K) N_V=(6.023*10^23)/(0.0224*T/278); w=1/(sqrt(2*%pi)*N_V*dia^2); printf("The value of mean free path is %.2f nm.",w*10^9);
e69370ad5a79262b31afb22ca9fd5dc8db7a918d
449d555969bfd7befe906877abab098c6e63a0e8
/3516/CH14/EX14.3/Ex14_3.sce
8eeaf8da24c3fe059c4e5c61f0768bdac5061345
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
2,467
sce
Ex14_3.sce
printf("\t example 14.3 \n"); printf("\t approximate values are mentioned in the book \n"); //Same conditions as example 14.2 U1 = 400; //Btu/((hr)*(ft^2)*(°F)) U2 = 250; //Btu/((hr)*(ft^2)*(°F)) U3 = 175; //Btu/((hr)*(ft^2)*(°F)) w1 = 50000; // lb/hr From example 14.2 wt = 40000; // lb/hr From example 14.2 cf = 1; // From example 14.2 printf("\t981*w2 + 50000*(100-125) = 1022*w3\n\t961*w1 + (50000 - w3)*(125-194) = 981 * w2\n\t949*Ws + (50000-w3-w2)(194-224) = 961 * w1\n\tw1+w2+w3 = 40000\n"); printf("\tSolving simultaneously\n"); w1 = 15950; w2 = 12900; w3 = 11150; lms = 949; lm1 = 961; lm2 = 981; lm3 = 1022; wt = w1+w2+w3; printf("\tw1-3 = %.0f \n",wt); Ws = 16950; A1 = (Ws*lms)/(U1*20); //ft^2 printf("\tA1 is %.0f ft^2\n",A1); A2 = (w1*lm1)/(U2*30); //ft^2 printf("\tA2 is %.0f ft^2\n",A2); A3 = (w2*lm2)/(U3*69); //ft^2 printf("\tA3 is %.0f ft^2\n",A3); Avs = (A1 + A2 + A3)/3; //ft^2 printf("\tAverage surface is %.0f ft^2\n",Avs); Av1 = 3 * Avs; //ft^2 printf("\n\tWith a better distribution temperatures and pressure, Average surface is %.0f ft^2\n",Av1); printf("\tRecalculation\n"); Av2 = 1500; //ft^2, assume dT1 = 28; //°F A4 = (20/dT1)*A1; //ft^2 printf("\tA1 is %.0f ft^2\n",A4); dT2 = 41; //°F A5 = (30/dT2)*A2; //ft^2 printf("\tA2 is %.0f ft^2\n",A5); dT3 = 50; //°F A6 = (69/50)*A3; //ft^2 printf("\tA3 is %.0f ft^2\n",A6); del1 = 119; //°F printf("\tTs-t3 is %.0f °F\n",del1); printf("\t\t\t\t\tPressure, psia\t\t Steam or vapor, °F \t lambda, Btu/lb\n\tSteam chest, 1st effect \t 26.70 \t\t\tTs = 244 \t\t 949 \n\tSteam chest, 2nd effect \t 16.0 \t\t\t t1 = 216 \t\t 968 \n\tSteam chest, 3rd effect \t 16.4 in. Hg) \t\t t2 = 175 \t\t 992 \n\tVapor to condenser \t\t 26 in. Hg \t\t t3 = 125 \t\t l1 = 1022 \n"); w1 = 15450; //Solving again for printf("\tw1 is %.0f\n",w1); w2 = 13200; printf("\tw2 is %.0f\n",w2); w3 = 11350; printf("\tw3 is %.0f\n",w3); Ws = 16850; printf("\tWs is %.0f\n",Ws); Hc = w3 * 1022; printf("\tHeat to condenser is %.2e Btu/hr\n",Hc); wr = Hc/(120-85); //lb/hr printf("\tWater requirement %.2e lb/hr\n",wr); wr1 = wr/500; printf("\t\t\t= %.0fgpm\n",wr1); ec = wt/Ws; printf("\tEconomy, lb evaporation/lb steam %.2f\n",ec); //comparision of forward and backward feed printf("\t\t\t\tForward\t\tBackward\n\tTotal steam, lb/hr\t19100\t\t16850\n\tCooling water, gpm\t840\t\t664\n\tTotal surface, ft^2\t4800\t\t4500");
049c6e6e2e7b4d2a32e46c1b97f38d4296eefd9a
449d555969bfd7befe906877abab098c6e63a0e8
/3116/CH4/EX4.3/Ex4_3.sce
3f99038b0a2cde850db8a7457376087e4de2c95b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
261
sce
Ex4_3.sce
clc // given that R=1.28D-08//Atomic radius in cm A_Cu=63.5 //Atomic wt of copper n=4 //For FCC Na=6.023D23 //Avogadro no. printf("Example 4.3\n") a=2*R*sqrt(2) Vc=a^3 rho=n*A_Cu/(Vc*Na) printf("\n Density of copper is %.2f g/cm^3.\n",rho)
64054946bc79a8976a916a3037f24d7bae15ed6a
17d775a544e47ac1d2faf88f26b86d08afdcdf7c
/Rubik's Cube/Rubik's Solver/layouts/finished.tst
046f8297bd1f5fb94dba851ea5de52bebfcec1db
[]
no_license
PlenipotentSS/Python-Testing
fbe20bf9574b445da11b1abe844a402c7e51e2a0
3dcb029e08b751d38b799881bdff1135e236cb43
refs/heads/master
2021-01-23T03:53:24.574975
2014-03-16T20:30:15
2014-03-16T20:30:15
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
8,592
tst
finished.tst
###TStar Version 05 Tree Description File ###USER=Unknown ###TIME=Tue Dec 15 22:59:21 2009 n=0;h=0;d=2; v:op=2;n=1;h=0;d=2; v:op=6;n=2;h=0;d=2; v:op=5;n=3;h=0;d=2; v:op=9;n=4;h=0;d=2; v:op=5;n=5;h=0;d=2; v:op=17;n=6;h=0;d=2; v:op=2;n=7;h=0;d=2; v:op=14;n=8;h=0;d=2; v:op=17;n=9;h=0;d=2; v:op=2;n=10;h=0;d=2; v:op=14;n=11;h=0;d=2; v:op=5;n=12;h=0;d=2; v:op=17;n=13;h=0;d=2; v:op=2;n=14;h=0;d=2; v:op=14;n=15;h=0;d=2; v:op=4;n=16;h=0;d=2; v:op=14;n=17;h=0;d=2; v:op=1;n=18;h=0;d=2; v:op=17;n=19;h=0;d=2; v:op=7;n=20;h=0;d=2; v:op=2;n=21;h=0;d=2; v:op=2;n=22;h=0;d=2; v:op=10;n=23;h=0;d=2; v:op=2;n=24;h=0;d=2; v:op=7;n=25;h=0;d=2; v:op=5;n=26;h=0;d=2; v:op=10;n=27;h=0;d=2; v:op=4;n=28;h=0;d=2; v:op=4;n=29;h=0;d=2; v:op=8;n=30;h=0;d=2; v:op=1;n=31;h=0;d=2; v:op=11;n=32;h=0;d=2; v:op=1;n=33;h=0;d=2; v:op=4;n=34;h=0;d=2; v:op=9;n=35;h=0;d=2; v:op=1;n=36;h=0;d=2; v:op=6;n=37;h=0;d=2; v:op=5;n=38;h=0;d=2; v:op=10;n=39;h=0;d=2; v:op=2;n=40;h=0;d=2; v:op=2;n=41;h=0;d=2; v:op=7;n=42;h=0;d=2; v:op=10;n=43;h=0;d=2; v:op=2;n=44;h=0;d=2; v:op=2;n=45;h=0;d=2; v:op=7;n=46;h=0;d=2; v:op=2;n=47;h=0;d=2; v:op=10;n=48;h=0;d=2; v:op=5;n=49;h=0;d=2; v:op=7;n=50;h=0;d=2; ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ v:op=2;n=51;h=0;d=2; v:op=6;n=52;h=0;d=2; v:op=5;n=53;h=0;d=2; v:op=9;n=54;h=0;d=2; v:op=5;n=55;h=0;d=2; v:op=17;n=56;h=0;d=2; v:op=2;n=57;h=0;d=2; v:op=14;n=58;h=0;d=2; v:op=17;n=59;h=0;d=2; v:op=2;n=60;h=0;d=2; v:op=14;n=61;h=0;d=2; v:op=5;n=62;h=0;d=2; v:op=17;n=63;h=0;d=2; v:op=2;n=64;h=0;d=2; v:op=14;n=65;h=0;d=2; v:op=4;n=66;h=0;d=2; v:op=14;n=67;h=0;d=2; v:op=1;n=68;h=0;d=2; v:op=17;n=69;h=0;d=2; v:op=7;n=70;h=0;d=2; v:op=2;n=71;h=0;d=2; v:op=2;n=72;h=0;d=2; v:op=10;n=73;h=0;d=2; v:op=2;n=74;h=0;d=2; v:op=7;n=75;h=0;d=2; v:op=5;n=76;h=0;d=2; v:op=10;n=77;h=0;d=2; v:op=4;n=78;h=0;d=2; v:op=4;n=79;h=0;d=2; v:op=8;n=80;h=0;d=2; v:op=1;n=81;h=0;d=2; v:op=11;n=82;h=0;d=2; v:op=1;n=83;h=0;d=2; v:op=4;n=84;h=0;d=2; v:op=9;n=85;h=0;d=2; v:op=1;n=86;h=0;d=2; v:op=6;n=87;h=0;d=2; v:op=5;n=88;h=0;d=2; v:op=10;n=89;h=0;d=2; v:op=2;n=90;h=0;d=2; v:op=2;n=91;h=0;d=2; v:op=7;n=92;h=0;d=2; v:op=10;n=93;h=0;d=2; v:op=2;n=94;h=0;d=2; v:op=2;n=95;h=0;d=2; v:op=7;n=96;h=0;d=2; v:op=2;n=97;h=0;d=2; v:op=10;n=98;h=0;d=2; v:op=5;n=99;h=0;d=2; v:op=7;n=100;h=0;d=2; v:op=5;n=101;h=0;d=2; v:op=9;n=102;h=0;d=2; v:op=2;n=103;h=0;d=2; v:op=6;n=104;h=0;d=2; v:op=2;n=105;h=0;d=2; v:op=12;n=106;h=0;d=2; v:op=5;n=107;h=0;d=2; v:op=15;n=108;h=0;d=2; v:op=2;n=109;h=0;d=2; v:op=17;n=110;h=0;d=2; v:op=5;n=111;h=0;d=2; v:op=14;n=112;h=0;d=2; v:op=5;n=113;h=0;d=2; v:op=8;n=114;h=0;d=2; v:op=2;n=115;h=0;d=2; v:op=11;n=116;h=0;d=2; v:op=2;n=117;h=0;d=2; v:op=5;n=118;h=0;d=2; v:op=14;n=119;h=0;d=2; v:op=2;n=120;h=0;d=2; v:op=17;n=121;h=0;d=2; v:op=2;n=122;h=0;d=2; v:op=6;n=123;h=0;d=2; v:op=5;n=124;h=0;d=2; v:op=9;n=125;h=0;d=2; v:op=5;n=126;h=0;d=2; v:op=14;n=127;h=0;d=2; v:op=2;n=128;h=0;d=2; v:op=17;n=129;h=0;d=2; v:op=2;n=130;h=0;d=2; v:op=6;n=131;h=0;d=2; v:op=5;n=132;h=0;d=2; v:op=9;n=133;h=0;d=2; v:op=2;n=134;h=0;d=2; v:op=2;n=135;h=0;d=2; v:op=6;n=136;h=0;d=2; v:op=5;n=137;h=0;d=2; v:op=9;n=138;h=0;d=2; v:op=5;n=139;h=0;d=2; v:op=14;n=140;h=0;d=2; v:op=2;n=141;h=0;d=2; v:op=17;n=142;h=0;d=2; v:op=5;n=143;h=0;d=2; v:op=2;n=144;h=0;d=2; v:op=6;n=145;h=0;d=2; v:op=5;n=146;h=0;d=2; v:op=9;n=147;h=0;d=2; v:op=5;n=148;h=0;d=2; v:op=14;n=149;h=0;d=2; v:op=2;n=150;h=0;d=2; v:op=17;n=151;h=0;d=2; v:op=2;n=152;h=0;d=2; v:op=6;n=153;h=0;d=2; v:op=5;n=154;h=0;d=2; v:op=9;n=155;h=0;d=2; v:op=5;n=156;h=0;d=2; v:op=14;n=157;h=0;d=2; v:op=2;n=158;h=0;d=2; v:op=17;n=159;h=0;d=2; v:op=5;n=160;h=0;d=2; ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ v:op=2;n=161;h=0;d=2; v:op=6;n=162;h=0;d=2; v:op=5;n=163;h=0;d=2; v:op=9;n=164;h=0;d=2; v:op=5;n=165;h=0;d=2; v:op=17;n=166;h=0;d=2; v:op=2;n=167;h=0;d=2; v:op=14;n=168;h=0;d=2; v:op=17;n=169;h=0;d=2; v:op=2;n=170;h=0;d=2; v:op=14;n=171;h=0;d=2; v:op=5;n=172;h=0;d=2; v:op=17;n=173;h=0;d=2; v:op=2;n=174;h=0;d=2; v:op=14;n=175;h=0;d=2; v:op=4;n=176;h=0;d=2; v:op=14;n=177;h=0;d=2; v:op=1;n=178;h=0;d=2; v:op=17;n=179;h=0;d=2; v:op=7;n=180;h=0;d=2; v:op=2;n=181;h=0;d=2; v:op=2;n=182;h=0;d=2; v:op=10;n=183;h=0;d=2; v:op=2;n=184;h=0;d=2; v:op=7;n=185;h=0;d=2; v:op=5;n=186;h=0;d=2; v:op=10;n=187;h=0;d=2; v:op=4;n=188;h=0;d=2; v:op=4;n=189;h=0;d=2; v:op=8;n=190;h=0;d=2; v:op=1;n=191;h=0;d=2; v:op=11;n=192;h=0;d=2; v:op=1;n=193;h=0;d=2; v:op=4;n=194;h=0;d=2; v:op=9;n=195;h=0;d=2; v:op=1;n=196;h=0;d=2; v:op=6;n=197;h=0;d=2; v:op=5;n=198;h=0;d=2; v:op=10;n=199;h=0;d=2; v:op=2;n=200;h=0;d=2; v:op=2;n=201;h=0;d=2; v:op=7;n=202;h=0;d=2; v:op=10;n=203;h=0;d=2; v:op=2;n=204;h=0;d=2; v:op=2;n=205;h=0;d=2; v:op=7;n=206;h=0;d=2; v:op=2;n=207;h=0;d=2; v:op=10;n=208;h=0;d=2; v:op=5;n=209;h=0;d=2; v:op=7;n=210;h=0;d=2; v:op=5;n=211;h=0;d=2; v:op=9;n=212;h=0;d=2; v:op=2;n=213;h=0;d=2; v:op=6;n=214;h=0;d=2; v:op=2;n=215;h=0;d=2; v:op=12;n=216;h=0;d=2; v:op=5;n=217;h=0;d=2; v:op=15;n=218;h=0;d=2; v:op=2;n=219;h=0;d=2; v:op=17;n=220;h=0;d=2; v:op=5;n=221;h=0;d=2; v:op=14;n=222;h=0;d=2; v:op=5;n=223;h=0;d=2; v:op=8;n=224;h=0;d=2; v:op=2;n=225;h=0;d=2; v:op=11;n=226;h=0;d=2; v:op=2;n=227;h=0;d=2; v:op=5;n=228;h=0;d=2; v:op=14;n=229;h=0;d=2; v:op=2;n=230;h=0;d=2; v:op=17;n=231;h=0;d=2; v:op=2;n=232;h=0;d=2; v:op=6;n=233;h=0;d=2; v:op=5;n=234;h=0;d=2; v:op=9;n=235;h=0;d=2; v:op=5;n=236;h=0;d=2; v:op=14;n=237;h=0;d=2; v:op=2;n=238;h=0;d=2; v:op=17;n=239;h=0;d=2; v:op=2;n=240;h=0;d=2; v:op=6;n=241;h=0;d=2; v:op=5;n=242;h=0;d=2; v:op=9;n=243;h=0;d=2; v:op=2;n=244;h=0;d=2; v:op=2;n=245;h=0;d=2; v:op=6;n=246;h=0;d=2; v:op=5;n=247;h=0;d=2; v:op=9;n=248;h=0;d=2; v:op=5;n=249;h=0;d=2; v:op=14;n=250;h=0;d=2; v:op=2;n=251;h=0;d=2; v:op=17;n=252;h=0;d=2; v:op=5;n=253;h=0;d=2; v:op=2;n=254;h=0;d=2; v:op=6;n=255;h=0;d=2; v:op=5;n=256;h=0;d=2; v:op=9;n=257;h=0;d=2; v:op=5;n=258;h=0;d=2; v:op=14;n=259;h=0;d=2; v:op=2;n=260;h=0;d=2; v:op=17;n=261;h=0;d=2; v:op=2;n=262;h=0;d=2; v:op=6;n=263;h=0;d=2; v:op=5;n=264;h=0;d=2; v:op=9;n=265;h=0;d=2; v:op=5;n=266;h=0;d=2; v:op=14;n=267;h=0;d=2; v:op=2;n=268;h=0;d=2; v:op=17;n=269;h=0;d=2; v:op=5;n=270;h=0;d=2; v:op=11;n=271;h=0;d=2; v:op=2;n=272;h=0;d=2; v:op=8;n=273;h=0;d=2; v:op=15;n=274;h=0;d=2; v:op=5;n=275;h=0;d=2; v:op=12;n=276;h=0;d=2; v:op=11;n=277;h=0;d=2; v:op=5;n=278;h=0;d=2; v:op=8;n=279;h=0;d=2; v:op=5;n=280;h=0;d=2; v:op=5;n=281;h=0;d=2; v:op=17;n=282;h=0;d=2; v:op=2;n=283;h=0;d=2; v:op=14;n=284;h=0;d=2; v:op=8;n=285;h=0;d=2; v:op=5;n=286;h=0;d=2; v:op=11;n=287;h=0;d=2; v:op=17;n=288;h=0;d=2; v:op=5;n=289;h=0;d=2; v:op=14;n=290;h=0;d=2; v:op=5;n=291;h=0;d=2; v:op=5;n=292;h=0;d=2; v:op=17;n=293;h=0;d=2; v:op=2;n=294;h=0;d=2; v:op=14;n=295;h=0;d=2; v:op=2;n=296;h=0;d=2; v:op=17;n=297;h=0;d=2; v:op=2;n=298;h=0;d=2; v:op=2;n=299;h=0;d=2; v:op=14;n=300;h=0;d=2; v:op=2;n=301;h=0;d=2; v:op=2;n=302;h=0;d=2; v:op=10;n=303;h=0;d=2; v:op=2;n=304;h=0;d=2; v:op=7;n=305;h=0;d=2; v:op=2;n=306;h=0;d=2; v:op=2;n=307;h=0;d=2; v:op=10;n=308;h=0;d=2; v:op=2;n=309;h=0;d=2; v:op=7;n=310;h=0;d=2; v:op=16;n=311;h=0;d=2; v:op=2;n=312;h=0;d=2; v:op=13;n=313;h=0;d=2; v:op=2;n=314;h=0;d=2; v:op=2;n=315;h=0;d=2; v:op=16;n=316;h=0;d=2; v:op=2;n=317;h=0;d=2; v:op=13;n=318;h=0;d=2; v:op=6;n=319;h=0;d=2; v:op=4;n=320;h=0;d=2; v:op=6;n=321;h=0;d=2; v:op=6;n=322;h=0;d=2; v:op=4;n=323;h=0;d=2; v:op=4;n=324;h=0;d=2; v:op=6;n=325;h=0;d=2; v:op=2;n=326;h=0;d=2; v:op=2;n=327;h=0;d=2; v:op=9;n=328;h=0;d=2; v:op=1;n=329;h=0;d=2; v:op=1;n=330;h=0;d=2; v:op=6;n=331;h=0;d=2; v:op=6;n=332;h=0;d=2; v:op=1;n=333;h=0;d=2; v:op=9;n=334;h=0;d=2; v:op=2;n=335;h=0;d=2; v:op=2;n=336;h=0;d=2; v:op=12;n=337;h=0;d=2; v:op=4;n=338;h=0;d=2; v:op=12;n=339;h=0;d=2; v:op=12;n=340;h=0;d=2; v:op=4;n=341;h=0;d=2; v:op=4;n=342;h=0;d=2; v:op=12;n=343;h=0;d=2; v:op=2;n=344;h=0;d=2; v:op=2;n=345;h=0;d=2; v:op=15;n=346;h=0;d=2; v:op=1;n=347;h=0;d=2; v:op=1;n=348;h=0;d=2; v:op=12;n=349;h=0;d=2; v:op=12;n=350;h=0;d=2; v:op=1;n=351;h=0;d=2; v:op=15;n=352;h=0;d=2; v:op=2;n=353;h=0;d=2; v:op=2;n=354;h=0;d=2; ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
ac261e09df5761518335f18dc296ad78ccfd4966
449d555969bfd7befe906877abab098c6e63a0e8
/572/CH10/EX10.5/c10_5.sce
d2436a3e7f8b57910bf97f58ee646ebb4c11b83e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
2,061
sce
c10_5.sce
//(10.5) Reconsider Example 10.4, but include in the analysis that the compressor and turbine each have an isentropic efficiency of 80%. Determine for the modified cycle (a) the net power input, in kW, (b) the refrigeration capacity, in kW, (c) the coefficient of performance, and interpret its value. //solution funcprot(0) //part(a) wcdots = 99.99 //work per unit mass for the isentropic compression determined with data from the solution in Example 10.4 in kj/kg mdot = 1.807 //mass flow rate in kg/s from 10.4 etac = .8 //isentropic efficiency of compressor Wcdot = mdot*wcdots/etac //The power input to the compressor in kw //Using data form the solution to Example 10.4 gives wtdots =81.19 //in kj/kg etat = .8 //isentropic efficiency of turbine Wtdot = mdot*etat*wtdots //actual turbine work in kw Wdotcycle = Wcdot-Wtdot //The net power input to the cycle in kw printf('the net power input in kw is: %f',Wdotcycle) //part(b) h3 = 300.19 //in kj/kg h4 = h3 -Wtdot/mdot //from table A-22 h1 = 270.11 //in kj/kg Qindot = mdot*(h1-h4) //refrigeration capacity in kw printf('\nthe refrigeration capacity in kw is: %f',Qindot) //part(c) beta = Qindot/Wdotcycle //coefficient of performance printf('\nthe coefficient of performance is: %f',beta)
2e3580e7995d78b211cf19e1ac9b1d72a27f2597
449d555969bfd7befe906877abab098c6e63a0e8
/2150/CH2/EX2.17/ex2_17.sce
d8ab5e823075ccf25891ab958668ced4ebe7d2b8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
268
sce
ex2_17.sce
// Exa 2.17 clc; clear; close; // Given data V_dc = 100;// in V V_m = (V_dc*%pi)/2;// in V PIV = 2*V_m;// in V disp(PIV,"Peak inverse voltage for center tapped FWR in V is"); PIV1 = V_m;// in V disp(PIV1,"Peak inverse voltage for bridge type FWR in V is");
7fdc09107fb2eaeb585b0383263ccc7cab3e3d58
d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3
/r34.1/xmpl/arnum.tst
8f78ff50c5054fc206c1a07389f3f77db4813917
[ "BSD-3-Clause" ]
permissive
reduce-algebra/reduce-historical
8220e211b116e0e01ff1a38f51917cac9db6069f
e014152729c4d62bb1ce4f5c311a027042a5495a
refs/heads/master
2023-04-10T22:54:00.796596
2021-04-16T08:52:19
2021-04-16T08:52:19
343,245,204
7
1
NOASSERTION
2021-04-16T08:53:31
2021-03-01T00:15:22
TeX
UTF-8
Scilab
false
false
1,486
tst
arnum.tst
% Test of algebraic number package. defpoly sqrt2**2-2; 1/(sqrt2+1); (x**2+2*sqrt2*x+2)/(x+sqrt2); on gcd; (x**3+(sqrt2-2)*x**2-(2*sqrt2+3)*x-3*sqrt2)/(x**2-2); off gcd; sqrt(x**2-2*sqrt2*x*y+2*y**2); off arnum; %to start a new algebraic extension. defpoly cbrt5**3-5; on rationalize; 1/(x-cbrt5); off rationalize; off arnum; %to start a new algebraic extension. %The following examples are taken from P.S. Wang Math. Comp. 30, % 134,(1976),p.324. on factor; defpoly i**2+1=0; w0 := x**2+1; w1 := x**4-1; w2 := x**4+(i+2)*x**3+(2*i+5)*x**2+(2*i+6)*x+6; w3 := (2*i+3)*x**4+(3*i-2)*x**3-2*(i+1)*x**2+i*x-1; off arnum; defpoly a**2-5; w4 := x**2+x-1; off arnum; defpoly a**2+a+2; w5 := x**4+3*x**2+4; off arnum; defpoly a**3+2=0; w6:=64*x**6-4; off arnum; defpoly a**4+a**3+a**2+a+1=0; w7:=16*x**4+8*x**3+4*x**2+2*x+1; off arnum, factor; defpoly sqrt5**2-5,cbrt3**3-3; cbrt3**3; sqrt5**2; cbrt3; sqrt5; sqrt(x**2+2*(sqrt5-cbrt3)*x+5-2*sqrt5*cbrt3+cbrt3**2); on rationalize; 1/(x+sqrt5-cbrt3); off arnum, rationalize; split!_field(x**3+2); for each j in ws product (x-j); split!_field(x**3+4*x**2+x-1); for each j in ws product (x-j); split!_field(x**3-3*x+7); for each j in ws product (x-j); split!_field(x**3+4*x**2+x-1); for each j in ws product (x-j); split!_field(x**3-x**2-x-1); for each j in ws product (x-j); % A longer example. off arnum; defpoly a**6+3*a**5+6*a**4+a**3-3*a**2+12*a+16; factorize(x**3-3); end;
045c21339ab5abc9af923395ea957262d9fa1de3
01ecab2f6eeeff384acae2c4861aa9ad1b3f6861
/xcos_blocks/script_test.sce
57e38ae39d3f1b01b852f5926f7c7f2fc2168d60
[]
no_license
jhasler/rasp30
9a7c2431d56c879a18b50c2d43e487d413ceccb0
3612de44eaa10babd7298d2e0a7cddf4a4b761f6
refs/heads/master
2023-05-25T08:21:31.003675
2023-05-11T16:19:59
2023-05-11T16:19:59
62,917,238
3
3
null
null
null
null
UTF-8
Scilab
false
false
1,267
sce
script_test.sce
//load "ota.sci" //load "ota_func.sci" //*********************************** //SCRIPT TO READ FROM MODEL FILE //*********************************** cd /usr/lib/scicoslab-gtk-4.4.1/macros/scicos_blocks/cadsp/ //LOAD OBJECT FILE load "expt1.cos"; disp("Hello World"); //disp(scs_m.objs(1).gui); //COMPARE OBJECT NAME TO FIND CORRESP. NETLIST if scs_m.objs(1).gui== "ota_new" then disp("Hurray!"),.. //OPEN FILE TO WRITE NETLIST fd_w= mopen ("./netlist.txt",'wt') //mputl(".INCLUDE fpaa_tech.sp",fd_w); mputl(".model ota",fd_w) mputl(".inputs vinp vinn",fd_w) mputl(".outputs vout",fd_w) mputl(".blackbox",fd_w) mputl(".end",fd_w) //mputl("Xota Vp vout vout OTA PARAMS: Ib=1e-6",fd_w); mclose(fd_w); disp("Done writing!") else disp("Bummer!"),.. end //READ FROM WRITTEN FILE fd_2= mopen ("./netlist.txt",'rt') mgetl(fd_2); mclose(fd_2); disp("DOne reading!"); j=1 //CHECK FOR SCICOS LINK OBJECTS //global variable to store blk=zeros(1,(length(scs_m.objs))) no=length(scs_m.objs); for i =1:no, if ( length(scs_m.objs(i) )==8) then disp("Scicos_link block ",i); elseif ( length(scs_m.objs(i) )==1) then disp("deleted block",i); else disp ("Obj code ",i); blk(j)=i; j=j+1 end, end;
7a7a78029afa6df772ca8037158a2e4739e2c419
449d555969bfd7befe906877abab098c6e63a0e8
/2087/CH3/EX3.10/example3_10.sce
07fb25de8f06501f83682e9e2a947e8a1e00e7ef
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
220
sce
example3_10.sce
//example 3.10 //calculate Duty of water clc; //Given B=120; //Base period delta=92; //total depth requirement of crop D=8.64*B*100/delta; D=round(D); mprintf("Duty of water=%f hectares/cumec.",D);
8df652b39fb40e26f07a9fd82f737d77bc8d0ab5
449d555969bfd7befe906877abab098c6e63a0e8
/1280/CH8/EX8.9/8_9.sce
ea6fdfd0f69f6d60c61c756856953914829c6a8a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
153
sce
8_9.sce
clc //initialisation of variables Vm= 0.55 //in^3 N= 3400 //rpm //CALCULATIONS Q= Vm*N/231 //RESULTS printf ('effective flow rate = %.2f gpm',Q)
c84f0b25f2d710a34dde0283690c697a2b5f67fc
449d555969bfd7befe906877abab098c6e63a0e8
/2201/CH3/EX3.16/ex3_16.sce
588286cab57da1df8bf86129a1fb546a369f44da
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
229
sce
ex3_16.sce
// Exa 3.16 clc; clear; close; // Given data h = 6.626 * 10^-34;// in J-s q= 1.6*10^-19;// in C h= h/q;// in eV c = 3*10^8; lembda = 5490*10^-10;// in m E = h*c/lembda;// in eV disp(E,"The energy band gap in eV is");
962fbeb813acd7ba544c33a65e478709cd7536e6
3c47dba28e5d43bda9b77dca3b741855c25d4802
/microdaq/macros/microdaq_blocks/mdaq_sinus.sci
5f9d30f0fe0f03940a08bc0b626e6d0291b4275e
[ "BSD-3-Clause" ]
permissive
microdaq/Scilab
78dd3b4a891e39ec20ebc4e9b77572fd12c90947
ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf
refs/heads/master
2021-09-29T11:55:21.963637
2019-10-18T09:47:29
2019-10-18T09:47:29
35,049,912
6
3
BSD-3-Clause
2019-10-18T09:47:30
2015-05-04T17:48:48
Scilab
UTF-8
Scilab
false
false
2,333
sci
mdaq_sinus.sci
function [x,y,typ] = mdaq_sinus(job,arg1,arg2) // // Amplitude: amplitude [1] // Bias:bias [0] // Frequency: frequency [1] (rad/sec) // Phase: phase [0] // Delay:delay [0] (s) // x=[];y=[];typ=[]; select job case 'plot' then exprs=arg1.graphics.exprs; standard_draw(arg1) case 'getinputs' then [x,y,typ]=standard_inputs(arg1) case 'getoutputs' then [x,y,typ]=standard_outputs(arg1) case 'getorigin' then [x,y]=standard_origin(arg1) case 'set' then x=arg1 model=arg1.model;graphics=arg1.graphics; exprs=graphics.exprs; while %t do try getversion('scilab'); [ok,A,bias,frq,phase,delay,exprs]=.. scicos_getvalue('Set MicroDAQ block parameters',.. ['Amplitude:'; 'Bias:'; 'Frequency (rad/sec):'; 'Phase (rad):'; 'Delay: (sec)'],.. list('vec',-1,'vec',-1,'vec',-1,'vec',-1,'vec',-1),exprs) catch [ok,A,bias,frq,phase,delay,exprs]=.. getvalue('Set MicroDAQ block parameters',.. ['Amplitude:'; 'Bias:'; 'Frequency (rad/sec):'; 'Phase: (rad)'; 'Delay (sec):'],.. list('vec',-1,'vec',-1,'vec',-1,'vec',-1,'vec',-1),exprs) end; if ~ok then break,end if exists('outport') then out=ones(outport,1), in=[], else out=1, in=[], end [model,graphics,ok]=check_io(model,graphics,in,out,1,[]) if ok then graphics.exprs=exprs; model.rpar=[A; bias; frq; phase; delay]; model.ipar=[]; model.dstate=[]; x.graphics=graphics;x.model=model break end end case 'define' then A=1 frq=1 phase=0 bias=0 delay=0 model=scicos_model() model.sim=list('mdaq_sinus_sim',5) if exists('outport') then model.out=ones(outport,1), model.in=[], else model.out=1, model.in=[], end model.evtin=1 model.rpar=[A; bias; frq; phase; delay] model.ipar=[] model.dstate=[]; model.blocktype='d' model.dep_ut=[%t %f] exprs=[sci2exp(A);sci2exp(bias);sci2exp(frq);sci2exp(phase);sci2exp(delay)] gr_i=['xstringb(orig(1),orig(2),[''Sine''],sz(1),sz(2),''fill'');'] x=standard_define([3 2],model,exprs,gr_i) end endfunction
cf5d41b54feacc810a7a4f5947507550a3914247
449d555969bfd7befe906877abab098c6e63a0e8
/1332/CH15/EX15.6/15_6.sce
48a6566002c93908bb4a77fef90a3a7e1ca947a9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
709
sce
15_6.sce
//Example 15.6 //Taylor Method //Page no. 510 clc;clear;close; deff('y=f1(x,y)','y=x^2+y^2') deff('y=f2(x,y)','y=2*x+2*y*f1(x,y)') deff('y=f3(x,y)','y=2+2*f1(x,y)^2+2*y*f2(x,y)') deff('y=f4(x,y)','y=6*f1(x,y)*f2(x,y)+2*y*f3(x,y)') h=0.2; for l=1:2 a=0;y=0;x=0; printf('\n---------------\nh = %g\n---------------\n',h) for i=1:4 x=a+(i-1)*h k=0; for j=1:4 if j==1 then k=k+(h^j)*f1(x,y)/factorial(j) elseif j==2 k=k+(h^j)*f2(x,y)/factorial(j) elseif j==3 k=k+(h^j)*f3(x,y)/factorial(j) else k=k+(h^j)*f4(x,y)/factorial(j) end end y=y+k; printf('\nx = %g\n\ny(%g) = %g\n\n',x,x+0.2,y) end h=h+0.2; end
fbd406729c3db81101ff72ccd7ff68c1df285dc2
449d555969bfd7befe906877abab098c6e63a0e8
/1208/CH9/EX9.7.b/Exa7_b.sce
c6804f50fc4058ffbdce54abc3dc1f677a367354
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
639
sce
Exa7_b.sce
//Exa 7(ii) clc; clear; close; // given data : //mix ratio is not same SQa=10//in Kgs AQa=10//in Kgs SPa=8//in rupees per Kgs APa=7//in rupees per Kgs SQb=8//in kg AQb=9//in Kg SPb=6//in rupees per Kg APb=7//in rupees per Kg SQc=4//in kg AQc=5//in Kg SPc=12//in rupees per Kg APc=11//in rupees per Kg //(2) Material usage variance MUVa=SPa*(SQa-AQa);//in rupees MUVb=SPb*(SQb-AQb);//in rupees MUVc=SPc*(SQc-AQc);//in rupees disp(MUVa,"MUVa="); disp(MUVb,"MUVb="); disp(MUVc,"MUVc="); disp("Note : ") disp("Negative variances indicate adverse value "); disp("Positive variances indicate favourable value ");
344fab8005dce9274dc3c9602a11a1271474196c
449d555969bfd7befe906877abab098c6e63a0e8
/3557/CH14/EX14.8/Ex14_8.sce
fbda30df1f9039f51b42c2db6c382026d12680ba
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,025
sce
Ex14_8.sce
//Example 14.8// Ec=366;//MPa // composite modulus El=207;//modulus for Co Eh=704;//modulus for WC Phase vl=0.5;//low modulus phase vh=0.5;// high modulus phase n=1; //given n1=(1/2);//given n2=0.01;//given n3=-0.01;//given n4=-1;//given A=(Ec)^n mprintf("A = %i ",A) B=(vl*(El)^n)+(vh*(Eh)^n) mprintf(" B = %f ",B) C=B/A mprintf(" C = %f ",C) A1=(Ec)^n1 mprintf("\nA1 = %f ",A1) B1=(vl*(El)^n1)+(vh*(Eh)^n1) mprintf(" B1 = %f ",B1) C1=B1/A1 mprintf(" C1 = %f ",C1) A2=(Ec)^n2 mprintf("\nA2 = %f ",A2) B2=(vl*(El)^n2)+(vh*(Eh)^n2) mprintf(" B2 = %f ",B2) C2=B2/A2 mprintf(" C2 = %i ",C2) A3=(Ec)^n3 mprintf("\nA3 = %f ",A3) B3=(vl*(El)^n3)+(vh*(Eh)^n3) mprintf(" B3 = %f ",B3) C3=B3/A3 mprintf(" C3 = %f ",C3) A4=(Ec)^n4 mprintf("\nA4 = %e ",A4) B4=(vl*(El)^n4)+(vh*(Eh)^n4) mprintf(" B4 = %e ",B4) C4=B4/A4 mprintf(" C4 = %f ",C4) x=[1 1/2 0.01 -0.01 -1]; y=[1.24 1.07 1.00 0.999 1.15]; plot2d(x,y, style=1) ylabel("B/A","fontsize",4) //Therefore mprintf("\n n=0")
ef6259cd788202f2ddea513c6950e1de45c1ca16
449d555969bfd7befe906877abab098c6e63a0e8
/3774/CH3/EX3.4/Ex3_4.sce
b8f3b649637710eb1ce4aea436c4126d02448451
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,672
sce
Ex3_4.sce
// exa 3.4 Pg 65 clc;clear;close; // Given Data P=15;// kN sigma_t=20;// MPa sigma_c=60;// MPa n=3;// factor of safety a=poly(0,'a');// from the diagram. // Area of cross section A1=2*a*a;// mm.sq. A2=2*a*a/2;// mm.sq. A=A1+A2;// mm.sq. // Location of neutral axis //3*a**2*y_bar=2*a**2*a/2+a**2*(a+a/2) y_bar=(2*a**2*a/2+a**2*(a+a/2))/(3*a**2);// mm // Moment of Inertia about neutral axis N-A I=2*a*a**3/12+2*a**2*(y_bar-0.5*a)**2+2*((a/2)*(a**3/12)+(a**2/2)*(1.5*a-y_bar)**2);// mm^4 yt=y_bar;//mm yc=2*a-y_bar;// mm e=y_bar-0.5*a;//mm M=P*10**3*e;// N.mm sigma_d=P*10**3/A;// N/mm.sq. sigma_t1=M*yt/I;//N/mm.sq. sigma_c1=M*yc/I;//N/mm.sq. sigma_r_t=sigma_d+sigma_t1;// N/mm.sq. (sigma_r_t=resultant tensile stress at AB=sigma_d+sigma_t) sigma_r_c=sigma_c1-sigma_d;// N/mm.sq. (sigma_r_t=resultant tensile stress at AB=sigma_d+sigma_t) //equating resulting tensile stress with given value sigma_t-sigma_r_t=0...eqn(1) expr1=sigma_t-sigma_r_t;// expression of polynomial from above eqn. a1=roots(numer(expr1));// solving the equation (as denominator will me be multiplied by zero on R.H.S) a1=a1(2);// mm // discasrding -ve roots printf('Equating resultant tensile stress gives, a = %.2f mm',a1) //equating resulting compressive stress with given value sigma_c-sigma_c_t=0...eqn(1) expr2=sigma_c-sigma_r_c;// expression of polynomial from above eqn. a2=roots(numer(expr2));// solving the equation (as denominator will me be multiplied by zero on R.H.S) a2=a2(2);// mm // discarding -ve roots printf('\n Equating resultant compressive stress gives, a = %.2f mm',a2) a=ceil(a1);//mm printf('\n dimension of cross section of link, a=%.2f mm. adopt a=%.f mm.',a1,a)
b3e4922ffe67c05d84b03ff43f189e912f1d477b
449d555969bfd7befe906877abab098c6e63a0e8
/851/CH9/EX9.4.9.5/Example9_4_Example9_5.sce
faa26ee424af08376acf5e97598e78acb75dca61
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
738
sce
Example9_4_Example9_5.sce
//clear// //Caption:Slow and Fast Frequency hopping: FH/MFSK //Example9.4 and Example9.5: Parameters of FH/MFSK signal //Slow and Fast Frequency Hopping clear; close; clc; K =2; //number of bits per symbol M = 2^K; //Number of MFSK tones N = 2^M-1;//Period of the PN sequence k = 3; //length of PN sequence per hop disp(K,'number of bits per symbol K =') disp(M,'Number of MFSK tones M=') disp(N,'Period of the PN sequence N =') disp(k,'length of PN sequence per hop k =') disp(2^k,'Total number of frequency hops =') //Result //number of bits per symbol K = 2. //Number of MFSK tones M = 4. //Period of the PN sequence N = 15. //length of PN sequence per hop k = 3. //Total number of frequency hops = 8.
37ed118a101f50677613d0e9d746f6c450feecc1
f42e0a9f61003756d40b8c09ebfe5dd926081407
/TP3/cald.sci
7219b5d7eb9fd558dce871385954e3f99c3368bd
[]
no_license
BenFradet/MT09
04fe085afaef9f8c8d419a3824c633adae0c007a
d37451249f2df09932777e2fd64d43462e3d6931
refs/heads/master
2020-04-14T02:47:55.441807
2014-12-22T17:34:50
2014-12-22T17:34:50
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
999
sci
cald.sci
function[d, h] = cald(T, y) exec('rich.sci', -1); [one n] = size(T); if one <> 1 error('T not a vector'); end [one ny] = size(y); if one <> 1 | ny <> n error('y not the right dims'); end h = zeros(1, n - 1); a = zeros(1, n - 1); b = zeros(1, n); c = zeros(1, n - 1); u = zeros(1, n); for i = 1: n - 1 h(i) = T(i + 1) - T(i); if abs(h(i)) < %eps error('h(i) cant be null'); else a(i) = 1 / h(i); c(i) = a(i); if i == 1 b(i) = 2 / h(i); u(i) = 3 * (y(i + 1) - y(i)) / (h(i) ^ 2); else b(i) = 2 / h(i - 1) + 2 / h(i); u(i) = 3 * ((y(i) - y(i - 1)) / (h(i - 1) ^ 2) + ... (y(i + 1) - y(i)) / (h(i) ^ 2)); end end end b(n) = 2 / h(n - 1); u(n) = 3 * (y(n) - y(n - 1)) / (h(n - 1) ^ 2); d = rich(a, b, c, u); endfunction
f9cf618c445e19d2293f22f52fdf0124f6523065
449d555969bfd7befe906877abab098c6e63a0e8
/1964/CH4/EX4.25/ex4_25.sce
a4335968ee1111a85fe7a57f727b29a6b12df9aa
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
2,474
sce
ex4_25.sce
//Chapter-4, Example 4.25, Page 149 //============================================================================= clc clear funcprot(0) function [polar] = r2p(x,y) //function to convert rectangular to polar polar = ones(1,2) polar(1) = sqrt ((x ^2) +(y^2)) polar(2) = atan (y/x) polar(2) =(polar (2)*180)/%pi endfunction function [ rect ] = p2r(r,theta)//function to convert polar to rectangular rect = ones(1 ,2) theta =( theta *%pi) /180 rect (1)=r* cos(theta) rect (2)=r* sin(theta) endfunction //CALCULATIONS //v=230*sin(314*t)+60*sin(942*t) V=230;//voltage in volts V1=60;//voltage of harmonic in volts R=10;//resistance in ohms L=0.3;//inductance in henry C=100*10^-6;//capacitance in F //Branch with Resistor (R) I1m=V/R;//current in A I1m=I1m/(sqrt(2));//rms current in A I3m=V1/R;//current in A I3m=I3m/(sqrt(2));//rms current in A I=sqrt((I1m)^2+(I3m)^2);//rms current in A Pr=((I)^2)*(R);//power in Watts //Branch with inductor(L) Z1=(10+((%i)*(314*0.03)));//impedance to fundamental component M=sqrt((10)^2+(9.42)^2);//magnitude of Z1 in polar form theta=atan(9.42/10)*(180/%pi);//angle of Z1 in polar form I2m=V/M;//fundamental current in A I2m=I2m/(sqrt(2));//rms current in A I4m=V1/M;//third harmonic component of current I4m=I4m/(sqrt(2));//rms current in A I1=((I2m)^2+(I4m)^2);//total rms current in A Pr1=(I1)*(R);//Power in Watts //branch with capacitor X1=1/(314*10^-4);//reactance to fundamental component in ohms I5m=V/(X1);//current in A I5m=I5m/(sqrt(2));//rms current in A X2=1/(942*10^-4);//reactance to third harmonic component in ohms I6m=V1/X2;//current in A I6m=I6m/(sqrt(2));//rms current in A I2=sqrt((I5m)^2+(I6m)^2);//total rms current in A Pr2=0;//power in watts T=Pr+Pr1+Pr2;//total power dissipated in W //calculation of total current Im=(p2r(16.26,0)+p2r(11.84,43.29)+p2r(5.1,90));//pol to rect disp(Im);//fundamental component of current in A Im1=(p2r(4.24,0)+p2r(3.09,-43.29)+p2r(4,90));//pol to rect disp(Im1);//third harmonic component of current in A T1=sqrt((Im(1))^2+(Im1(1))^2);//total rms current in A V2=(sqrt((V)^2+(V1)^2))/sqrt(2);//voltage applied in rms pf=T/((T1)*(V2));//power factor mprintf("thus total current ,power input and power factor are %2.2f A ,%f W,%1.2f respectively",T1,T,pf); //=================================END OF PROGRAM======================================================================================================
59bd9db785dbf7d6050106b20a6030315b695cc6
449d555969bfd7befe906877abab098c6e63a0e8
/2939/CH4/EX4.1/Ex4_1.sce
4f1cbc4b976fa886678af7d63c233a66062fb300
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
223
sce
Ex4_1.sce
// Ex4_1 clc; //Given: t1=1600;// in year a=11.6*10^17;// atoms // Solution: k=0.693/t1;// year^-1 L=(a*226)/k;// atomic mass of Radon is 226 printf("The value of avagadro constant is = %f atoms per mole",L)
0c21a375cc571167791685b71ebef7f5571f859a
449d555969bfd7befe906877abab098c6e63a0e8
/3472/CH42/EX42.9/Example42_9.sce
cdca63f25f921f59f4c25c41bc800320ba541dae
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,856
sce
Example42_9.sce
// A Texbook on POWER SYSTEM ENGINEERING // A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar // DHANPAT RAI & Co. // SECOND EDITION // PART IV : UTILIZATION AND TRACTION // CHAPTER 4: ILLUMINATION // EXAMPLE : 4.9 : // Page number 758-759 clear ; clc ; close ; // Clear the work space and console // Given data b = 27.45 // Breadth of hall(m) l = 45.75 // Length of hall(m) I_avg = 108.0 // Average illumination(lumens/sq.m) h = 0.75 // Height(m) cou = 0.35 // Co-efficient of utilization pf = 0.9 // Pereciation factor P_fl = 80.0 // Fluorescent lamp power(W) n_100 = 13.4 // Luminous efficiency for 100W filament lamp(lumens/watt) n_200 = 14.4 // Luminous efficiency for 200W filament lamp(lumens/watt) n_80 = 30.0 // Luminous efficiency for 80W fluorescent lamp(lumens/watt) // Calculations area = b*l // Area to be illuminated(Sq.m) I_total = area*I_avg // Total illumination on working plane(lumens) gross_lumen = I_total/(cou*pf) // Gross lumens required P_required = gross_lumen/n_200 // Power required for illumination(W) P_required_kW = P_required/1000 // Power required for illumination(kW) no_lamp = P_required/200 // Number of lamps P_required_new = gross_lumen/n_80 // Power required when fluorescent lamp used(W) P_required_new_kW = P_required_new/1000 // Power required when fluorescent lamp used(kW) P_saving = P_required_kW-P_required_new_kW // Saving in power(kW) // Results disp("PART IV - EXAMPLE : 4.9 : SOLUTION :-") printf("\nSuitable scheme: Whole area divided into %.f rectangles & 200-watt fitting is suspended at centre of each rectangle", no_lamp) printf("\nSaving in power consumption = %.1f kW", P_saving)
1e9312a1f36c6cdad171f9413a7e462243ff5100
449d555969bfd7befe906877abab098c6e63a0e8
/14/CH14/EX14.8/example_14_8.sce
ae307cd89c95e4745fdac0a6dc96ba87291bd46f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
971
sce
example_14_8.sce
//Chapter 14 //Example 401 //Page 401 //deltamax clear;clc; Pm = 1; //from previous examples Pmax_before = 2.1; Pmax_during = 0.808; Pmax_after = 1.5; delta = 28.44 * %pi / 180; disp('The power angle equations for different times of fault are') printf("\n Before the fault : \t Pmax * sin(delta) = %.3f * sin(delta)\n",Pmax_before) printf("\n During the fault : \t r1 * Pmax * sin(delta) = %.3f * sin(delta)\n",Pmax_during) printf("\n After the fault : \t r2 * Pmax * sin(delta) = %.3f * sin(delta)\n",Pmax_after) r1 = Pmax_during / Pmax_before; r2 = Pmax_after / Pmax_before; delta_max = %pi - asin(Pm / Pmax_after); cos_delta_cr = (((Pm/Pmax_before) * (delta_max - delta) + (r2 * cos(delta_max) - (r1 * cos(delta)))) / (r2 - r1)); delta_cr = acos(cos_delta_cr); printf("\n\n r1 = %.3f \n r2 = %.3f \n",r1,r2) printf("\n\n delta_max = %.3f rad \n cos(delta_cr) = %.3f \n",delta_max,cos_delta_cr) printf("\n Critical clearing angle is %.3f degrees",delta_cr * 180 / %pi)
3a6982b30cea7ef63a9172ddfd41c7d5426a9a7d
449d555969bfd7befe906877abab098c6e63a0e8
/3136/CH6/EX6.10/Ex6_10.sce
be54d5c45158d2cd315d14bb528cadd1971e57c9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,633
sce
Ex6_10.sce
clear all; clc; disp("From table 6.1 at 1.25 SP,the rotating speeds for Q1=11172cfm and Q2=12103cfm are N1=474rpm and N2=483 rpm respectively") Ns=474+[(483-474)*(12000-11172)]/[12103-11172] printf(" Hence the rotating speed for the selected fan is determined by inetrpolation %0.0f rpm\n\n",Ns) disp("Select a few data points around 482 rpm from table 6.1 as:") Q=[14896 12103 11172 11172 10241 7448]; N=[490 448 436 474 466 360]; SP=[1.0 1.0 1.0 1.25 1.25 0.75]; BHP=[3.66 2.67 2.40 2.97 2.75 1.2]; disp(" Q(cfm) N(rpm) SP(in.wg) BHP(hp)") table=[Q' N' SP' BHP'] disp(table) disp("Convert them into conditiond of 482 rpm according to the similarity laws,resulting in") Q1=[14653 13021 12350 11360 10593 9972]; SP1=[0.967 1.16 1.22 1.29 1.34 1.34]; BHP1=[3.5 3.20 3.24 3.12 3.04 2.88]; table1=[Q1' SP1' BHP1'] disp(" Q(cfm) SP(in.wg) BHP(hp)") disp(table1) disp("The system curve can be calculated from the following table") Q2=[10000 11000 12000 13000 14000]; H2=[0.87 1.05 1.25 1.47 1.70]; sqrQ2 = zeros(1,length(Q2)); for i = 1: length(Q2) sqrQ2(i) = [Q2(i)]^2; end table2=[Q2' H2'] disp(" Q(cfm) H(in.wg)") disp(table2) disp("The system curve can be calculated from H versus Q^2. It is plotted as shown.") //The system curve has not been provided in the book for this numerical. However they have mentioned that the parameters for the curve are H and Q^2,and as such has been plotted here. plot(sqrQ2,H2) xlabel("Q^2 ") ylabel("H") set(gca(),"grid",[1 1]) xtitle("System curve: H versus Q squared")
56d89c0f1026d7e20fa2bdfb28904a2bcd01cc48
449d555969bfd7befe906877abab098c6e63a0e8
/1055/CH13/EX13.13/ch13_13.sce
d33cc94d80c2a105eac8da89e4359e1f6c75d5b0
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
300
sce
ch13_13.sce
//To Determine the reactance of the reactor to prevent the brakers being overloaded clear clc; Sb=75;// Base MVA Xpu=.15*Sb/15;// p.u reactance of the generator Xt=-%i*.08;//p.u reactanceof the transformer X=9.75/112; Xa=X*33*33/75; mprintf("the reactance of the reactor =%.3f ohms\n",Xa);
2c4e9cefe4ff5ec07d397b2a94118c09099329f4
449d555969bfd7befe906877abab098c6e63a0e8
/2333/CH2/EX2.13/13.sce
c7ff2210ceea85482db910c2268dbf656c5bbbee
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
579
sce
13.sce
clc // Given that lambda = 5890 // Wavelength of light in angstrom d1 = 5 // separation between slit and biprism in cm d2 = 75 // Distance between screen and biprism in cm Beta = 9.424e-2 // Fringe width in cm // Sample Problem 13 on page no. 99 printf("\n # PROBLEM 13 # \n") printf("\n Standard formula used \n x = D*n*lambda/d \n") D = d1+ d2 // Separation between slit and screen in cm d = D*1e-2*lambda*1e-10/(Beta*1e-2) // Calculation for separation between two coherent sources in m printf("\n Separation between two coherent sources is %f cm.", d*1e2)
d6ca3bb6d6b74f3a4d77cae50f75d3887f4fbbb5
449d555969bfd7befe906877abab098c6e63a0e8
/770/CH14/EX14.4/14_4.sce
4987de2d9f638a35779266a878976bb8bbcbb448
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,474
sce
14_4.sce
clear; clc; //Example - 14.4 //Page number - 461 printf("Example - 14.4 and Page number - 461\n\n"); //Given, T = 300;//[K] - Temperature b = 100;//[cal/mol] R = 1.987;//[cal/mol*K] - Universal gas constant // R*T*log(Y_1) = b*x_2^(2) // R*T*log(Y_2) = b*x_1^(2) //For equimolar mixture x_1 = 0.5;//Mole fraction of component 1 x_2 = 0.5;//Mole fraction of component 2 //The excess Gibbs free energy is given by // G_excess = R*T*(x_1*log(Y_1) + x_2*log(Y_2)) = b*x_1*x_2^(2) + b*x_2*x_1^(2) = b*x_1*(x_1 + x_2) = b*x_1*x_2 G_excess = b*x_1*x_2;//[cal/mol] //The ideal Gibbs free energy change of mixing is given by, delta_G_id_mix = R*T*(x_1*log(x_1)+x_2*log(x_2));//[cal/mol] //The Gibbs free energy of mixing is given by delta_G_mix = delta_G_id_mix + G_excess;//[cal/mol] //It is given that entropy change of mixing is that of ideal mixture,therefore // delta_S_mix = delta_S_id_mix = - R*sum(x_i*log(x_i)) //delta_G_mix = delta_H_mix - T*delta_S_mix = delta_H_mix + R*T*(x_1*log(x_1)+x_2*log(x_2)) delta_H_mix = b*x_1*x_2;//[cal/mol] printf("The value of Gibbs free energy change for equimolar mixture formation is %f cal/mol\n\n",delta_G_mix); printf("The value of enthalpy change for equimolar mixture formation is %f cal/mol\n\n",delta_H_mix); //Work required for separation of mixture into pure components is W = delta_G_mix; printf("The least amount of work required for separation at 300 K is %f cal/mol\n\n",W);
967871108dc8fbdd2edd9c0e83eb1396510e248f
99b4e2e61348ee847a78faf6eee6d345fde36028
/Toolbox Test/peig/peig6.sce
24aa6d30719e0d460a4b42dc900ce3c48370202b
[]
no_license
deecube/fosseetesting
ce66f691121021fa2f3474497397cded9d57658c
e353f1c03b0c0ef43abf44873e5e477b6adb6c7e
refs/heads/master
2021-01-20T11:34:43.535019
2016-09-27T05:12:48
2016-09-27T05:12:48
59,456,386
0
0
null
null
null
null
UTF-8
Scilab
false
false
211
sce
peig6.sce
// x=[1 2 3 4 5 6 2 3 7]; p=3; fs=4e6; f=[5]; [S,f] = peig(x,p,f,fs); disp(S); disp(f); //output // // 9.7899816 // 0.8200464 // 0.5423142 // // 0. // 800000. // 1600000.
78ad9c0ab2095414a3f8124aa14fec22e31fa0a5
449d555969bfd7befe906877abab098c6e63a0e8
/3428/CH3/EX1.3.27/Ex1_3_27.sce
cd9a26839c8279103d185a9190d1b20e03336473
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
657
sce
Ex1_3_27.sce
//Section-1,Example-10,Page no.AC-276 //To calculate the amount of lime and soda required for the softening of 24000 litres of water for the given period of time. clc; A_1=1.85 //CaCO3(mg/L) A_2=0.34 //CaSO4(mg/L) A_3=0.42 //MgCO3(mg/L) A_4=0.76 //MgCl2(mg/L) A_5=0.90 //MgSO4(mg/L) A_6=2.34 //NaCl(mg/L) A_7=2.34 //SiO2(mg/L) L_R=(74/100)*((A_1*(100/100))+(2*A_3*(100/84))+(A_4*(100/95))+(A_5*(100/120)))*((24000*365*100)/(10^6*88.3)) disp(L_R,'Lime requirement(kg)') S_R=(106/100)*((A_2*(100/136))+(A_4*(100/95))+(A_5*(100/120)))*((24000*365*100)/(10^6*99.2)) disp(S_R,'Soda requirement(kg)')
361ae9bef6d284a59b1fad1ce5233859ca63b8e2
449d555969bfd7befe906877abab098c6e63a0e8
/2873/CH1/EX1.17/Ex1_17.sce
7dd9bdb871f652a2909df3d4d3c6fe17034a5a3c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
657
sce
Ex1_17.sce
// Display mode mode(0); // Display warning for floating point exception ieee(1); clear; clc; disp("Engineering Thermodynamics by Onkar Singh,Chapter 1,Example 17") V1=2;//volume of first cylinder in m^3 V2=2;//volume of second cylinder in m^3 T=(27+273);//temperature of system in k m1=20;//mass of air in first vessel in kg m2=4;//mass of air in second vessel in kg R=287;//gas constant J/kg k disp("final total volume(V)in m^3") disp("V=V1*V2") V=V1*V2 disp("total mass of air(m)in kg") disp("m=m1+m2") m=m1+m2 disp("final pressure of air(P)in kpa") disp("using perfect gas equation") disp("P=(m*R*T)/(1000*V)") P=(m*R*T)/(1000*V)