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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0e932aee5429823b579f254fcf633f9f62376f70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH6/EX6.7/ex6_7.sce | 610262bfab0ea7079d83045dae2a1e6e427d7fea | [] | 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 | ex6_7.sce | // Exa 6.7
clc;
clear;
close;
format('v',9)
// Given data
Im = 20;// in mA
Im = Im * 10^-3;// in A
Vm = 50;// in mV
Vm = Vm * 10^-3;// in V
V = 500;// in V
Rm = Vm/Im;// in ohm
Rs = (V/Im)-Rm;// in ohm
disp(Rs,"The series resistance in ohm is");
|
9485d1cdc2949adfeb24893369a0a8cd8613ef5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH8/EX8.9.7/Ex8_9_7.sce | 6f27882249a04ce40f8202c26ce90345c923b4ef | [] | 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,160 | sce | Ex8_9_7.sce | clear
clc
E_RHE=(0.5335-(-2.363));//reduction reaction at RHE in V
RT_F=0.05915;//
E_LHE=((RT_F/2)*log10(0.1*0.2^2));//reduction reaction at LHE in V
Ecell=E_RHE-E_LHE;//cell reaction in V
printf('Ecell=%.4f V',Ecell)
E_RHE=(0.0-0.0713);//reduction reaction at RHE in V
RT_F=0.05915;//
E_LHE=((RT_F)*log10((0.5^... |
50b8e81185a160a3db25aa4732a2c649cc183ac1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH1/EX1.1/1_1.sce | 9782b6edfdb6d7b6199ce75249365efef8ec8e0a | [] | 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 | 242 | sce | 1_1.sce |
clc;
p=3;//bar
v=0.18;//m^2/kg
p2=0.6;//bar
c=p*v^2;
v2=(c/p2)^0.5;
W=-c*(10^5)*[(1/v)-(1/v2)];
disp("Work done by the fluid is:");
disp("N m/kg",-W);
//Answers vary more than than +/-5 :
//Answers in the textbook is wrong
|
d00725a1bc47b250a1e7906c1e8b3fda0b6279fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH6/EX6.14/6_14.sce | 0a3d83bd8f21d766553d24fa2a6b359fa35f33e6 | [] | 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 | 264 | sce | 6_14.sce |
clc
//initialisation of variables
h= 10 //ft
l= 50 //ft
d= 1 //in
lm= 5 //in
f= 0.01
sm= 13.6
g=32.2
//CALCULATIONS
ps= sm*lm/12
v= sqrt((ps+h)*2*g*(d/12)/(4*f*l))
Q= v*%pi*(d/12)^2/4
//RESULTS
printf ('Discharge through the pipe= %.3f cuses',Q)
|
1bd21d63136f620922272abfd16311b9e4a499ff | cb85e23a93890cfe63382a9e043a178c7058cd4d | /simulator_properties.sce | 4ad3c6dc98ba56a1a003f95b79040c73f375208a | [] | no_license | FINESCE/INP-SCILAB | ae06d33a4e159c6bc154700f5c7b88759caf6004 | 0006a42b67e269d7ce28729dba870306d564bcf5 | refs/heads/master | 2016-08-06T21:46:16.111774 | 2015-07-15T10:39:06 | 2015-07-15T10:39:06 | 37,849,688 | 1 | 1 | null | 2015-07-15T10:39:07 | 2015-06-22T10:35:26 | Scilab | UTF-8 | Scilab | false | false | 267 | sce | simulator_properties.sce | function [simulator_filepath, input_filepath,output_filepath]=simulator_properties()
simulator_filepath='/Users/mcfly/Desktop/INP-SCILAB/'
input_filepath='/Users/mcfly/Desktop/INP-SCILAB/input/'
output_filepath='/Users/mcfly/Desktop/INP-SCILAB/output/'
endfunction
|
aa4dc310d238f2b18e6acdbcb832cfddc42b8df1 | 1485852dd59aafc286600126cf832a32e10f117f | /tests/localMaximaFinder/test2.sce | 507bcc7728d9902d3509c8915f1b409f34ee58ce | [] | no_license | rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox | dec9fbbce32cfd1eab3c45ccb29c89aaa1384758 | 8adb116da3a9c29a32e5e0727105aff571e5b374 | refs/heads/master | 2020-12-02T16:14:45.282650 | 2017-07-07T10:12:04 | 2017-07-07T10:12:04 | 96,524,257 | 0 | 0 | null | 2017-07-07T09:43:50 | 2017-07-07T09:43:50 | null | UTF-8 | Scilab | false | false | 146 | sce | test2.sce | //for a matrix - increasing the neighbourhood
mat = [0 0 0 0 0 0;0 0 0 1 0 0;0 0 7 0 0 0 ;0 0 0 0 0 0];
loc=localMaximaFinder(mat,[3 3],4,1);
loc
|
4ed83117d3e458dbf4ae215d58c18b3c386101fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2399/CH4/EX4.17.1/Example_4_17_1.sce | eeb29bd703ac7b9f3ea82b089f23ddf4eab6e8f1 | [] | 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 | 826 | sce | Example_4_17_1.sce | // Example 4.17.1
clc;
clear;
L=10; //length of optical link
n1=1.49 //refractive index
c=3d8; //speed of light
delta=1/100; //relative refractive index
delTS=L*n1*delta/c; //computing delay difference
delTS=delTS*10^12;
sigmaS=L*n1*delta/(2*sqrt(3)*c); //computing rms pulse br... |
4c4903219b3dae54f17fa613926914848e34986d | 29778da8b2321b9b111665ee097446f393795813 | /automatique/Td/td1/test_sur_h.sce | 5d617ca8dc00f61298c1588cf48698eefa2a1dc1 | [] | no_license | RomainCocogne/Elec3 | 947fe8590fcc084f496e0934c2bda195adb4d33f | 47833a7112d50c6278898ee388044d5364fb482c | refs/heads/master | 2020-04-27T02:23:00.159518 | 2019-08-26T22:29:00 | 2019-08-26T22:29:00 | 173,992,180 | 2 | 0 | null | 2019-05-16T14:59:40 | 2019-03-05T17:37:22 | Jupyter Notebook | UTF-8 | Scilab | false | false | 194 | sce | test_sur_h.sce | t=linspace (0,10,1000);
p=poly(0,'p');
a=95/13
S=%pi*(2.5^2)
Ts=100 //tps de simulation en min
Qs=40
G=1
Tau=S/(a*G);
G=syslin('c',10/(1+Tau*p))
h=csim('step',t,G);
plot2d(t,h);
|
bfeec53191b7319201bf05b22dc8f614500d3782 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH12/EX12.6/12_6.sce | 97950d475a9193ac15625d7d8d7e588d14c19e4f | [] | 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 | 645 | sce | 12_6.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 12.6
//writing the equation giving angular displacement as a function of time
//given data
theta0=%pi/10//amplitude(in rad) of motion
theta=%pi/10//displacement(in rad) at t=0 s
T=.05//time period(in s)
//calculat... |
992a27760995c130e61c81bcb45b240df0d47035 | 449d555969bfd7befe906877abab098c6e63a0e8 | /686/CH16/EX16.2/Ex16_2.sci | f95f7b70e6193a80aa32a73a3d65be16daa9a5c6 | [] | 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,268 | sci | Ex16_2.sci | clc();
clear;
// To calculatevthe amount of water evaporated per hour per square feet from the water surface
u = 10; // Flow of air stream in fps
r = 33.3; // Relative humidity
T = 519; // Temperature in Rankine
p = 0.1130; // Partial pressu... |
71b45e390c31c7202d2826ed254bc3bbee07efc1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /371/CH16/EX16.3/16_3.sci | 4263d10ee190960a785882adfc6a5a87217432b5 | [] | 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 | 249 | sci | 16_3.sci | //Faults and Protection//
//Example 16.3//
P=100;//input power in KVA//
Xt=0.04;//limiting ac reactance value//
Fov=2;//current ovarload factor//
Pc=Xt*P*Fov;//choke power of the converter in KVA//
printf('choke power of the converter=Pc=%fKVA',Pc); |
8e78362857c750ae7d946fe203aad684d1a730c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH14/EX14.11/Example14_11.sce | 22ebce0361a95a0a155ebebcae04096da1b0c48f | [] | 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,213 | sce | Example14_11.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 7: UNDERGROUND CABLES
// EXAMPLE : 7.11 :
// Page number 216-217
clear ; clc ; close ; // Clear the work space and conso... |
d7a991ba12c8234f936198cf77f85031b2e25aac | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH2/EX2.10/Ex2_10.sce | 3cf24dcc989d8ffd8465dc2da2efd5f4be677597 | [] | 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 | 604 | sce | Ex2_10.sce | clc
//given that
r = 0.53 // radius of hydrogen atom in angstrom
m_e = 9.1e-31 // mass of electron in kg
h = 6.63e-34 // Plank constant
printf("Example 2.10")
h_bar = h / (2*%pi) // constant
del_x = 2*r // calculation of uncertainty in position
del_p = h_bar/(2*del_x*1e-10) // calculation of uncertainty in ... |
e3a8bf7b72946ea8b7bb31d09f60f6f4238c58b0 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Pack/Área 2/M12/códigos_respostas/passo_multiplo_q5q6.sci | 9099f67c63fff7581489f9624b482ed900880486 | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 770 | sci | passo_multiplo_q5q6.sci | x(1)=1 // c(1)fn +1
x(2)=-0 // c(2)fn +0
x(3)=-1 // c(3)fn -1
b(1)=1
b(2)=0
b(3)=1/3
for i=1:3
M(1,i)=1
M(2,i)=x(i)
M(3,i)=x(i)^2
end
c=inv(M)*b
S=c(1)^2+c(2)^2+c(3)^2 //solução
//disp(S)
disp('Coeficientes:')
disp(c) //resp.: C = coeficientes
/*
Resposta está em C, são os coeficientes
Ex (1):... |
286ba23e500b0ec22d15de74b072a92fb55857c9 | f81f2aca21a9a22746300d097acd62205d34fb61 | /archive.sce | 9359eb670519547658216e30a5c5c9aacefdb7ed | [] | no_license | br3688/SunPosition | e695d9f69e6ab8a6b1394ffe0e8c24b42f849d17 | 5169ba7e5374f617487c95c34e0c2410b08d2573 | refs/heads/master | 2020-07-01T04:57:25.732520 | 2016-11-22T18:51:29 | 2016-11-22T18:51:29 | 74,095,307 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,440 | sce | archive.sce | //function [] = sunPosition()
clc
clear
exec('NumberDays.sce');
exec('ConvertTime.sce');
exec('getDepthDiffuse.sce');
//latitudeSign is +1 if N of equator, -1 if S of equator
latitudeSign = 1;
degreesLat = 29;
minutesLat = 39;
secondsLat = 7.19;
longitudeSign = 1;
degreesLong = 82;
minutesLong = 19;
secondsLong = 29.... |
b30120f50f8f15efccae28190b91ffe7a93aeb34 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.3_17.tst | 46dea0ce262d17bda15c90489e43bfaec08f3257 | [] | 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 | 31,419 | tst | bow.3_17.tst | 3 15:0.06666666666666667 17:0.25 23:0.18181818181818182 37:0.3333333333333333 82:0.16666666666666666 95:1.0 96:0.16666666666666666 97:1.0 114:0.5 115:1.0 116:2.0 128:0.5 145:1.0 171:0.5 272:1.0 350:0.14285714285714285 531:0.5 561:1.0 622:1.0 641:1.0 809:1.0 892:1.0 938:1.0 1168:1.0 1430:1.0 1618:1.0 1742:1.0 1947:0.5 1... |
9ee16397e91831576967989dc101f75f38733b78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH10/EX10.15/Ex10_15.sce | 0b11902f35fb372e6e16f293b57f64c04fa3c7f9 | [] | 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 | 782 | sce | Ex10_15.sce | //===========================================================================
//chapter 10 example 15
clc;clear all;
//variable declaration
P = 200; //resistance in arm in Ω
Q = 200; //resistance in arm in Ω
S = 200; //resistance in arm in Ω
R = 200; //resistance in arm in Ω
p = 0.5; //power in W
... |
08a32ac259e503aaccb4db2a850f699d32c24c5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH9/EX9.7.b/Example9_7_b.sce | 12e034cd8cfd57f90b64f119d95664ae29205608 | [] | 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 | 458 | sce | Example9_7_b.sce | //Example 9.7 (b)
//Program To Determine Record Length of Bartlett,
//Welch(50% Overlap) and Blackmann-Tukey Methods
clear;
clc;
close;
//Data
Q=10;//Quality Factor
N=1000;//Samples
//RECORD LENGTH CALCULATION
lb=N/Q;
lw=16*N/(9*Q);
lbt=3*N/(2*Q);
//Display the result in command window
disp(lb,"Record Le... |
90867591a5be67a04590a984dd91fd5348994944 | 2abc0ac2745749ba8e8004d0b6e85f769175d540 | /Vtol_Parameters.sce | 61eb23bb076d0d0f679c2cb0f698ab47f309d5a3 | [] | no_license | jfloreshu/Vtol_scilab_LQR_deterministic | 9d17da342635539e6b9f3a6b6d128dc694be5656 | 6008f2ecd39c92095881f8f759c5b0a85e71bc6e | refs/heads/master | 2022-12-01T22:32:35.709043 | 2020-08-16T03:43:36 | 2020-08-16T03:43:36 | 287,854,224 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | Vtol_Parameters.sce | //Parameters of the Plane
m=4; //mass of the plane Kg
J=0.05; //Inertia Kgm2
r=0.3; //distance at which the plane operates m
g= 9.81; //Gravity m/s2
c=0.07; //Damping constant Ns/m
|
e18689a380f2e7476d6ffb99b99c48ef5b47a720 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH4/EX4.5/Ex4_5.sce | 54a4893bb4a78fb79dbc83bf745c07c0c72e7bc7 | [] | 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 | 228 | sce | Ex4_5.sce | clc
T=300 //K
Nn=2.8*10^19 //cm^-3
Np=1.04*10^19 //cm^-3
//a=Ef-Ev
an=0.25 //eV
ap=0.87 //eV
k=8.617*10^-5 //eV/K
n0=Nn*exp(-an/(k*T))
disp(n0,"n0 in cm^-3 is=")
p0=Np*exp(-ap/(k*T))
disp(p0,"p0 in cm^-3 is=")
|
1ab3d6caf9dfebaf734c87811b4784d11a896af1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH13/EX13.13/13_13.sce | f4b7a71199a4f7156ff54f67feca74a9a34bf2a9 | [] | 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 | 211 | sce | 13_13.sce | clear
clc
Pi=1
Pma=1.75
Pmb=.4
Pmc=1.25
d0=asin(Pi/Pma)
dm=%pi - asin(Pi/Pmc)
dcc=acosd(((Pi*(dm-d0))- (Pmb*cos(d0))+ (Pmc*cos(dm)))/(Pmc-Pmb))
mprintf("Critical Clearing angle = %.1f deg", dcc)
|
ed7473cc702492027ac0766d145f316d8cc1c3e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH9/EX9.13/Example_9_13.sce | dd595f740240a69b685dc443e714dd372bae2566 | [] | 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 | 994 | sce | Example_9_13.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 9
//Chemical Reaction Equilibria
//Example 13
clear;
clc;
//Given:
//Reaction: N2 + 3H2 --> 2NH3
K = 2*10^-4; //equilibrium constant of reaction
//To determine the percent conversion:
//Basis:
//1 mole nitrogen and 3 moles of hydrogen ... |
fd7fad14708bd33967c5e58ed14fdf2a81fe9737 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH4/EX4.4/4_4.sce | dcb829b7becfa059337e345a353eb42ac1f74016 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | 4_4.sce | clc;
s1=5.615;//kJ/kg K
t1=311;//C
t2=300;//C
t3=350;//C
s2=7.124+(t1-t2)/(t3-t2)*(7.301-7.124);
T=t1+273;//K
Q=T*(s2-s1);
disp("heat supplied is:");
disp("kJ/kg",Q)
u1=2545;//kJ/kg
u2=2794+(t1-t2)/(t3-t2)*(2875-2794);
W=(u2-u1)-Q
disp("work done by the steam is:");
disp("kJ/kg",-W)
|
de72526e619dc62683fc3fda26e4789a4f5c164e | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/scicos/check_mac.sci | 4f978e6487852248960383dbdb26c66ec6951999 | [
"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 | 237 | sci | check_mac.sci | function ok=check_mac(txt)
//ok=%t,return
//errcatch doesnt work poperly
ok=%t
errcatch(-1,'continue')
comp(mac)
errcatch(-1)
if iserror(-1)==1 then
errclear(-1)
message('Incorrect syntax: see message in Scilab window')
ok=%f
end
|
25e838fb5cb51727dea02fc16e9739f5c5e3a1ff | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/Redundant Receivers/RR_Plot2_v1.sci | d9e056a915d078de56f74aae14fe80d7bfb3a95a | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,458 | sci | RR_Plot2_v1.sci | // Coding gain plot for n-1 redundant receivers
//
// (c)2011 L. Rayzman
// Created : 10/18/2011
// Last Modified: 10/18/2011
//
// TODO:
//
clear;
getd("inc"); // Include Q-function definition
//////////////////////////////////////SPECIFY////////////////////... |
bb10e6a31d480ce34e1ccc80c42fc3a81158124f | fa428f297a915e9a041597642bfe29627ab69c42 | /app/views/static/contactinfo.sce | e7d137e96e19d720f82b21e871014b714e55a50f | [] | no_license | TheBrenny/Web-Dev-and-Security | dff903be92838b14f7126dd1f7092922b86bf2cc | e4abb96dc24e606704b09f5acdd2684d6d5d577d | refs/heads/main | 2023-06-17T08:33:35.176024 | 2021-06-15T05:07:20 | 2021-06-15T05:07:20 | 343,603,444 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sce | contactinfo.sce | [[i= partials/header ]]
[[i= partials/navbar ]]
<div class="container" style="width: 100%;flex-flow:row;">
[[i= static/sidebar ]]
<div class="container center" style="width:78%;">
<h1>Contact Info</h1>
<p>You can contact us at the details below:</p>
<ul>
<li>Mobile ... |
2f676e12c9565fe2f61e47bb4928835b27326b41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH5/EX5.22/Ex5_22.sce | d76ab3b178fba41673688cd80958afe3d1468799 | [] | 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 | 224 | sce | Ex5_22.sce | clear
//Given
R0=5 //ohm
R100=5.23 //ohm
Rt=5.795 //ohm
//Calculation
t=((Rt-R0)/(R100-R0))*100
//Result
printf("\n The temperature of the bath is %0.2f degree C",t)
|
2bc9d003523cecf36c8d0cbe481820cc3f7cc6a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH2/EX2.12/2_12.sce | 127f8a1d93ef99208a8342914f5f6b8de8646c94 | [] | 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 | 381 | sce | 2_12.sce | clear all; clc;
disp("Ex 2_12")
disp(" Vector r = (-3i + 2j +6k) m")
r=sqrt((-3)^2+2^2+6^2)
printf('\n\nthe magnitude of r is: r = %.0f m',r)
disp(" ")
disp("u = (-3/7)i + (2/7)j + (6/7)k")
a1=acos((-3)/7)
a=a1*180/%pi
printf('\n\nalpha = %.0f degrees',a)
b1=acos(2/7)
b=b1*180/%pi
printf('\n\nbeta = %.1f degrees',b)
c1... |
8a9af9cda846f324855776129767c711eeecdd0a | ebfed86dee276110294a4e93fa80377908bbd317 | /macros/imageSet.sci | 5bb6b599d53bb6cbeaf117fee8ef7eeded9aa817 | [] | no_license | gursimarsingh/FOSSEE-Image-Processing-Toolbox | a9d46b698c98566fec867eb2ce3cfeb427058d5c | 165f6d7d1f20262a1637a923c6aad6e663ad1538 | refs/heads/master | 2021-08-16T19:18:59.591175 | 2017-11-08T17:55:04 | 2017-11-08T17:55:04 | 96,531,802 | 0 | 0 | null | 2017-07-07T11:21:10 | 2017-07-07T11:21:10 | null | UTF-8 | Scilab | false | false | 1,937 | sci | imageSet.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
af1523483e59aeca28fb947e1d420c7c9c17bf70 | 61da6be21995bc4b23f268b03fc13d0a33d818f3 | /test/strip.tst | c2aa87952e01a318426fe6451c552cf3f178897a | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | warmchang/reposurgeon | 657fe5f63fdd0db560b46ccff11478c73c69b150 | 43e553d9ff0ad4a9c39f4c94b58856f2e5c99297 | refs/heads/master | 2020-12-08T19:41:16.920673 | 2020-01-10T14:58:55 | 2020-01-10T14:58:55 | 233,076,382 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 71 | tst | strip.tst | ## Test of strip command
set echo
read <simple.fi
strip blobs
write -
|
925d1974d4302e2bdde31f560ef5de766f16d74d | e8dbcf469ba8a31d6926ba791ebc5dcccd50282b | /Scripts/DML/Consultas/Test/consulta_por_educacion.tst | 366aa1a06aa2b5156d4fd23142f2cba5ed5dd0f5 | [] | no_license | bryanjimenezchacon/bryanjimenezchacon.github.io | 5f2a0f1dbfbc584a65dece48f98b1c13d755512f | 7062d1860934808265c05491007c83f69da1112a | refs/heads/master | 2021-01-23T17:20:11.542585 | 2015-10-10T05:52:52 | 2015-10-10T05:52:52 | 41,244,377 | 2 | 0 | null | 2015-08-26T15:46:04 | 2015-08-23T09:52:06 | JavaScript | UTF-8 | Scilab | false | false | 245 | tst | consulta_por_educacion.tst | PL/SQL Developer Test script 3.0
5
begin
-- Call the procedure
personas_por_educacion(peducacion => :peducacion,
p_recordset => :p_recordset);
end;
2
peducacion
1
Tercer ciclo completo
5
p_recordset
1
<Cursor>
116
0
|
4a2a2ea5ba69964875906534c268b39c5b6c861f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH8/EX8.2/Ex8_2.sce | 4da7b432db9ef1ae923fc920130550ad24833480 | [] | 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 | 759 | sce | Ex8_2.sce | clear all; clc;
disp("Scilab Code Ex 8.2 : ")
//Given:
P = 15000; //N
a = 40; //mm
b = 100; //mm
//Stress Components:
//Normal Force:
A = a*b;
sigma = P/A;
//Bending Moment:
I = (a*b^3)/12; //I = (1/12)*bh^3
M = P*(b/2);(b/2);
c = b/2;
sigma_max =(M*c)/I;
//Superposition:
x = ((sigma_max-sig... |
217418a85700598e6707bb4685304e421416374c | 449d555969bfd7befe906877abab098c6e63a0e8 | /800/CH10/EX1.7/1_7.sce | 64e819762c6b33efc99ef1b71648339dc04bdf7c | [] | 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 | WINDOWS-1250 | Scilab | false | false | 651 | sce | 1_7.sce | //clear//
clc
clear
//exec("9.8data.sci");
t = 0:.01:.5;
function w=f(t,Y)
w =zeros(2,1);
d(X)/d(z}=-ra/U/Ca0
Ka=0.05;
Kb=.15;
Pao=12;
eps=1;
A=7.6;
R=0.082;
T=400+273;
Kc=.1;
rho=80;
kprime=0.0014;
D=1.5;
Uo=2.5
U:Uo*(l+eps*X)
Pa=PBo*(l-X)/(ltepstX)
Pb=Pao*X/(l+eps*X)
vo=Uo*3.1416*D*D/4
... |
c347ee7a9b2d5a9ce09e3f23b238c11b3f293fee | 449d555969bfd7befe906877abab098c6e63a0e8 | /3526/CH3/EX3.11/EX3_11.sce | 77fb17232e3926b7f94725e458f261cd0542f482 | [] | 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 | 349 | sce | EX3_11.sce | //page 70
clc;funcprot(0);//EXAMPLE 3.11
// Initialisation of Variables
E=12;......//No. of Edges in the octahedral sites of the unit cell
S=1/4;.......//so only 1/4 of each site belongs uniquelyto each unit cell
N=E*S+1;.....//No.of site belongs uniquely to each unit cell
disp(N,"No.of octahedral site belongs un... |
b739489ecc1fcf0237ee21e447b4faf81c2c9f32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH2/EX2.23/ex2_23.sce | 730b81a04d659f1fa8be653239441b97ac3d20ec | [] | 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 | 245 | sce | ex2_23.sce | // Exa 2.23
clc;
clear;
close;
// Given data
e = 1.6*10^-19;// in C
R_H = 0.0145;// in m^3/coulomb
Miu_e = 0.36;// m^2/v-s
E = 100;// V/m
n = 1/(e*R_H);// in /m^3
J= n*e*Miu_e*E;// in A/m^2
disp(J,"The current density in A/m^2 is");
|
8c3d8bdcc0fc53a0f9e76be1ddf6eb535518fef9 | 48b28720abdd652b3faddcdd82d77b841fce24a9 | /scilab/plot_linear2dmap.sci | deac8a06f731bb0162bec1ed956758f8657392a5 | [] | no_license | mcodevb/math-modelling-book | 4aceba280b0405848781023a2e899bbf7e0643ab | 59b310d5d2072b4fd2637914757221071aad0c9e | refs/heads/master | 2022-04-06T07:25:22.683663 | 2019-06-21T01:01:11 | 2019-06-21T01:01:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sci | plot_linear2dmap.sci | //
// plot_linear2dmap.sci
//
// Plots n iterations of the linear map with matrix A.
//
function x = plot_linear2dmap(x0,A,n)
x = x0;
for i = 1:n,
plot(x(1),x(2),'diamondred')
x = A*x;
end
endfunction
|
4951b8352896dd8ac5c4ca089a86a6b18f3a85fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH3/EX3.5/Ex3_5.sce | 00a6c7e3572c5db0e1d0a87a96c1196f15fe0e71 | [] | 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,243 | sce | Ex3_5.sce | // chapter 3
// example 3.5
// Design free-running UJT relaxation oscillator
// page-105-106
clear;
clc;
// given
fmin=5; // in Hz (minimum frequency)
fmax=50; // in Hz (maximum frequency)
E_dc=12; // in V (DC supply)
I_P=80; // in mA (peak current)
T=8; // in us (trigger time)
V_drop=1; // in V (voltage drop across PU... |
021f5fd832aed9c22b843c0797c8b66eaad26658 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1418/CH27/EX27.2/EX27_2.sce | 2bf8e47d9cfed78b317358eb90b962b4d44cc308 | [] | 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 | 854 | sce | EX27_2.sce | //EXAMPLE 27.2
//8-POLE GENERATOR
clc;
funcprot(0);
//Variable Initialisation
P=8;......//Total number of poles
Z=722;.....//Total number of conductors
V=500;.......//Termiinal voltage in Volts
Ia=200;........//Armature current in Amperes
Z=1280;......//Total number of conductors
as=160;........//Total nu... |
cf061c8d26bb84dac47d392f14623babd82059f9 | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter6/Ch_6_Eg_6.18.sce | 0a156288e0e4298a5c478d07961ff175a7179c14 | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 440 | sce | Ch_6_Eg_6.18.sce | //A program to read formatted data from files.
fd=mopen("sine.dat","r");
s=mfscanf (fd, "%s %s"); // Reads two words. The %s reads up to the first white space.
[n, x1, y1] =mfscanf (4, fd, "%d,%f"); // Reads the next four data set.
mclose(fd)
disp (y1, x1, n, s);
//Reading embedded data
fd=mopen("test.dat"... |
9c742a0c9cd17ad277e8b4fa418881aa9bee2557 | 449d555969bfd7befe906877abab098c6e63a0e8 | /830/CH4/EX4.4.4/DTFT_2.sce | 2d2bc330e4ddc5ac32b6a7b73c1840dc23b56c2d | [] | 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 | 742 | sce | DTFT_2.sce | //Graphical//
//Example 4.4.4
//Frequency Response of First Order Difference Equation
//a = 0.9 and b = 1-a
//Impulse Response h(n) = b.(a^n).u(n)
clear;
clc;
close;
a = input('Enter the constant value of Ist order Difference Equation');
b= 1-a;
//Calculation of Impulse Response
n =0:50;
h =b*(a.^n) ;
//... |
f9b756d93d83b37507869acce55597aff0162c9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH8/EX8.11/Ex8_11.sce | 9dab573f3cc7c6feab701e2718486c1fec86a7b3 | [] | 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 | 904 | sce | Ex8_11.sce | //===========================================================================
//chapter 8 example 11
clc;clear all;
//variable declaration
V = 230; //voltage in volts
I = 4; //current in A
I1 = 5; //current in A
cosphi = 1; //power factor
h = 6; //ho... |
cd7ef92786f2d2ec54ffd0b91dc67284c85b373a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH8/EX8.5/Exa8_5.sce | 77a6867285d84edd9b77f7f9ca2c7d05e70627d1 | [] | 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 | 260 | sce | Exa8_5.sce | //Exa 8.5
clc;
clear;
close;
//Given data
disp("Put alfa=sqrt(6) to find the gain");
alfa=sqrt(6);//unitless
Beta=1/(1-5*alfa^2);
//Barkhausen critera : A*|Beta|>=1
Beta=-Beta;//
A=1/Beta;//unitless
disp(A,"Minimum Gain of Amplifier must be : ");
|
3a3ec5cade065555eb5df5129fc2a8e3efb8392b | dec840088df00af3b1f0641ad264ca7532bf5dfc | /Road Concept Backend/Road Concept Core/src/test/maths/roadpositions.sce | ef271d905c847c349a4edbba807b7ddecfb2ebc4 | [] | no_license | romaincaronfr/Road-Concept | 631f379415c87f718c82b2cfa40d385cbc87f34c | d4bb5b5501f74a2825110f86acb8da41c706c80a | refs/heads/master | 2021-06-14T08:42:12.442659 | 2017-02-01T10:14:22 | 2017-02-01T10:14:22 | 68,044,070 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,693 | sce | roadpositions.sce |
function traceRoad()
clf;
isoview(-3,-3,3,3)
plot2d(0,0,rect=[-3,-3,3,3]);
n=0;
x=0;
y=0;
bt=0;
for n=1:2
[bt,x(n),y(n)]=xclick()
plot(x(n),y(n),"ro");
if n>1
//plot([x(n-1),x(n)],[y(n-1),y(n)],3,'LineWidth', 2)
end
end
plot(x,y)
... |
adff2918af333b2164c5b22b81e29b841a3a2577 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3750/CH1/EX1.4/Ex1_4.sce | 753cc321bd04f43b0fb1eb792ecad2e6877037f9 | [] | 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,018 | sce | Ex1_4.sce | //Strength Of Material By G.H.Ryder
//Chapter 1
//Example 4
// To Calulate Stress & Extension
g=9.8; //Acceleration due to Gravity, Unit in m/sec^2
m=100; //Falling Mass , Unit in Kg
W=m*g; //Falling weight , Unit in N
D1=1; // diameter of first part of bar, Unit in cm
l1=1.5; //Lenght fo first part of ba... |
1d5b1d69ef58e385bc8ae437897e9c21b05edc65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH2/EX2.10/10.sce | a9c68c7c0643f7373a37e28e0ec9f9ff47c5a4f5 | [] | 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 | 501 | sce | 10.sce | clc
// Given that
n = 4 // order of bright fringe
x_n = 10 // Separation of 4th bright fringe from center in mm
D = 1// Separation between source and screen in meter
d = 0.2 // Separation between coherent sources in mm
// Sample Problem 10 on page no. 97
printf("\n # PROBLEM 10 # \n")
printf("\n Standard f... |
714c02da30021c5ee2f729601af6f2a756bfe452 | 727092dff86e9d034d021bbc56565d9336b988aa | /Códigos CN/jacobi.sci | ce6f7ad927eaa6c6b2feb47f84536f407d951138 | [] | no_license | lucasdksan/Numerical-computing | c54b855bd50f2a06b1970086f2da63c28883f287 | a5a5863499bdf46003437140e3fa3123fc4960f8 | refs/heads/master | 2023-06-24T16:13:01.094230 | 2021-07-29T15:57:00 | 2021-07-29T15:57:00 | 278,514,165 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sci | jacobi.sci | function [x,iter] = jacobiL(A,b,x0,e,it)
[l,c] = size(A);
erro = 1;
x = x0, iter = 0;
while erro > e & iter < it
xa = x;
iter = iter + 1;
for i = 1:l
soma= 0;
for j = 1:l
if j ~= i then
soma = soma + A(i,j)*x... |
782078a6fa17c9171bb6b86a59b5d16c283ada59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH33/EX33.7/Example33_7.sce | 745bbc617ff67b01ba7840755433d530f4e7c51b | [] | 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 | 484 | sce | Example33_7.sce | //Given that
R = 200 //in ohm
C = 15*10^-6 //in F
L = 230*10^-3 //in H
Em = 36.0 //in volts
fd = 60.0 //in Hz
//Sample Problem 33-7a
printf("**Sample Problem 33-7a**\n")
w = 2*%pi*fd
Xl = w*L
Xc = 1/(w*C)
Z = sqrt(R^2 + (Xl - Xc)^2)
Imax = Em/Z
printf("The amplitude of current in the circuit is %1.2... |
a4bd7ceeaf0203ec65701b359dae36ccec5bc2b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1328/CH12/EX12.2/12_2.sce | 5a5f9b178506423d10861e8ff6c4acd7bd3255cf | [] | 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 | 4,532 | sce | 12_2.sce | printf("\t example 12.2 \n");
printf("\t approximate values are mentioned in the book \n");
T1=244; // inlet hot fluid,F
T2=244; // outlet hot fluid,F
t1=85; // inlet cold fluid,F
t2=120; // outlet cold fluid,F
W=60000; // lb/hr
w=488000; // lb/hr
printf("\t 1.for heat balance \n");
printf("\t for propanol \n"... |
183cb12d7d8c40b241b172f3d50c9c66b08e7449 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH1/EX1.23/Exa_1_23.sce | b6b87bab80cbe4c47092614399755beb0dd3652c | [] | 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 | 586 | sce | Exa_1_23.sce | //Exa 1.23
clc;
clear;
close;
format('v',8);
//Given Data :
Rdegree=8314.3;//Universal Gas Constant
r=12;//meter
Patm=75;//cm of Hg
Patm=Patm/76*1.01325*10^5;//N/m^2
V=4/3*%pi*r^3;//m^3
M_air=28.97;
M_H2=2
Tair=18+273;//K
g=9.81;//gravity constant
Rair=Rdegree/M_air;//Nm/KgK
RH2=Rdegree/M_H2;//Nm/KgK
... |
b45654e4dd00c365b9a5c45d652536f6731b1991 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH2/EX2.18/Ex2_18.sce | a6fa4a49e0f3a8cc919797312a3d9b73e8e6c93b | [] | 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 | 435 | sce | Ex2_18.sce | //pagenumber 113 example 18
clear
resacu=0.1*10^-12;//ampere
u=20+273;//kelvin
voltaf=0.55;//volt
w=1.38*10^-23;
q=1.6*10^-19;
for z=1:2
if z==2 then
u=100+273;
disp("current at 100celsius rise");
end
voltag=w*u/q;
i1=(10^-13)*(exp((voltaf/voltag))-1);
if z==2 then
... |
06205d3a1a9820e834626bbb28b715b8b9bd2839 | df924acfdd5b043da9336a2276726dbfb655735a | /test_suite/tceplace.tst | f0c3e51c35c6b5d830a7a64766329efe8eeaf180 | [] | no_license | noxdafox/clips | b8fb280223b5aae615e427bf1f31c03cb932b09d | a2c548b69394f0e2cf7c6d583810b6a29a662ae1 | refs/heads/master | 2023-09-01T18:52:07.614807 | 2021-12-14T20:10:21 | 2021-12-14T20:10:21 | 95,596,886 | 11 | 10 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | tst | tceplace.tst | (set-strategy depth)
(unwatch all)
; tceplace.bat test
(clear)
(open "Results//tceplace.rsl" tceplace "w")
(load "compline.clp")
(dribble-on "Actual//tceplace.out")
(batch "tceplace.bat")
(dribble-off)
(printout tceplace "tceplace.bat differences are as follows:" crlf)
(compare-files "Expected//tceplace.out" "Actual//t... |
5aff989827be427e8a824a4003b167c5e0405291 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3655/CH3/EX3.1/Ex3_1.sce | eb032a13187913d385e121d29d4632e67511d128 | [] | 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 | 832 | sce | Ex3_1.sce | // Example 3.1
// Computation for mobility of the free electrons in aluminium//
// Page no.61
clc;
clear;
close;
//Given data ;
d=2.70*10^3//2.70*10^3 kg/m3
v=3;//3 electrons/atom
A=26.98;
M=1.660*10^-27;//1.660*10^-27 kg/atom
e=1.60*10^-19;
R=3.44*10^-8;//R=resistivity
//...................................(B)......... |
9e6e28c71264a79a79afa7ea134516d4af4025b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH5/EX5.4/Ex5_4.sce | 6b6927685d903b4c81338a6113d337b020fd917f | [] | 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 | 353 | sce | Ex5_4.sce | clc
clear
//Initialization of variables
Rj=1.985
N=1
T1=540+460 //R
T2=3540+460 //R
//calculations
Q=N*(14.215*(T2-T1)-6.53*10^3 *log(T2/T1) -1.41*10^6 *(1/T2-1/T1))
Tm=(T1+T2)/2
Cv=14.215-6.53*10^3 /Tm +1.41*10^6 /Tm^2
Q2=N*Cv*(T2-T1)
//results
printf("Heat added in case 1 = %.1f Btu",Q)
printf("\n Heat ... |
a0adf755e73e065c511a794a101b943ae284f075 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH3/EX3.1/Ex3_1.sce | 7613d8f6561ff1e455e79cf686ec60ad7ea4c29f | [] | 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 | 879 | sce | Ex3_1.sce | //Effect of variable specific heat on efficiency
clc,clear
//Given:
r=7 //Compression ratio
g=1.4 //Specific heat ratio(gamma)
cv=0.718 //(Assume)Specific heat at constant volume in kJ/kgK
dcv=1*cv/100 //Change in specific heat in kJ/kgK
//Solution:
R=cv*(g-1) //Specific gas constant in kJ/kgK
eta=round(100*(1... |
44030bee43f146e24a0078af45b9b453d42e0d5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH7/EX7.3/Ex7_3.sce | e5b5b56e4fb1de0a820c02d7d6da44bf8d5f331c | [] | 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,373 | sce | Ex7_3.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 7.3\n\n\n");
// Chapter 7 : Mixtures Of Ideal Gases
// Problem 7.3 (page no. 323)
// Solution
//Ten pounds of air,1 lb of carbon dioxide,and 5 lb of nitrogen are mixed at constant temperature until the mixture pressure is constant
nair=10/29; //no of m... |
0c2ee6e78be846f645ccb857b590265f0ccf1627 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH9/EX9.6/Example_9_6.sce | ae7b7837fe830221a4bc69722bb2f3711bb91894 | [] | 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,260 | sce | Example_9_6.sce | //clear//
clear;
clc;
//Example 9.6
//Given
Dt = 2; //[m]
Da = 0.667; //[m]
n = 180/60; //[rps]
T = 20; //[C]
qg = 100; //[m^3/h]
rho = 1000; //[kg/m^3]
mu = 10^-3; //[kg/m-s]
ut = 0.2; //[m/s]
//(a)
//The power input is calculated and followed by correction of gas effect
Nre = n*Da^2*rho/mu;
//For a... |
6c7a948be68e1be2643a88fbe0315f89432d4efd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH2/EX2.14/Ex_2_14.sce | 9e238c5e6f467baaa9bd5489ce7464690113fdfe | [] | 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,041 | sce | Ex_2_14.sce | //Example 2_14
clc;
clear;close;
//Given data:
Vs=230;//V
f=50;//Hz
alfa=30*%pi/180;//radian
I=4;//A
//Solution :
disp("part (a)");
Vm=Vs*sqrt(2);//V
Vdc=2*Vm/%pi*cos(alfa)//V
RL=Vdc/I;//ohm
IL=I*2*sqrt(2)/%pi;//A
Pin_active=Vs*IL*cos(alfa);//W
Pin_reactive=Vs*IL*sin(alfa);//vars
Pin_appearent=Vs*I... |
bc023d6589d988957f3a4d9163cf26faa18f0739 | 3c9b59cb858e16c5e742b46ee6a0ec578cd52145 | /Problema3.sci | fa81abeb394dbb410aa06cb29d33003066541347 | [] | no_license | Gervaes/calcNum | f4e66468789d2276e53f4966c9165f957d3007ae | c9df67bdf19943f7d40fe5c89983f3a7355126c7 | refs/heads/master | 2020-04-07T13:34:31.215928 | 2018-11-21T01:18:00 | 2018-11-21T01:18:00 | 158,412,613 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,350 | sci | Problema3.sci | function [y]=f(t)
y = 4*sin(t) - 3*t
endfunction
function [y]=fp(t)
y = 4*cos(t) - 3
endfunction
function [raiz, x, iter, ea]=newtonraphson(x0,f,fp,tol,imax)
iter = 0; // inicializa numero de iteracoes
xr = x0; // inicializa raiz aproximada com a inicial
x(iter+1)=x0; // insere raiz inicial no vet... |
be7b4366a5c24c551b2737b0cc71f73927e3a7a6 | cb412970af67cd342235f1ad29668c7ac9a2dfed | /mt_tutorial41/mta_1.sci | d87c0fb0fed143658cdb3249dc69b6166a3b98c2 | [] | no_license | dowaiko/mt_tutorial41 | cdab43af761897afc940ae64deb7df423bdd5776 | d21788c424e2c1df2ecc46ca6ae270e393433e85 | refs/heads/master | 2020-04-10T13:25:27.584350 | 2019-05-31T13:37:08 | 2019-05-31T13:37:08 | 161,050,504 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,481 | sci | mta_1.sci |
clear;
printf('************** mta_1.sci Start! ****************');
printf('\n');
printf('Enter a File Name of UNIT SPACE Material');
UnitSpaceFile = input('File Name(.xls)?: ',"string");
//scanf('%s',UnitSpaceFile);
printf('./' +UnitSpaceFile+'.xls\n');
//f=findfiles(SCI,UnitSpaceFile+'.xls');
//MT_Mat_Sheets =... |
b63b88b9e72422f610bcba887be62e53cd03e980 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH4/EX4.28/ex_4_28.sce | 03d8e385ce4289e0a756880e6cf9b1657aeafab2 | [] | 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 | 531 | sce | ex_4_28.sce | //Example 4.28//number ,spacing,mounting height and total wattafe
clc;
clear;
close;
format('v',6)
h=5;// in meters
el=120;//in lux
ef=40;//efficiency in lumens/watt
tw=80;//in watts
df=1.4;//depreciation factor
uf=0.5;//utiliazation factor
l=30;// in meters
b=15;// in meters
a=l*b;//arean in m^2
glr=(a*el*df)/(uf);//g... |
b225b27819a5c10c7a155d0766726923b6f3cc48 | 353fabaf48c4a9c15219c01751b2eab7fdeecf15 | /Teste 1.sce | fddb13452d99f93707d5f0905aa1f3be78f79aba | [] | no_license | enieber/cargas | 3a80a5fd2f96374a819d5b49affd45fb8d0549a5 | bbea7b9c657bed402848e8f9549a04f76c988d91 | refs/heads/master | 2021-05-04T11:47:25.444285 | 2017-05-19T03:20:49 | 2017-05-19T03:20:49 | 46,600,031 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sce | Teste 1.sce | function [ fieldE, rvector ,rnorm ] = Efield(q0,P0,P);
Efield calcula o campo elétrico estático no ponto P, devido a uma carga q0
localizada no ponto P0
Uso: [ fieldE, rvector ,rnorm ] = Efield(q0,P0,P);
eps0 = 8.854187817e-12;
rvector = P-P0;
rnorm = norm(rvector);
fieldE = 1/(4*pi*eps0)*q0*(P-P0)./(norm(P-P0).^3);
... |
6d27d2449f82047721013938fd37f4e54239d459 | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH14/EX14.10/Example_14_10.sce | eb07da7ff59d642ee7443545585ea1a876e8e914 | [] | 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 | 713 | sce | Example_14_10.sce | clear;
clc;
//Example 14.10
//Caption : Program to illustrate the Concepts of Pue Gas Adsorption
subplot(2,1,1)
m=4.7087;
b=2.1941;
t=0.3984;
P=linspace(0,40,10);
N=(m.*P)./((b+(P.^t)).^(1/t));
plot(P,N)
m=0.6206;
b=1.5454;
t=1;
n=(m.*P)./((b+(P.^t)).^(1/t));
plot(P,n,'b--')
legend('Toth Equation','... |
436bc124ef1f51931e201e71d4f0d3b2e04e9cbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH1/EX1.9/Ex1_9.sce | 894c0d9268f06fa0a49ef4505092bde2c26d7afa | [] | 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 | 254 | sce | Ex1_9.sce | clear
//
lal=7.5
lcu=6
rcu=0.017*(10**-6)
ral=0.028*(10**-6)
d=(10**-6)
a=((3.14*d))/(4)
Ral=(lal*ral)/(a)
printf("\n R= %0.1f ohm",Ral)
ial=3
pv=Ral*ial
Rcu=pv/(2)
printf("\n Rcu")
a=(rcu*lcu)/(Rcu)
dcu=(((a*4)/3.14)**0.5)
printf("\n dcu= %e nm",dcu)
|
124c589dc24f1adcf69f8c96a41f1ef1b9200cac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH9/EX9.3/ex_9_3.sce | 6ff3343f7a422a652f229ff50922c97275256608 | [] | 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 | 489 | sce | ex_9_3.sce | //Example 9.3:change in refractive index ,net phase shiftand Vpi
clc;
clear;
close;
format('v',6)
v=5;//kV
l=1;//cm
ez=(v*10^3)/(l*10^-2);//in V/m
no=1.51;//
r63=10.5*10^-12;//m/V
dn=((1/2)*no^3*r63*ez);//
h=550;//nm
dfi=((2*%pi*dn*l*10^-2)/(h*10^-9));//
fi=2*dfi;//
vpi=((h*10^-9)/(2*no^3*r63))*10^-3;//kV
disp(dfi,"cha... |
0c860ccb4b750a8f67984b1522991674eb92ed99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3745/CH1/EX1.43/Ex1_43.sce | 131518a4cc1918748f7ee811417fd4e52283a648 | [] | 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 | 531 | sce | Ex1_43.sce | // Ex 43 Page 387
clc;clear;close;
// Given
R2=0.03;//ohm
X2=0.18;//ohm
Ns=100;//rpm
s1=3;//%
Nfl=(100-s1);//rpm (full load speed)
N2=Nfl/2;//rpm
s2=(Ns-N2)/Ns*100;//%
V1BYV2=sqrt(s2/s1*(R2**2+(s1/100*X2)**2)/(R2**2+(s2/100*X2)**2));//from torque equation
//let V1=V12BYV1 V2=1
V1=V1BYV2;//V
V2=1;//V
V12BYV1=(V1-1)/V... |
faac78cce76c4e7a8a4fe333cdbab1f93ae0bcda | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/sci_erf.sci | 8c3bca9036db39b2d0784d71c4342c2b578f1f07 | [
"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 | 134 | sci | sci_erf.sci | function [stk,txt,top]=sci_erf()
// Copyright INRIA
txt=[]
stk=list('erf('+stk(top)(1)+')','0',stk(top)(3),stk(top)(4),stk(top)(5))
|
5d6c9cf5d768df34b41a401e85706915951224fe | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/robust/leqe.sci | 6ac4594134fb6343654f98ca7b1310190eee6bcc | [
"MIT",
"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 | 118 | sci | leqe.sci | function [K,Y,err]=leqe(P21,Qx)
[A,B1,C2,D21,xo,dom]=P21(2:7)
[KT,Y,err]=leqr(syslin(dom,A',C2',B1',D21'),Qx);
K=KT';
|
8c50da7210405cfb1a4aeff185b5279949f47c4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH9/EX9.7.a/Example9_7_a.sce | fa6b75eab19914f4a0abebc23c1d16eef71dcae7 | [] | 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 | 506 | sce | Example9_7_a.sce | //Example 9.7 (a)
//Program To Determine Frequency Resolution of Bartlett,
//Welch(50% Overlap) and Blackmann-Tukey Methods
clear;
clc;
close;
//Data
Q=10;//Quality Factor
N=1000;//Samples
//FREQUENCY RESOLUTION CALCULATION
K=Q;
rb=0.89*(2*%pi*K/N);
rw=1.28*(2*%pi*9*Q)/(16*N);
rbt=0.64*(2*%pi*2*Q)/(3*N);
... |
440e2ee4e4a69bff2092f6f500b183b572534210 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH18/EX18.1/ex18_1.sce | 1ba8016ecda4d2a19cc91431acfe75825c8d0053 | [] | 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 | 405 | sce | ex18_1.sce | // Example 18.1, page no-460
clear
clc
atom=4
kci=0.629*10^-9//m
alfk=1.264*10^-40//m^2
alfCl=3.408*10^-40//m^2
eps0=8.854*10^-12
pol=alfk+alfCl
N=atom/kci^3
epsr=(N*pol/eps0)+1
printf("\nThe electronic polarisability for KCL = %.3f *10^-40 F m^2\n",pol*10^40)
printf("\nThe no of Dipoles per m^3 = %.3f * 10... |
5291cc414d30249c306e767258699a7933dd2312 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH2/EX2.7/ex2_7.sce | 4b7ecb36c3b9d0f5718764c801d1182454e7c98f | [] | 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 | 355 | sce | ex2_7.sce | // Example 2.7, page no-119
clear
clc
printf("1 kg/cm^2 = 10 mWG\n")
//(a)
press=10+2
printf("\n(a)Bourdon Gauge is mounted 20 meters below water line:\nPressure read by the Gauge = %d kg/cm^2",press)
//(b)
press2=10-3
printf("\n\n(b)Bourdon Gauge is located 30 meters above the water line:\nPressure read b... |
77fb8b0d38c91547371e42b2dc9de512c31be93a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH11/EX11.33/example11_33.sce | c22e0954bb895d91a537e5a2fd553c2a09111ed1 | [] | 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 | 382 | sce | example11_33.sce | clc
// Given that
d = 4 // distance of star from the earth in light years
v = 3e8 * sqrt(0.9999) // speed of rocket in meter/sec
// Sample Problem 33 on page no. 11.31
printf("\n # PROBLEM 33 # \n")
printf(" Standard formula used \n")
printf(" t = t_0/((1-v^2/c^2)^1/2) \n")
t = (2 * d * 3e8) / v
T_ = t * sqrt(1 - (v /... |
25ccebd8f9d43d0b4d56a283710304ad8b9511a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH1/EX1.40/Ex1_40.sce | 03325f7901301b35840bd079fff58320fe074ab3 | [] | 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 | 399 | sce | Ex1_40.sce | //Example 1_40
clc;
clear;
close;
format('v',5);
//given data :
V=24;//V
R1=7;//ohm
R2=7;//ohm
R3=7;//ohm
R4=7;//ohm
R5=8;//ohm
R6=10;//ohm
RAB=(R5*R6/(R5+R6)+R4)*(R2+R3)/(R5*R6/(R5+R6)+R4+R2+R3)+R1;//ohm
I=V/RAB;//A
I2=I*(R2+R3)/(R2+R3+R5*R6/(R5+R6)+R4);//A
VPQ=I2*(R5*R6/(R5+R6));//V
disp(VPQ,"Voltage... |
e9b9189510ef4a00abc2d43f3794f70a150a942c | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH11/EX11.18/11_18.sce | 2aa3f5de2c319ddcb362e45d293a72199b6bcb79 | [] | 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 | 423 | sce | 11_18.sce | clc;
clear;
p=60;//psia
T=1000;//degree R
px=12;//psia
k=1.4;
R=53.3;//ft*lb/(lbm*degree R)
pratio=p/px;
//for this value of pratio, Max is calculated as
Max=1.9;
//using this value of Max, Tx/T0,x is found as
Tratio=0.59;
//T=T0,x=T0,y
Tx=Tratio*T;//degree R
cx=(R*Tx*k)^0.5;//ft/sec
Vx=1.87*cx*(32.2^0.... |
e87ec73b9bec5d7d173a960db9f848ac800e29b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH3/EX3.3/Chapter3_Example3.sce | c3003722f2668dc2999faa3a1d96db061f079c6b | [] | 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 | 589 | sce | Chapter3_Example3.sce | clc
clear
//Input data
t=5;//Time taken for a body to cool from 60 to 40 degree centigrade in minutes
t11=60;//The initial temperature of the body in degree centigrade
t12=40;//The final temperature of the body in degree centigrade
ts=10;//The temperature of the surrounding in degree centigrade
//Calculat... |
47708fdd3c4a8a71e69020e8aea7ffdacc4e2a1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH2/EX2.09/2_09.sce | edceb587eff83677305df919ece6e79cb4ebcf89 | [] | 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 | 281 | sce | 2_09.sce | //Problem 2.09: Calculate the power dissipated when a current of 4 mA flows through a resistance of 5 k
//initializing the variables:
I = 0.004; // in ampere
R = 5000; // in ohms
//calculation:
P = I*I*R
printf("\n\nResult\n\n")
printf("\nPower(P): %.2f Watt(W)\n",P) |
b4b266d2b420575379ec767dff497b438167718f | 80fc9b7a10b546c9071b974c5328180e74ee1c5d | /TP1/Exercise3.sce | 661fdde74b733058c2c996d05f897c0d916df750 | [] | no_license | ASokem/TP_MAP101 | a443ddbd656d63918dd5caad3ce89418d02c0123 | b87d45faea6bc793161bae2238bd6489e5d9ede5 | refs/heads/main | 2023-08-10T20:42:07.377878 | 2021-09-29T09:15:34 | 2021-09-29T09:15:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sce | Exercise3.sce | // Copyright (C) 2021 - UGA - JIANG Yilun
//
// Date of creation: 2021-9-15
//
deff("y = f3(x)", "y = log(x + sqrt((x) .^ 2 - 1))")
deff("y = f4(x)", "y = log(x + sqrt((x) .^ 2 + 1))")
deff("y = f5(x)", "y = 1/2 * log((1 + x) ./ (1 - x))")
t = 0:0.2:5
u = f3(cosh(t))
v = f4(sinh(t))
w = f5(tanh(t))
M = [t;u;v;w]'
d... |
e712d07260d846f9d03463a08028bb730776db06 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.12_8.tst | 1369a6b7205f70cc555c123530d022d83aacf51b | [] | 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 | 22,592 | tst | bow.12_8.tst | 12 13:0.25 24:0.5 25:0.03125 31:0.14285714285714285 123:0.015625 167:0.1111111111111111 645:0.3333333333333333 731:0.3333333333333333 980:0.5 1014:1.0 3225:1.0 4752:1.0 4777:1.0 6808:1.0
12 25:0.03125 32:0.3333333333333333 68:0.25 79:1.0 115:1.0 123:0.015625 203:0.3333333333333333 226:1.0 259:0.25 298:1.0 460:0.3333333... |
f6670385026383cef24dfc97ebb2affebb823a10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH3/EX3.15/example3_15.sce | ca05c81084d1e686ed4708da8bee52c10c75c68f | [] | 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,515 | sce | example3_15.sce | clear;
clc;
//Example3.15[Cost of Heat Loss through walls in winter]
//Given:-
R_va_insu=2.3;//thickness to thermal conductivity ratio[m^2.degreeCelcius/W]
L1=12;//length of first wall of house[m]
L2=12;//length of second wall of house[m]
L3=9;//length of third wall of house[m]
L4=9;//length of fourth wall of... |
fcba1e73fa8a319292cf0d2b5df1fa1ee95f8c6f | ca55b804a0c5d64e5638ec29fae1bcd3b421fe7b | /code.sce | 6cefe87fa4a97a009c206894b2937f6c56fed430 | [] | no_license | ShreyaSomkuwar/Data-transfer-simulation-with-security | 02570e85278bf2fb1e8351087d3756d11d3616a1 | c82a34b758ae5a24d3df580e847ae3339840577c | refs/heads/master | 2020-03-29T20:27:52.810883 | 2018-09-25T19:17:43 | 2018-09-25T19:17:43 | 150,313,540 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,942 | sce | code.sce | //NETWORK PROJECT
//IMPLEMENT NETWOK TOPOLOGY WITH DATA TRANSFER INCLUDING SECURITY STANDARDS
// BY SHREYA SOMKUWAR
name='TOPOLOGY';// graph name
n=7;//graph parameters
tail=[1 1 1 2 2 3 3 4 4 4 5 6];
head=[2 3 4 4 5 4 6 5 6 7 7 7];
node_x=[100 275 275 500 750 750 900];
node_y=[500 200 800 500 200 800 500];
[g]=... |
64285550d9b237d9f6c71a83b67ab0f0f9d629d2 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/vmm_offc.sce | 0815737b2ca62a05a4b737e79f7e95e2389a681a | [] | 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 | 104 | sce | vmm_offc.sce | style.fontSize=12;
style.displayedLabel="vmm_offc";
pal1_1=xcosPalAddBlock(pal1_1,"vmm_offc",[],style);
|
be61877207ef7dbf298758892153336c2a211c32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3710/CH10/EX10.2/Ex10_2.sce | 0541ff2a52e32b42f43748ac2fac9f9008bf4820 | [] | 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 | Ex10_2.sce | //Example 10.2, Page Number 498
//Sensitivity Calculation
clc;
a=5*(10**-7) //Thermal expansion Coefficient per Kelvin
b=6.8*(10**-6) //Thermal Expansion Coefficient per Kelvin
l=1.55*(10**-6) //Wavelength in meter
p11=0.126 //Constant Coeffiecient
p12=0.274 //Constant Coeffiecient
u=0.17
n=1.46//cladding ... |
9e95d14727add8945e1199bca663a3750acc4430 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electrical_Power_Systems_A._Husain_1118.zip/Electrical_Power_Systems_A._Husain_1118/CH24/EX24.1/eg24_1.sce | 814780221195a9969bd1548af2d5ffa992fcba00 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 418 | sce | eg24_1.sce | errcatch(-1,"stop");mode(2);;
//;
f=50;
cap=1.2*10^(-6);
xl=1/(3*2*(%pi)*cap*f);
printf("The inductive reactance to neutralize 100 percent of the capacitance is:%.2f Ohm\n",xl);
xl1=xl/0.9;
printf("The inductive reactance to neutralize 90 percent of the capacitance is:%.2f Ohm\n",xl1);
xl2=xl/0.8;
printf("... |
54f65f59756a65e4cc92b0975e61da33b7b918fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH6/EX6.31/ex6_31.sce | b4a80b0b63736a84780d3a7cc3e4ff88c1f52fbd | [] | 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 | 475 | sce | ex6_31.sce | // Three-Phase Circuits :example 6.31 :(pg 6.32)
VL=220;
Po=11.2*10^3;
N=0.88;//efficiency
IL=38;
Pi=(Po/N);
x=(Pi/(sqrt(3)*VL*IL));
phi=acosd(x);
W1=(VL*IL*cosd(30-phi));
W2=(VL*IL*cosd(30+phi));
printf("\nVL=220 V \nPo=11.2kW \nN=0.88 \nIL=38A \N=(Po/Pi)= %.2f W",Pi);
printf("\nPi=sqrt(3)*VL*IL*cos(phi) \n... |
4de4478f97b549d8719bbfdda06b19c5c70a5ccf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH1/EX1.8/1_8.sce | 542c5a013eac9eafe9d42029d4f2271f4c6a6b8d | [] | 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 | 256 | sce | 1_8.sce |
clc
//initialisation of variables
clear
r= 96
T= 10.5 //C
K1= 288 //C
K2= 0.0015 //C^-1
h= 3000 //ft
P1= 14.69
//CALCULATIONS
P2= P1*10^(((1/(r*K2))*log10((K1-K2*h)/K1)))
w= P2*144/(r*(273+T))
//RESULTS
printf ('Density = %.4f lb/ft^3 ',w)
|
cd64a9cbb68d82d661c60f4e253c0d93e5c96867 | 9cbb0181f0213b9ba6012353a85b932a35f875d8 | /Data_Processing/plot-3.sce | e3ca70c30f5001577cf62bd7254a308b94409f29 | [] | no_license | bozhink/sandpile-pi4 | dfcd24c19f59c6170aef4ff2eeb298411b80518e | bd5f158ec9cb8cac2d4f7d66cdc661b672241c6b | refs/heads/master | 2021-01-10T14:21:27.477065 | 2014-03-01T17:05:47 | 2014-03-01T17:05:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,868 | sce | plot-3.sce |
// Graphics of some histograms
// Nonlinear initial regions
// Z=1, 3, 4, 10 model
scf(0);clf();
a = get("current_axes");
a.x_label.font_size=4;
a.x_label.text="$\log_{10}t$";
a.y_label.font_size=4;
a.y_label.text="$\log_{10}P(t)$";
a.title.foreground=9;
a.title.font_size=4;
a.title.text="$\textrm{Time distrib... |
50552c9175a39153bd9f412908e1f29c6b3b8084 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH27/EX27.4/ex_27_4.sce | 9e6cc209974f1bd87346aef01c6df67ab56f49d1 | [] | 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 | 258 | sce | ex_27_4.sce | //find
clc
//solution
//given
Wr=2500//N
Wa=1500//N
//Wa/Wr=0.6
//refer table 27.4
X=1
V=1
Y=0
W=X*V*Wr + Y*Wa//N
//from table 27.5,Ks=1.5...
Ks=1.5
W1=W*Ks//N
//ref table 27.6
C=53000//N
L=(C/W)^(3)*10^6
printf("rating life is,%f rev\n",L) |
48cf53bc992c539bf38d9b0239ec693c6523bdad | 4d6665df181a576d17b4899b006151b1e6d54804 | /unit-2/gauss.sce | f84d928ad494365852773279bdc2345e0f0fdf44 | [] | no_license | Udbhavps/La-Scilab-Assignment | b3a7a9c31e07e1abc83685c74d93dc2d8fa681b2 | 8deb5fe83fca574dbb6fc7ee96b417bcec9d91c4 | refs/heads/master | 2022-09-21T15:31:29.258278 | 2020-06-03T18:11:42 | 2020-06-03T18:11:42 | 239,132,393 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,215 | sce | gauss.sce | clc;clear;close;
function[x,a]=gaussElimination(A,b)
A_aug=[A b]
a=A_aug
n=3;
for i=2:n
for j=2:n+1
a(i,j)=a(i,j)-a(1,j)*a(i,1)/a(1,1);
end
a(i,1)=0;
end
for i=3:n
for j=3:n+1
a(i,j)=a(i,j)-a(2,j)*a(i,2)/a(2,2);
end
a... |
d05a8c492232088fe648eaed2263166483aa97fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH12/EX12.22/Ex12_22.sce | 18dc78316ebcedbf6572a9e1ccf5cb72a6424c90 | [] | 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 | 306 | sce | Ex12_22.sce | //EX12_22 Pg-41
clc
clear
R=5;//frequency deviation constant in KHz/V
fm=10;//modulation frequency in kHz
V=15;//amplitude of the modulating signal
fd=R*V;//frequency deviation
printf("\n maximum frequency deviation fd=%.0f KHz/V \n",fd)
mf=fd/fm;
printf(" \n modulation index mf=%.1f",mf)
|
a4a0e9348e4c4414815858e1f9ca8acab28e046a | bf63c70e054c641e89a6f7a4623a7634ce9a8a9d | /test/PP1.prev.tst | c8ec37490baadaa93fed191f86a91656b9b89cad | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | gfis/jextra | 9c8c030faf35f0834843ed8f07cc061ca9d65a64 | bdad8fd33fdf633cf2ff4c1879e1f61935c3d636 | refs/heads/master | 2022-03-13T21:31:56.132450 | 2022-02-12T21:27:40 | 2022-02-12T21:27:40 | 30,127,957 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 21,144 | tst | PP1.prev.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ProtoParser>
<scan finState="FINISH"><sym id="30" cat="24">/*------------------------------------------------------*/</sym></scan>
<scan finState="FINISH"><sym id="31" cat="22">\n</sym></scan>
<scan finState="FINISH"><sym id="32" cat="26">EOF</sym></sca... |
e6b9b447fa740b4b2bf7bf333e2787b4c0b93a5a | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/percent/%rs.sci | 421126ea1366762bf8085598f4af82f9f51f9a97 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 63 | sci | %rs.sci | function f=%rs(f)
// %rs(f) -f, f rational
//!
f(2)=-f(2)
|
1d3cb22433ab52afe3b44155361784d29e962c08 | d0ae33963d74821bd5431610a631245d4d389c10 | /lab02/lab02.sci | 11a8fb1b0b94141711319ef618c5d5215f0e0885 | [] | no_license | alexandrempierre/ala | 09de761c6a7e84445fb28e1eae06f3911dfa3284 | 2f9b6e9f57954d29a670167aadd8baa63796be09 | refs/heads/master | 2016-08-12T06:39:39.116391 | 2016-01-29T14:31:21 | 2016-01-29T14:31:21 | 49,913,312 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,255 | sci | lab02.sci | // O ponto do quadrado correspondente à extremidade de um vetor w do plano
// será desenhado como a extremidade do vetor u0+M*w
function [] = desenhaQuad (M, u0)
a = gca() //obtem posição dos eixos
a.isoview = "on" //usa a mesma escala nos dois eixos
// a.axes_visible = "on"
//defina o vetor w0 da... |
ad4e50bc93c762fd4075c4f02e85c40fa76675d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3710/CH2/EX2.1/Ex2_1.sce | bfb5fcbbcabf78ddba778bbf1d7a83f8114a6073 | [] | 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,047 | sce | Ex2_1.sce | //Example 2.1, Page Number 51
//Conductivity Calculation
clc;
dc=8.93*(10**3) //Density of Copper in Kg/meter cube
N=63.54 //Atomic Mass Number of Copper in amu
t=2.6*(10**-14)//Mean free time between collision (in seconds)
m=9.1*(10**-31) //Mass of electron in kilogram
em=0.135 //Electron Mobility in meter sq... |
7a04626a8f1d23d996ad5dd0785e038ca3a68347 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH12/EX12.9/Example12_9.sce | 75351ac4beba48c5b6e8a80dffda80d30fbc6d7a | [] | 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,682 | sce | Example12_9.sce | clear;
clc;
// Illustration 12.9
// Page: 709
printf('Illustration 12.9 - Page: 709\n\n');
// Solution
//***Data***//
x1 = 0.46;// [fraction moisture]
x2 = 0.085;// [fraction moisture]
Y1 = 0.08;// [kg water/kg dry solid]
Y2 = 0.03;// [kg water/kg dry solid]
G = 1.36;// [kg/square m.s]
//**********... |
0853c99e91032decc81974a23c4fb333499e5fd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH1/EX1.30/30.sce | cb84655d307eb2718ba43d317dbc17f1eef9fbe9 | [] | 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 | 692 | sce | 30.sce | clc
clear
//Input data
To=27+273 //Stagnation temperature in K
Po=8 //Stagnation Pressure in bar
P=5.6 //Static pressure in bar, taken from diagram given
m=2 //Mass flow rate in kg/s
k=1.4 //Adiabaatic constant
Cp=1005 //Specific heat capacity at constant pressure in J/kg-K
R=287 //Specific gas constant in J... |
01ad5f36e4efaa286c7c2e271216ceae0bb7bce1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3516/CH7/EX7.7/Ex7_7.sce | f56c20bcd26c428d236d24c55fa9237d935ff84b | [] | 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 | 692 | sce | Ex7_7.sce | printf("\t example 7.7 \n");
printf("\t approximate values are mentioned in the book \n");
U=50; // Btu/(hr)*(ft^2)*(F)
TP=328; // F
TE=228; // F
CP=(0.30/(888.8*1000));
CE=(0.05/(960*1000));
CF=1.20;
theta=8000; // annual hours
X=((CF*(TP-TE))/((CP-CE)*U*theta)); // from eq 7.53
printf("\t X is : %.9f \n",X)... |
67bef220ec2e82b0562037f047b33301f340485d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH3/EX3.12/Ex3_12.sce | 8d64df9fa1f785ac213d2ed5a1a1379f96eccf5c | [] | 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 | 995 | sce | Ex3_12.sce | // Calculating the specific iron loss
clc;
disp('Example 3.12, Page No. = 3.35')
// Given Data
Bm = 1.0;// Maximum flux density in Wb per meter square
f = 100;// Frequency in Hz
t = 0.3*10^(-3);// Thickness of sheet in mm
p = .5*10^(-6);// Resistivity of alloy steel in ohm*meter
D = 7650;// Density in kg per me... |
49c962e37e936731c4dd7bfe995c5c6a3f8d122d | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH2/EX2.36/ex_2_36.sce | 9fe7a5993412c618f2569f7be3bb110b3f44982b | [] | 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 | 282 | sce | ex_2_36.sce | clear;
clc;
n=-5:5;
for i=1:length(n)
if(n(i)>=-1)
h(i)=2^-(n(i)+1);
else
h(i)=0;
end
end
causal=%t;
for i=1:length(n)
if n(i)<0 & h(i)~=0 then
causal=%f;
end
end
disp(causal,"the statement that the system is causal is"); |
c6299054c26ad354372285dfaa474dd929fecf31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH9/EX9.9/Ex9_9.sce | 54b75db5011cd3687c118d70767f921f43fc506b | [] | 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 | 830 | sce | Ex9_9.sce | //Example 9.9//
xl=12.6;//wt % //liquid solution composition
xa=1.6;//wt %// composition of two phases
x1=10;//wt % //x1 is the overall composition
xb=100;//wt %//composition of two phases
a=1;//kg
ma=((xl-x1)/(xl-xa))*a
mprintf("ma = %f kg ",ma)
b=10^3;//g //As 1kg = 10^3grams
ma2=ma*b
mprintf("\nma2= %i g"... |
3a702a3215f8fc99a0b158a2c41003257169a959 | e657bbadea88191ece0e48eb447173a4c5f816f6 | /tasks/cw6/naive.sci | 129ff88a020e8f0c17316c1ef1a711ebae2946f2 | [] | no_license | vainia/Learning-SCILAB | c37d6071907ea4fad811071a3164454a927602d8 | d77877b1316b8b3546cb32cb9e29e7ad70d25280 | refs/heads/master | 2020-03-10T09:51:08.444686 | 2018-04-12T23:13:06 | 2018-04-12T23:13:06 | 129,320,183 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 343 | sci | naive.sci | function [x0,f0,iter]=naive(x0,maxiter,krok)
exec('cel.sci');
clf
exec('mapa.sci',0);
[f0,df0]=cel(x0);
iter=0;
kryt=norm(df0);
g=df0;
while(kryt>0.0001)&(iter<maxiter) do
x1=x0-krok*g;
[f1,df1]=cel(x1);
iter=iter+1;
xsegs([x0(1);x1(1)]',[x0(2);x1(2)]');
x0=x1;
f0=f1;
kryt=norm(df1);
g=d... |
d2ff300df2190cfc8e545c0eba6e9b1a3ab2631c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3440/CH14/EX14.1/Ex14_1.sce | 5b078342abb1e94ff925701abcb848c84c2f6f5f | [] | 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 | 322 | sce | Ex14_1.sce | clc
D=2*10^-14//cm^2/sec
t=3600//K
Cx=10^19
A=sqrt(D*t)
disp(A,"A in cm is= ")
Qt=1.13*Cx*A
disp(Qt,"Q(t) in atoms/cm^3")
//dC/dx=b
b=-(Cx/sqrt(%pi*D*t))
disp(b,"dC/dx in cm^-4 is= ")
xj=2*sqrt(D*t)*2.75
disp(xj,"xj in meter is= ")
b=-(Cx/sqrt(%pi*D*t))*exp(-xj^2/(4*D*t))
disp(b,"dC/dx in cm^-4 is= ")
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.