blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
37e54e3ad2339b51466ed3eb647b5506af3ee59f | 449d555969bfd7befe906877abab098c6e63a0e8 | /137/CH2/EX2.4/prob_2_4.sce | 8df1fb3ad0f6fd579bb292cc89957970f1e392a8 | [] | 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 | 231 | sce | prob_2_4.sce | clc;
//page27
//problem 2.4
t=(-5:-1);
subplot(221)
plot2d(t,(%e)^t/2);
xtitle ( " Original signal " , " Time " , "g(t) " );
t=-t;
subplot(222)
plot2d(t,(%e)^-t/2);
xtitle ( " Time inverted signal" , " time " , "g(-t)" ); |
2a7fd99b6d98894b80705035aa948e493686166b | 449d555969bfd7befe906877abab098c6e63a0e8 | /462/CH2/EX2.21/ex_2_21.sce | 8d639aa8d244fbfb7032a632016f2f9970e964cd | [] | 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 | 225 | sce | ex_2_21.sce | //example 2.21//
clc
//clears the screen//
clear
//clears already existing variables//
x=247
//decimal to octal conversion//
a=dec2oct(x)
disp('the octal conversion of given no is:')
disp(a)
//answer in octal form// |
99ba12376ec6f3049befbb074c48903f846f770d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH2/EX2.11/Ch02Ex11.sce | 04ad332e543c7445fec4fdd4fb0ec903afc4a5f6 | [] | 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 | 685 | sce | Ch02Ex11.sce | // Scilab Code Ex2.11:: Page-2.13 (2009)
clc; clear;
alpha = %pi/180; // Acute angle of biprism, radian
mu = 1.5; // Refractive index of biprism
lambda = 5900e-008; // Wavelength of light used, cm
y1 = 10; // Distance of biprism from the source, cm
y2 = 100; // Distance of biprism from the screen, cm
D = ... |
97969a2d7356da724d1265d3eb4838debd4afa2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH14/EX14.10/14_10.sce | b6641529bb99eda40e5ae3c82855e62bc8f44461 | [] | 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 | 358 | sce | 14_10.sce | clc
//Initialization of variables
m1=0.1 //m
m2=0.1 //m
K=1.754*10^-5 //m
//calculations
mu=0.5*(m1*1^2 + m2*1^2)
disp("From table 14.5,")
aH=9 //A
aA=4.5 //A
disp("From table 14.6")
gH=0.825
gA=0.775
gHA=1
x1=gHA*K/(gH*gA)
disp("Assuming x to be small w.r.t m1,")
x=sqrt(x1*m1)
//results
printf("Conce... |
20d70c81d6a0db904d419038530f3d31ee590e99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH6/EX6.1/C6P1.sce | e88b273aa75b01a625257dae956b697c09f05897 | [] | 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,426 | sce | C6P1.sce |
clear
clc
//to find impluse of the force exerted on the ball.
//to find average force assuming collision lasts for 1.5ms
//to find the change in momentum of the bat
// GIVEN::
//refer to figure 6-8(a) on page no. 123
//mass of baseball
m = 0.14//in kg
//refer to figure 6.1
//horizontal speed of the ball
... |
2fe4ee0bd27165970e066a6a31d6fa1f526557bb | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/local/2dof_controller/dc/lqg/scilab/spec_ex.sce | 8134d68fe850772148b431d586bb0de6bea95530 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sce | spec_ex.sce | // Updated(19-7-07)
// 13.1
A = convol([-0.5 1],[-0.9 1]); dA = 2;
B = 0.5*[-0.9 1]; dB = 1; rho = 1;
getf spec1.sci;
[r,beta1,sigma] = spec1(A,dA,B,dB,rho)
|
16db2dd6d8eccfe65ad7e6f5af8ff394922ec841 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH8/EX8.1/Ex8_1.sce | b9519e35ee325c9ccf5af9dc30fc173a7b5b01ac | [] | 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 | 270 | sce | Ex8_1.sce | clear
//Given
q=1.6*10**-19 //c
B=0.1 //T
v=5.0*10**6 //m/s
a=90 //degree
//Calculation
//
Fm=q*v*B*sin(a)
//Result
printf("\n Force on the proton is %0.1f *10**-14 N",Fm*10**14)
|
cbd20d1100951c69066c9b9a53b3c8c8f72d7982 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH20/EX20.41/EX20_41.sce | 8dd7cadb77f57f16f978ff451e4e9b71ed73704e | [] | 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 | 695 | sce | EX20_41.sce | clc;funcprot(0);//EXAMPLE 20.41
// Initialisation of Variables
m=16.5;.......//Air flow in kg/s
rp=4;........//Pressure ratio
N=15000;.........//Compressor rpm
t01=293;.........//Inlet head temperature
fis=0.9;...........//Slip factor
fiw=1.04;.........//Power input factor
etaisen=0.8;.......//Isentropic effici... |
97a44e852980f34e71fa19e951ecf7872a09386e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3257/CH7/EX7.5/Ex7_5.sce | 526e3c98ca70f55528a3ca35ce4f294843351e0d | [] | 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 | 291 | sce | Ex7_5.sce | // Peak pressure in explosive forming
clc
m = 0.1 // mass of TNT in kg
d = 0.5 // standoff distance in m
K = 3.9e7 // constant of explosive
a = 1.15
printf("\n Example 7.5")
p = K*((m^(1/3))/d)^a
printf("\n Pressure of amount %.1f MPa is sufficient to form sheet metals.", p/1e6)
|
62f1042c3446c863670a651a3fb1c795b394918f | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH6/EX6.6/example6_6.sce | df9cf71ebc434a28b00a26a94a44fac2becda1af | [] | 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,958 | sce | example6_6.sce | disp('chapter 6 ex6.6')
disp('given')
disp("design a linear ohmometer circuit")
disp("Im=100uA and coil resistance=2.5kohm")
Im=100*10^(-6)
Rm=2500
disp("required ohmometer ranges are 100ohm,1kohm,10kohm")
R1=100
R2=1000
R3=10000
disp("design voltmeter of full scale deflection of 1V to keep min power dissipat... |
998370679091e2af4e6847a39e611ca296af34e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH1/EX1.6/example6.sce | f13e07979064392ab4be907c192833cac787a90e | [] | 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 | 218 | sce | example6.sce | //determine the transfer function of the transformer coupled network
printf("syms R1 R2 C2 C1 L1 L2 M L3 \n G=s^3*R2*C1*C2*M/(((s^2*C2*(L3+L2))+1+s*R2*C2)*(S^2*L1*C1+s*C1*R1+1)-M^2*s^4*C1*C2)\n Transfer function=G")
|
a18b0670c9c4b36a8b3841610e4ca7bd69676b37 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/Tet_equitri.tst | 917aee46fedc6a492d8f49aac0e9bc0e099b6e4b | [
"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 | 1,006 | tst | Tet_equitri.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>3D equilateral triangle flow, Tetrahedral elements, P=5</description>
<executable>IncNavierStokesSolver</executable>
<parameters>Tet_equitri.xml</parameters>
<files>
<file description="Session File">Tet_equitri.xml</file>
</files>
... |
aa4fb15de49ec3232de99e95e25ffecda41413ca | 4246cbb6bfbd96e60074b607df96d71e7b4ee070 | /opp6code/fullname.tst | 94f34f68e3f030134d75a3315342eec6d8429250 | [] | no_license | thangduong3010/PL-SQL | bc0fa5c3400e46acc0ab63156573590935607b5d | 1415772c87750bd30625eacf2bd116fb7e0c0aae | refs/heads/master | 2020-05-22T06:57:54.352234 | 2016-12-26T04:47:27 | 2016-12-26T04:47:27 | 39,061,697 | 1 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,293 | tst | fullname.tst | CREATE OR REPLACE PROCEDURE test_fullname (
counter IN INTEGER
, empno_in IN emp.empno%TYPE := 7788
)
IS
l_name fullname_pkg.fullname_t;
BEGIN
sf_timer.set_factor (counter);
sf_timer.start_timer;
FOR i IN 1 .. counter
LOOP
l_name := fullname_pkg.fullname (empno_in);
END LOOP;
sf_timer.s... |
20232e60467fffd051cd46f26815d43cd6fb7e36 | 090c4bc08ecd896fc1d76fa3454c03fa0cb805f0 | /SciLab/laba16.sce | 0595be1b7fbaedf489ad5a755d951194dfaea6ad | [] | no_license | GennadySX/pLabs | 6c64cd2fdc87a204e9b675ef7cf54f4cae4356c7 | 50810647bcc7a48ce38d51c321b165a48560b5d6 | refs/heads/master | 2020-09-05T17:22:46.474588 | 2019-11-07T06:35:33 | 2019-11-07T06:35:33 | 220,167,548 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 771 | sce | laba16.sce | //Лаба 16
//Транспортная задача 1
//min(120x1+160x2+80x3+100x4)
//x1+x2=10 x3+x4=7 x1+x3=9 x2+x4=8
//x1>=0,x2>=0,x3>=0,x4>=0
clc
p=[120; 160;80; 100]
A=[1 1 0 0
0 0 1 1
1 0 1 0
0 1 0 1]
b=[10; 7; 9; 8]
ci=[0; 0; 0; 0]
cs=[10; 10; 7; 7]
me=4
x0='v'
[x,lagr,f]=linpro(p,A,b,ci,cs,me,x0)
format('v',5)
disp(x(1),... |
fcd18bc9905b6ad872e6c384ec4337227ebdb320 | d56141249002a5da7c4a2641dbdfc609809046a8 | /structures/prim2conv.sce | ce4e8e27b352268492529d0439cfea74df99bb7a | [] | no_license | kcbhamu/DFTutilities | 14a77226c1229ec61563cc08316d6c32814ddb57 | d6c859407a6b13c8bc5340c08db7a0125d6ed4e6 | refs/heads/master | 2021-06-24T15:23:58.675113 | 2017-08-23T20:56:44 | 2017-08-23T20:56:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,249 | sce | prim2conv.sce | // This code is to generate the conventional cell from a primitive cell
clear; clc; exec(PiLib);
// Parameters =========================================================
work_dir=[]//['C:\MyDrive\Work\TaAs\']
xsf_title='Ba2TePoO6_slab2'
xyz_format_in='red'
xyz_format_out='red' //'red' / 'cart' (screen display only)
pc_v... |
b8b4ac0af5445e99c4076fbde1d157107bccb538 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH11/EX11.20/Ex11_20.sce | 024a57f964486cae1308c4dfbe791dcf81b018e6 | [] | 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 | 575 | sce | Ex11_20.sce | //chapter11
//example11.20
//page224
Vcc=20 // V
Rc=1 // kilo ohm
// for saturation collector current, knee voltage becomes 0V so we get
Ic_sat=Vcc/Rc
// it can be seen from the circuit that cut-off voltage (i.e. when Ib=0) equals Vcc itself
Vce_cutoff=Vcc
// the equation of load line becomes Ic=-Vce+2... |
7a6584da3d8e56597b5dd601791ceed95452c2b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH10/EX10.11/example10_11.sce | 24bf7296d883ac97890a5a2666f7eb548391375d | [] | 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,378 | sce | example10_11.sce | //clc()
R = 100;//kg ( basis - residue )
MCaSO4 = 136.144;
MMgSO4 = 120.376;
mCaSO4r = 9;//kg
mMgSO4r = 5;//kg
mH2SO4r = 1.2;//kg
minertr = 0.5;//kg
mCO2r = 0.2;//kg
mH2O = 84.10;//kg
NCaSO4 = mCaSO4r / MCaSO4;
NMgSO4 = mMgSO4r / MMgSO4;
//CaCO3 + H2SO4 = CaSO4 + H2O + CO2
//MgSO4 + H2SO4 = MgSO4 + H2O + C... |
83cee7d70e007a8773af2e665104e38b14a52cec | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH12/EX12.2/12_2.sce | d05c05c98a749030f880033168063f46bd55381b | [] | 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 | 244 | sce | 12_2.sce |
//unit in SI
L1=10^-9
L2=10^-9
Go=4.5*10^-3
RL=50
W=2*%pi*150*10^6
n=sqrt(1/(Go*RL))
disp(n,"n=")
L3=L2/n^2
printf("\nconsidering L1=L2=1nH")
printf("\nL3=L2/n^2=%.4e H",L3)
C=1/((L1+L2)*W^2)
printf("\nC=1/((L1+L2)*W^2)=%.5e F",C) |
6981aa3a5dd2ed4cc874f776ccb5a0ec65f9b4e9 | e9affefd4e89b3c7e2064fee8833d7838c0e0abc | /aws-java-sdk-core/src/test/resources/resources/profileconfig/RoleProfileWithEmptySourceName.tst | 5cfa1fe38ef9d0d2d870792cf455cd32ff412f0b | [
"Apache-2.0"
] | permissive | aws/aws-sdk-java | 2c6199b12b47345b5d3c50e425dabba56e279190 | bab987ab604575f41a76864f755f49386e3264b4 | refs/heads/master | 2023-08-29T10:49:07.379135 | 2023-08-28T21:05:55 | 2023-08-28T21:05:55 | 574,877 | 3,695 | 3,092 | Apache-2.0 | 2023-09-13T23:35:28 | 2010-03-22T23:34:58 | null | UTF-8 | Scilab | false | false | 72 | tst | RoleProfileWithEmptySourceName.tst | [test]
source_profile=
role_arn=arn:aws:iam::123456789012:role/testRole
|
40bb49849e570e428bd4e4a0042b8e6fb5c87169 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/signal/chepol.sci | af9993ede58c46f93921d1ab389ebac5a6942825 | [
"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 | 419 | sci | chepol.sci | function [Tn]=chepol(n,var)
//Recursive implementation of Chebychev polynomial
// n :Polynomial order
// var :Polynomial variable (character string)
// Tn :Polynomial in var
//
//!
//Author F.D.
// Copyright INRIA
T1=poly(0,var);
T0=1+0*T1;
if n==0 then,
Tn=T0,
return,
end,
if n==1 then,
Tn=T1,
... |
6b7096a6311beddb7d9444b1209b17a964c20540 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH2/EX2.2/EXAMPLE2_2.SCE | 831a172d3e84927af2c2d00070f7c3d9847c4a6f | [] | 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,002 | sce | EXAMPLE2_2.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 2
//AMPLITUDE MODULATION
clear all;
clc;
printf("EXAMPLE 2.2(PAGENO 51)");
//given
//v_m = 10*sin(2*%pi*10^3*t)
//by comparing with v_m = V_m*sin(2*%pi*f_c*t) we get
V_m = 10//in volts
f_m = 1*10^3//in hertz
V_c = 20//in volts
f_c = 1*10^... |
67126f866f461dcac05407a6f3d6dcae8d71dd39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH11/EX11.8/Ex11_8.sce | 0109ff7ee827184db10ce033d80644a152e64bef | [] | 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 | 808 | sce | Ex11_8.sce | //===========================================================================
//chapter 11 example 8
clc;
clear all;
//variable declaration
R1 = 0.1; //standard resistance in Ω
V1 = 0.35-%i*0.1; //voltage drop across resistance in V
V2 = 0.8-%i*0.15; //voltage across coil in V
//ca... |
aa5ce6d9e099cda70d29d9c6d8434584d1f2d98a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH17/EX10.17.9/Ex10_17_9.sce | a707e6ee2033a660a117e29b564392975e42ac3c | [] | 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 | 244 | sce | Ex10_17_9.sce | //Section-10,Example-1,Page no.-CT.36
//To calculate the final temperature of the gas.
clc;
y=1.66
T_1=298
//P_2=5*P_1
P_1=1 //let
T_2=(T_1*((5*P_1)/P_1)^((y-1)/y))-273
disp(T_2,'final temperature of the gas(in degree celcius)')
|
f46cfaeb2866ed17e14202f1b0cb538985c119a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH1/EX1.14/ex1_14.sce | 87cebfe42c94f8f73d507ec0fb492ee9fef5f9c3 | [] | 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 | 185 | sce | ex1_14.sce | // Exa 1.14
clc;
clear;
close;
// Given data
h = 2;
k = 1;
l = 1;
a = 4.8;// in Å
d_211 = a/(sqrt(h^2+k^2+l^2));// in Å
disp(d_211,"The distance between planes in Å is");
|
b454fa6547b8ee01d68fb3167a17f8d6959b2fe6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH13/EX13.8/13_8.sce | 2deb4b7cbeb28bc9d8090f28e6b9241701237891 | [] | 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,388 | sce | 13_8.sce | //To find teeth and speed
clc
//Given:
TC=28, TD=26, TE=18, TF=TE
//Solution:
//The sketch is as in Fig. 13.12
//Number of teeth on wheels A and B:
//From geometry, dA = dC+2*dE, and dB = dD+2*dF
//Since the number of teeth are proportional to their pitch circle diameters,
TA=TC+2*TE
TB=TD+2*TF
//Speed of w... |
0953dd135467279b8ceac2cb0f26c6409b133083 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH1/EX1.9/Ex1_9.sce | c45578984db4fda02731c6258f8f510a79b3803e | [] | 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 | 379 | sce | Ex1_9.sce | //Exa 1.9
clc;
clear;
close;
// given :
p=[1,2,3] // coordinates of point p
x=1 // x coordinate of P
y=2 // y coordinate of P
z=3 // z coordinate of P
rho=sqrt(x^2+y^2) //radius of cylinder in m
phi=atand(y/x) // azimuthal angle in degrees
z=3 // in m
disp(rho,"radius of cylinder in m:")
disp(phi,"azimutha... |
2790b0150c070eef3dbb6531fdb867493b9ce3c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH1/EX1.6.9/exa1_6_9.sce | 7895a9897c3a434c820e525d51aeb33da1ca3c8b | [] | 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 | exa1_6_9.sce | //Caption:initial_values
// example 1.6.7
//page 13
//F(s)=(4*s+1)/(s^3+2*s)
s=%s;
syms t;
F=(4*s+1)/(s^3+2*s)
f = ilaplace (F,s,t);
y=limit(f,t,0);//initial value theorem
y=dbl(y);
disp(y,"f(0+)=")
// since F'(s)=sF(s)-f(0+) where L(f'(t))=F'(s)=F1
F1=(4*s+1)/(s^2+2)
f1= ilaplace(F1,s,t);
y1=limit(f1,t,0... |
3f75f85bc0a74b813abc24652226c326f533b42b | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH13/EX13.1/Example13_1.sce | 2947095b8b56a32d12b751190d6eae3512f9e833 | [] | 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 | 485 | sce | Example13_1.sce | //Example 13.1
clear;
clc;
R=10*10^3;
vImin=1*10^(-3);
vImax=10;
CnCusum=20*10^(-12);
VA=100;
rd=2*10^6;
ft=1*10^6;
ic=vImax/R;
ro=VA/ic;
re=26;
Rarec=(1/R)+(1/ro)+(1/rd);
Ra=1/Rarec;
b0rec=0.5;
Rb=Ra*b0rec;
RE=Rb-re;
Rbstd=4.3*10^(3);
printf("RE=%.2f kohms\n",RE... |
c9545d64c961e03b44d167113f13629339c8938b | e86f908be00c4a3a017e81d12588d76562c56b75 | /macros/autoreg_matrix.sci | 8778a84647605676ef7f50528e076eb5ddab4a08 | [] | no_license | ShashikiranYadalam/FOSSEE_SP_task | 8869a14f664329625b76e15e771058b90b69b1e1 | 601ca7b7c91587a430c69c9ceb1f87b196c8e566 | refs/heads/master | 2020-03-20T06:38:26.598686 | 2019-03-01T12:31:10 | 2019-03-01T12:31:10 | 137,255,176 | 0 | 0 | null | 2018-06-14T05:16:17 | 2018-06-13T18:27:32 | HTML | UTF-8 | Scilab | false | false | 901 | sci | autoreg_matrix.sci | function y = autoreg_matrix(Y, varargin)
// Given a time series (vector) Y, return a matrix with ones in the first column and the first K lagged values of Y in the other columns.
//Calling Sequence
//autoreg_matrix(Y, K)
//Parameters
//Y: Vector
//K: Scalar or Vector
//Description
// Given a time series (vector) Y, ret... |
4d0b80d399e5202682d518638f9236936cf3e881 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH9/EX9.2/Ex9_2.sce | 546f5f399efbea3f30c0230f2b6073e6a22af27c | [] | 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 | 383 | sce | Ex9_2.sce | n1=17;n2=16;n3=14;n4=12;n5=11;n6=10;n7=7;n8=5;n9=3;n10=2
t1=51;t2=47;t3=43;t4=39;t5=34;t6=28;t7=22;t8=15;t9=9;t10=6
tncphr=n1+n2+n3+n4+n5+n6+n7+n8+n9+n10//no. of calls/hr.
Y=tncphr/60//rate of calls/min.
toct=t1+t2+t3+t4+t5+t6+t7+t8+t9+t10//total system occupied time in min.
H=toct/tncphr//avg. holding time/call in mi... |
ce9fbfe25551ff8751868bcca30b523867164e3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH22/EX22.17/22_17.sce | df708fb6e095ccaab07191c2d245f3bab7777e12 | [] | 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 | 201 | sce | 22_17.sce | //ques-22.17
//Calculating glancing angle required
clc
w=154;//wavelength (in pm)
d=315;//(in pm)
c=w/(2*d);
//For, Sind(ang) = c
ang=14.1;
printf("The galancing angle is %.1f degrees.",ang);
|
066ed24916d92c9a69353b2562653078e2bfcea5 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.9_1.tst | 5a57557ef18fe27117b6e5c348f07f3ab8520e81 | [] | 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 | 799,694 | tst | 5.9_1.tst | 9 83:1 150:1 162:1 295:2 333:1 424:2 442:1 596:1 643:1 843:1 879:3 892:1 1148:2 1160:1 1276:1 1457:1 1477:1 1543:1 1562:1 1627:1 1699:1 1895:2 1993:1 2006:1 2216:1 2219:1 2485:2 2780:1 2867:1 2888:1 2936:1 2965:1 3266:1 3271:1 3357:1 3459:1 3478:1 3489:1 3574:1 3599:1 3688:1 3742:1 3790:1 3838:1 3918:2 3998:1 4093:1 42... |
dbda00794c5f57912a931ea2e76ff36848427b52 | 058366d0dd1a4214c2e310ce1875016834464d9b | /tools/h5repack/testfiles/h5repack_filters.h5-gzip_verbose_filters.tst | dad25643208e0ce6ca945b170d07be9e3759214f | [
"LicenseRef-scancode-llnl",
"LicenseRef-scancode-hdf4",
"LicenseRef-scancode-hdf5"
] | permissive | dearman/HDF5 | 45ac8d017c401a3e48d5bc653b3233bcccfb6845 | d333f2c3e0d010cf46b00a64eb3d9e6c7658b84f | refs/heads/master | 2020-04-13T23:19:50.717938 | 2018-04-23T12:43:58 | 2018-04-23T12:43:58 | 163,503,639 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 522 | tst | h5repack_filters.h5-gzip_verbose_filters.tst | No all objects to modify layout
No all objects to apply filter
</dset_deflate> with GZIP filter
</dset_deflate>...Found
Making new file ...
-----------------------------------------
Type Filter (Compression) Name
-----------------------------------------
group /
dset ... |
5d1d9c0fa9264023ee629c1342ecb3178f91cfb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH3/EX3.10/3_10.sce | cb156042220b1adfa6fa3d396d4c5c9dc0c1283f | [] | 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 | 270 | sce | 3_10.sce | clc;
h3=2716.4;//kJ/kg
hf2=640;
h_fg2=2109;
x2=(h3-hf2)/(h_fg2);
flow_rate=9;
m_w2=(1-x2)*(flow_rate);
mass_water=0.5;
m_w1=m_w2+mass_water
flow_rate_dry=mass_water+flow_rate-m_w1;
x1=flow_rate_dry/(mass_water+flow_rate);
disp("fraction is:");
disp(x1)
|
57cb655aa5ffd82c0df62f3d662699bdfd47a926 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH5/EX5.12/5_12.sce | 3452ee8a956519cb860235d26e868a8ea0b7d7ec | [] | 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 | 407 | sce | 5_12.sce | //Least value of alpha and reactions developed
//refer fig. 5.16
//Using law of friction and equilibrium
//FA=0.25*NA
//FB=0.4*NB
//NA+0.4*NB=1100
//0.25*NA=NB
//Solving this we get
NA=1000 //N
FA=0.25*NA //N
NB=0.25*NA //N
FB=0.4*250 //N
//Taking moment about A
alpha=atand(3) //degree
printf("\nNA=... |
c012a99fba6868102f91b936387d3708f841b953 | 22908506b1e0bb186f9cc4b5d07a579da098770d | /jacodub.tst | f02ef3330169fd7561f9011996d48354fc4c5bab | [] | no_license | jaco4GIT/github-demo | 67d573eedbdde421bc0e56f794f4ae423305eb17 | 0b21f3a6a0a2c253eae047d4f7db7f46fdde3b85 | refs/heads/main | 2023-02-18T21:38:56.385247 | 2021-01-12T02:23:18 | 2021-01-12T02:23:18 | 328,844,661 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 18 | tst | jacodub.tst | Ceci est un DEMO
|
da4a9f5b58528dbfb7c990a44df18c442bd9a11f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH8/EX8.9/Ex8_9.sce | ea67971dda7361fa4aed2598f9584f1af0e8c74c | [] | 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,622 | sce | Ex8_9.sce | clc
//solution
// initialization of variables
P=100 // atospheric pressure in kPa
R=0.287 // specific gas constant for air
T1=15+273 // outside temperature in kelvin
phi1=0.4// outside air relative humidity
Qf1=40 // outside air flow rate in m^3/min
T2=32+273 // inside temperature in kelvin
phi2=0.7 // inside ... |
c1dbe7ae9a8a9ff992019ade252477bc7216124a | 7ad0d60cf81a6a597c854f34eb8e4d0f0238449f | /Controle/T1/Código/V3/polosezeros.sce | 6821858c68d51acef7a16f7508f8d156abcf3ea6 | [] | no_license | Lucas-Okamura/Poli-USP | 83c5bf59a8d1f04215db1caeb3898a2394c0797c | 2875cd8e0f3a2549f0461d0256cf5e8cc24d204c | refs/heads/master | 2023-06-07T21:29:13.123960 | 2021-06-23T21:59:01 | 2021-06-23T21:59:01 | 304,692,746 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sce | polosezeros.sce | // Polos e Zeros
sl = syslin('c',A,B,C,D)
h = ss2tf(sl)
disp(h)
plzr(sl)
s = poly(0,'s')
matr = s*eye(4,4) - A
disp(matr)
disp(C*inv(matr)*B)
disp(roots(det(matr)))
|
9d829589da73337b62156580f26d21866753a71e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH7/EX7.14/7_14.sce | 8bbbc9ff86a984d7b3e9cd982798cfe1cd206697 | [] | 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 | 665 | sce | 7_14.sce | clc
clear
//Input data
r=14;//The compression ratio of a diesel engine
Vc=1;//Clearance volume in m^3
c=0.08;//Fuel supply cut off point
nr=0.55;//Relative efficiency
H=10000;//Calorific value of fuel in kcal/kg
r1=1.4;//Ratio of specific heat of air
Vs=13;//Stroke volume in m^3
//Calculations
rho=Vc+(c*Vs... |
fc39db0a5c1cf7c207d5cbcb75028ae37b2a4514 | 127061b879bebda7ce03f6910c80d0702ad1a713 | /bin/PiLab_hdr.sci | d3fcc9ca2b40ccfb5ffbd82b975ae0a828f14f50 | [] | 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 | 14,339 | sci | PiLab_hdr.sci | // **** Purpose ****
// PiLab hamiltonian dimension reduction function
// **** Variables ****
//==== << PiLab inputs >> ====
//[hdr.ConvCell]: 3x3, real
//<= the conventional cell row vecvtors, in unit of the WF lattice vectors
//[hdr.TotCC]: 1x1, integer
//<= number of conventional cell along a3 direction
//[hdr.Task... |
db5742d2e5779b339b33022f93cf1533c9ce8beb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH5/EX5.4/Ex5_4.sce | 031408abc03664c4d9503ff3030051ce6a0ebadb | [] | 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 | 361 | sce | Ex5_4.sce | //Section-1,Example-4,Page no.-AC.164
//To calculate the mass of air needed for complete combustion of 1 kg fuel.
clc;
W_C=4000 //(gm)
W_H=750 //(gm)
W_O=250 //(gm)
WO_net=(((32/12)*W_C)+((16/2)*W_H))-W_O //Net O_2(gm)
M=WO_net*(100/23)*10^-3
disp(M,'mass of ... |
13dcf9e173016981082ea6a123877b7f112d4eae | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/sci2blif_added_blocks/Max_detect.sce | e2895dcd86e3a882a5a5b6358de8cdbcad73dadd | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 681 | sce | Max_detect.sce | //**************************** Max_detect **********************************
if (blk_name.entries(bl) == "Max_detect") then
mputl("#Max_detect",fd_w);
for ss=1:scs_m.objs(bl).model.ipar(1)
Max_detect_str= '.subckt Max_detect'+' in[0]=net'+string(blk(blk_objs(bl),2))+'_'+string(ss)+' out[0]=net'+string(b... |
8c471b113929c116a82f901c19a8763e1e1f28c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH5/EX5.18/Ex5_18.sce | d67d924efcb47474707c2500bd6c203a40883ffc | [] | 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 | 477 | sce | Ex5_18.sce | //Ex 5.18
clc;
clear;
close;
format('v',5);
fmin=200;//Hz
fmax=1;//kHz
fa=fmax;//kHz
disp("Various design parameters are : ");
Ci=0.05;//micro F////Chosen for the design
disp(Ci,"Capacitance Ci(micro F)");
format('v',4);
fb=10*fa;//kHz
Rf=1/(2*%pi*fa*10^3*Ci*10^-6)/1000;//kohm
disp(Rf,"Resistance Rf(kohm)... |
59d411908fbac90a0265c0c0d1a94f5bbb9d28d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH10/EX10.13/Exa10_13.sce | 780c55e9de1fcee90bf5967d1c9fc84a8d27ba0c | [] | 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 | Exa10_13.sce | //Exa 10.13
clc;
clear;
close;
//Given Data :
format('v',6);
x=60;//in Rs./KVA
x1=100;//in Rs/KVAR(cost of phase advancing equipment)
InterestCepriciation=x1*10/100;//in Rs.
y=10;//in Rs./KVAR
cosfi_2=sqrt(1-(y/x)^2);//unitless
disp(cosfi_2,"Most Ecomnomical PF(lag) :"); |
aeceb9aa3fd8488cca754c018ee52ee6724da745 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH12/EX12.18/18.sce | b0ee7449e815fd098064956ad6d646775ea8678e | [] | 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 | 396 | sce | 18.sce | clc
p1=15; //bar
p2=4; //bar
p4=0.1; //bar
h1=2920; //kJ/kg
h2=2660; //kJ/kg
h3=2960; //kJ/kg
h4=2335; //kJ/kg
W=h1-h2+h3-h4;
disp("work done per kg of steam")
disp(W)
disp("kJ/kg")
h_reheat=h3-h2;
disp("Amount of heat supplied during reheat =")
disp(h_reheat)
disp("kJ/kg")
h_4a=2125; //kJ/kg
... |
fea1bb2b643307e91fa041f834940cb32306f5ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH7/EX7.7/example7_7.sce | 853629f682bbfa6055db161dc19338585826e557 | [] | 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 | 299 | sce | example7_7.sce | clc
// Given that
k = 16 // stiffness constant of spring n/m
m = 1 // mass of particle in kg
// Sample Problem 7 on page no. 7.24
printf("\n # PROBLEM 7 # \n")
n = sqrt(k / m) / (2 * %pi)
printf("\n Standard formula used \n n = sqrt(k / m) / (2 * pi).\n")
printf("\n natural frequency = %f Hz.",n)
|
beab594ad6b50e337f0479bc8767d8b1b7f7976a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH4/EX4.1/4_1.sce | 9a0599fe35b51ef44a21402bb9262df56e7f1047 | [] | 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 | 4_1.sce | clc,clear
printf('Example 4.1\n\n')
Pole=4
Slots=24
Phase=3 //number of phases
n=Slots/Pole //slots per pole
m=Slots/Pole/Phase //slots per pole per phase
beeta=180/n //Slot angle
|
2ac630c135c212fc46fc6f14a1ec6e2ae3aeb1c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH5/EX5.13/5_13.sci | 0fe19624d98fa9b506b9f2a3c2a86fa464869889 | [] | 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 | 199 | sci | 5_13.sci | // calculate the percentage change in value of the gauge resistance
clc;
s=100*10^6;
E=200*10^9;
strain=s/E;
Gf=2;
r_perunit=Gf*strain*100;
disp(r_perunit,'Percentage change in resistance=')
|
238219dce73c8a3de1bb45482532322638cfe107 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH6/EX6.3/Ch06Ex3.sci | 90dfcad35c244cb2538ba3c2eff8177fbc870745 | [] | 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 | 685 | sci | Ch06Ex3.sci | // Scilab Code Ex6.3 : Indices of lattice plane : Page-135 (2010)
m = 2; // Coefficient of intercept along x-axis
n = %inf; // Coefficient of intercept along y-axis
p = 3/2; // Coefficient of intercept along z-axis
m_inv = 1/m; // Reciprocate m
n_inv = 1/n; // Reciprocate n
p_inv = 1/p; // Reciproc... |
03ee633795154bcf0fd70e94c23ce4732adff6f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH21/EX21.26/21_26.sce | bd62db0c978d8b324523e6323d16505aa6b4edbb | [] | 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 | 21_26.sce | //Chapter 21, Problem 26
clc;
V1=320; //primary voltage
V2=250; //secondary voltage
Rg=20e3; //rating
I1=Rg/V1; //primary current
I2=Rg/V2; //secondary current
I=I2-I1; //current in common part of th... |
074aa68b504a44de3130d6bc00645e326ca22f9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH12/EX12.4/12_4.sce | bd15f39ce06f52d51854572c51dff74715ec79a9 | [] | 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 | 424 | sce | 12_4.sce | clc
b=250 //mm
d=400 //mm
dia=20 //mm
n=3
SigmaC=7 //N/mm^2
SigmaS=140 //N/mm^2
m=15
As=n*%pi*dia^2 /4
n=m*As*(sqrt(1+ 2*b*d/(m*As))-1)/b
BMC=SigmaC*b*n*(d-n/3)*10^(-6) /2
BMS=SigmaS*As*(d-n/3)*10^(-6)
if BMC>=BMS then
printf("Limiting material is Steel and moment of resistance of the beam is %f",BMS)
... |
1d2682c0f00cb6b6aec4b15d66309db05710817b | 127745e9bf131e8fa977b4b246c9f981092777f0 | /DATA_envelope_baseline/test.sce | 9d1072ea75b70ebd720f9e2f05d99d195857cbd2 | [] | no_license | Buatomy/Data_envelop | 5e0e2fc386bda2bddb72a7d4208785c4057cf0f4 | 8906d0bda6639e4339e968fee252cadaa38cb94d | refs/heads/master | 2022-12-07T00:55:20.529001 | 2020-08-19T12:00:11 | 2020-08-19T12:00:11 | 288,683,639 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 536 | sce | test.sce | Filename = "BSxxxx1--00000.csv";
File_location = "C:\Users\nut\Desktop\DATA_envelope_baseline";
for a=0:0
if a==0 then
else
X_F = ascii(strsplit(Filename));
X_F(14) = X_F(14)+1;
Filename = ascii(X_F);
end
FName = fullfile(File_location,Filename);
DATA = csvRead(FName,',',[],... |
01a76353a4bc22e5a236b3debc1127d01192fb96 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/util/msin.sci | 146a4bfa54d3b5444ca4601f05c013ef4017b61e | [
"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 | 397 | sci | msin.sci | function x=msin(a)
// msin - computes the matrix sine
//%CALLING SEQUENCE
// x=msin(a)
//%PARAMETERS
// a : square hermitian matrix
// x : square hermitian matrix
//%DESCRIPTION
//This macro is called by the function sin to compute square matrix sine
[m,n]=size(a)
if m<>n then error(20,1),end
if a<>a' then... |
1494dcc3749c03a31a655f8ee0dc5016d5e3c9bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH1/EX1.2/1_2.sce | 9ab5947b10e4e975287db68af6fa00a0ea2bd2be | [] | 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,372 | sce | 1_2.sce | clc
//ex1.2
//element A
disp('ELEMENT A :')
V_a=12;
i_a=2;
P_a=V_a*i_a; //passive reference configuration (current enters through +ve polarity)
if(P_a>0) then, //absorption of power
disp(P_a,'Power for element A in watts is')
disp('As a battery, element A is being charged')
elseif(P_a<0) ... |
18a7016045f70c3f961ab0537988b9423e425d18 | 2e676e3b1cebfbb9d20f9b935ceacd507c57d36a | /Octave/octave-4.2.1/share/octave/4.2.1/etc/tests/fixed/while.tst | f205706fe2e5052afc8206f4addacd4e54b7e957 | [] | no_license | vohrahul/ML-ang-coursera | 239469e763b290aa178b7aa8a86eda08e4e7f4be | 4c24fd2ecfb9f3de7df15e3a9f75627f782f9915 | refs/heads/master | 2022-12-28T03:45:54.810173 | 2020-10-16T12:33:25 | 2020-10-16T12:33:25 | 304,620,441 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,806 | tst | while.tst | ## Copyright (C) 2006-2017 John W. Eaton
##
## This file is part of Octave.
##
## Octave is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or (at
## your option) any later vers... |
c3c085cd19ece65370eef000f65a1cc80ce59210 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.14_13.tst | 6c3d841b269af2bb0e32885d346c097a48be7fe5 | [] | 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 | 621,844 | tst | 5.14_13.tst | 14 84:1 273:1 369:1 822:1 824:1 1334:1 1888:1 2343:1 2553:1 2798:1 2835:1 3127:1 3556:1 3577:1 3760:1 3773:1 3933:1 4056:1 4197:1 4226:2 4256:1 4310:1 4350:1 4778:1 4809:1 5045:1 5439:39 5474:1 5613:1 5752:1 5767:1 6321:1 6630:1 6777:1 6793:1 6967:1 7796:1 7921:1 8053:1 8121:1 8251:1 8755:1 8782:1 8853:1 8972:1 8986:1 ... |
ba353223637387b391215c0e02d725b73e03bd22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH1/EX1.6.U1/Ex1_6_u1.sce | 9375c85c87527597e6192220816d874b45ba21d9 | [] | 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 | 921 | sce | Ex1_6_u1.sce | //Example 1_6_u1
clc();
clear;
//Calculate the wavelengths of light in visible spectrum
i=35 //units in degrees
u=1.33
d=5*10^-5 //units in cm
r=asin(sin(i*%pi/180)/u) //units in radians
r=r*180/%pi //units in degrees
//For n=1
n=1
lamda1=(2*u*d*cos(r*%pi/180))/n //... |
f9483157d777f7ac185241890d4e2130bc3ee525 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH15/EX15.6/Ex15_6.sce | d0bad01c2f547715be79b2144504e01f304ebd73 | [] | 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 | 584 | sce | Ex15_6.sce | clear;
clc;
disp('Example 15.6');
// aim : To determine
// the relative efficiency of the engine
// given values
d = 80;// bore, [mm]
l = 85;// stroke, [mm]
V1 = .06*10^6;// clearence volume, [mm^3]
ate = .22;// actual thermal efficiency of the engine
Gama = 1.4;// heat capacity ratio
// solution
sv =... |
f1be9fb4b4a2c838a267be7f3b48187acfb371b3 | a5f3b0001cdb692aeffc444a16f79a0c4422b9d0 | /main/toolkit/qa/unoapi/toolkit.sce | 3144a17c150b43520f2b4b55b3615da406c05949 | [
"Apache-2.0",
"CPL-1.0",
"bzip2-1.0.6",
"LicenseRef-scancode-other-permissive",
"Zlib",
"LZMA-exception",
"LGPL-2.0-or-later",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-philippe-de-muyter",
"OFL-1.1",
"LGPL-2.1-only",
"MPL-1.1",
"X11",
"LGPL-2.1-or-later",
"GPL-2.0-only",
... | permissive | apache/openoffice | b9518e36d784898c6c2ea3ebd44458a5e47825bb | 681286523c50f34f13f05f7b87ce0c70e28295de | refs/heads/trunk | 2023-08-30T15:25:48.357535 | 2023-08-28T19:50:26 | 2023-08-28T19:50:26 | 14,357,669 | 907 | 379 | Apache-2.0 | 2023-08-16T20:49:37 | 2013-11-13T08:00:13 | C++ | UTF-8 | Scilab | false | false | 3,490 | sce | toolkit.sce | # *************************************************************
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to y... |
dd45a2551ad703301094f94eb706246b01ea1386 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH22/EX22.6/Example_22_6.sce | bea069cab51ecb12f4e90d9aba5dbeca5742f83f | [] | 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,534 | sce | Example_22_6.sce | //clear//
clear;
clc;
//Example 22.6
//Solution
rho_m = 62.2/18; //[mol/ft^3]
//kya = 0.025*Gy^0.7*Gx^0.25
H2ObySO2 = 2*0.98964/0.01036;
//and
xb = 1/(H2ObySO2+1);
//The molal mass velocity of the feed gas Gm is
Gm_in = 200/29*(1/0.8); //[mol/ft^2-h]
SO2_in = Gm_in*0.2; //[mol/ft^2-h]
Air_in = Gm_in*0.8; //[mol/ft^2... |
c30e0d5805abb6ba336ffba81b84602b7e5d8cfc | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH7/EX7.42/ch7_42.sci | 3bb1c9f98c5ecbe4051c4709a3a956e4c9655f4e | [] | 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 | 907 | sci | ch7_42.sci | //to determine shunt field current of the motor,demagnetising effect of armature rxn, determine series field turns/pole,speed of motor.
clc;
Voc=[180 200 220 240 250];
If=[1.18 1.4 1.8 2.4 2.84];
plot(If,Voc);
xlabel('If(A)');
ylabel('Voc(V)');
n_0=1350; //at no load
Vt=230;
Ea=Vt; //no voltage drop
I... |
e692fe0609a9afcb24cd4241f1fe0e426b258154 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH4/EX4.18/ex4_18.sce | 0803b585180953d9899847247af4dd0e21c69e1e | [] | 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 | 209 | sce | ex4_18.sce | // Exa 4.18
clc;
clear;
close;
// Given data
Vmax= 10;// in µV
f= 2*10^3;// in kHz
//Vin= Vmax*sin(2*%pi*f*t);// in µV
disp("The input voltage is "+string(Vmax)+"*sin ("+string(2*f)+"%pi*t) µV")
|
03c86ad6fe4b16aa74bb4bbc4d6e4ed0bd42a7bf | c247bce84b3facd1a13b48e7417327c40c8b3898 | /FOPID/fopdLuo.sci | 2fc009de13acaf3d0dbd976210b41afbb7f2e7e6 | [] | no_license | AstroSayan/FuzzyFOPID | 9de9fa761301da6ae1f5dfe7b8e7e8214f3b472b | ea0e31e8fa0b36e407de9dfa466cf46b583e4103 | refs/heads/main | 2023-04-26T19:18:30.590337 | 2021-05-13T18:27:32 | 2021-05-13T18:27:32 | 367,137,779 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 208 | sci | fopdLuo.sci | function C=fopdLuo(Kp,Kd,mu)
s=poly(0,'s'); s=syslin('c',s/((0*s)+1));
C1=(mu*Kd*s)/(Kp);
C2=((mu*(mu-1))/2)*((Kd*s)/Kp)^2;
C3=((mu*(mu-1)*(mu-2))/6)*((Kd*s)/Kp)^3;
C=(Kp^mu)*(1+C1+C2+C3);
endfunction
|
21a573b19f5cb3de2e8eae80a10f224a4dc59b24 | b0d8c7b29e6358945c6e1952e06ccb9201bab331 | /Test/integration/expected/testHelpWithConnect.tst | 350dc0c42d4e7cb8484f9b30a84d9452af862adc | [] | no_license | AVM82/projectSqlCmd | d5fc432cf09bbbad7344e46cd55cce73c2a0ef49 | 93e7d6aa374a7e7d543cea8bb6a3be3c5eaf085a | refs/heads/master | 2021-05-04T00:24:00.603382 | 2017-09-15T13:18:03 | 2017-09-15T13:18:03 | 71,457,442 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,690 | tst | testHelpWithConnect.tst | [32m
[32m***********************************************************************************************
[32mYou need to connect to the database to continue
[32mDBMS:
[32m -fb FireBird (DB_Name = full_path\DB_Name.fdb)
[32m -ms MS SQL Server
[32m -pg PostgreSQL
[32mFor connect to DB please enter: connect -DBMS ... |
bfb5d58792b467c6677af6d5af302d61570e2357 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH3/EX3.22/chapter3_ex22.sce | 85cd9695ec3965bc030318c5b51b57d49cf557c4 | [] | 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 | 754 | sce | chapter3_ex22.sce | clc
clear
//input
v=250;//voltage of the series motor in volts
ra=0.25;//armature resistance of the series motor in ohms
rf=0.2;//field resistance of the series motor in ohms
i=60;//current taken by the motor in amperes
w=90;//speed of the motor in rad/s
r0=0.4;//resistance added in parallel with the field in... |
fe2002f66da03fbc91bf653d5625323ea5da88ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH16/EX16.1/Ex16_1.sce | abc4dceaf50358649f37bf34b08036e890a03d27 | [] | 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 | 340 | sce | Ex16_1.sce | clc;clear;
//Example 16.1
//round off error
//given data
T=298.15;
//from Table A-26
g=455510;
//constants used
R=8.314;//in kJ/kmol K
//calculations
// N2 = 2N
dG=2*g;
lnKp=-dG/(R*T);
disp(lnKp,'in comparison to Table A-28 ln Kp value of -367.5 our result is');
Kp=exp(lnKp);
disp(Kp,'the equilib... |
243705598aeb42181e82bee4855404777c4eda2f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/mtlb/fseek_origin.sci | fdbebaa7188156a891e34e0db9ce3722cf1f3726 | [
"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 | 307 | sci | fseek_origin.sci | function flag=fseek_origin(origin)
select origin
case '''bof''' then
flag='''set'''
case '''cof''' then
flag='''cur'''
case '''eof''' then
flag='''end'''
case '-1' then
flag='''set'''
case '0' then
flag='''cur'''
case '1' then
flag='''end'''
else
error('mseek : Unknown reference flag')
end
|
c8eed51cde4865ecb811a71dd3714442cf26be1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH12/EX12.1/ex12_1.sce | 5de1e3a4bbc362cd85e580b00ea7f15622f9da3f | [] | 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 | 548 | sce | ex12_1.sce | // Example 12.1
format('v',5)
clc;
clear;
close;
// given data
R1= 20;// in kΩ
R2= 10;// in kΩ
R_E= 10;// in kΩ
R_D= 8.2;// in kΩ
V_G= 10;// in V
V_BE= 0.7;// in V
V_GS= -2;// in V
V_DD= 30;// in V
V_B= R2*V_DD/(R1+R2);// in V
I_E= (V_B-V_BE)/R_E;// in mA
I_D= I_E;// in mA
// The dc voltage from the dr... |
7db5e9512b1eae644e04c514fe5942d7c369e258 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH2/EX2.2/2.sce | b02af28bf38292aa7dcb38fb84be0d51b40c8a36 | [] | 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,778 | sce | 2.sce | clc
clear
//Input data
P1=2 //Intial pressure in bar
C1=170 //Initial velocity of air in m/s
T1=473 //Intial temperature in K
A1=1000 //Inlet area in mm^2
P2=0.95 //Exit pressure in bar
k=1.4 //Adiabatic Constant
R=287 //Specific gas constant in J/kg-K
//Calculation
a_1=sqrt(k*R*T1) //Velocity of sound ... |
61f2b425ca1e2748f32fc3fdf1ddf052205b247f | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH4/EX4.11.a/data4_11.sci | f1afd7ba461575293976ad7e3c29e4d9304dc220 | [] | 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 | 421 | sci | data4_11.sci |
//(Design against Static Load) Example 4.11
//Refer Fig.4.38
//Tension in the wire rope P (kN)
P = 5
//Ultimate tensile strength of FG200 Sut (N/mm2)
Sut = 200
//Factor of safety fs
fs = 2.5
//Ratio of depth to width of cross-section ratio
ratio = 2
//Distance between the load and cantilever support A dist ... |
d30734a783fb00c4b3a3632d8a0dba658ab150eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /876/CH2/EX2.2/Ex2_2t.txt | 9e8be31796b8cd17722ac7cb96a0bcab5bd81397 | [] | 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 | 234 | txt | Ex2_2t.txt | //caption:Find limiting error in percentage
//Ex2.2
clc
clear
close
V=150//maximum range of voltmeter(in V)
A=0.02//magnitude of accuracy(in V)
Vm=83//voltage measured
dA=A*V
%er=(dA/Vm)*100
disp(%er,'limiting error(in %)=') |
3fc3dc7216b756f4e9f5825e47001c759c5dde30 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.12_10.tst | dcb317f93abb96d4ae7122640480273304fb07bf | [] | 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 | 21,336 | tst | bow.12_10.tst | 12 39:0.03225806451612903 48:1.0 55:1.0 56:0.021739130434782608 59:0.1 74:0.3333333333333333 156:0.3333333333333333 216:0.25 358:1.0 463:0.3333333333333333 1774:1.0 2177:1.0 4104:1.0
12 8:0.2 26:0.3333333333333333 30:1.0 39:0.03225806451612903 56:0.021739130434782608 91:0.05 96:1.0 128:1.0 146:1.0 213:0.25 221:0.333333... |
e1d5246b096b59a6028c787094c4cf54dab11b9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH17/EX17.15/Ex17_15.sce | d758a0e8dd1b85aab8fb26205083018e8896ee79 | [] | 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,091 | sce | Ex17_15.sce | // Example 17_15
clc;funcprot(0);
//Given data
m_s=300;// tons/hour
P_c=0.04;// bar
x=0.9;// Dryness fraction
U=3;// KJ/m^2-°C
T_wi=15;// The inlet temperature of water in °C
T_wo=25;//The outlet temperature of water in °C
d_i=17.6;// mm
d_o=20;// mm
v=2.5;// The water speed in the condenser in m/sec
rho=10... |
47af5b830bf2da3a59c9bec0c3b36a6df4ab9e83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH6/EX6.7/6_7.sce | a7cf69f6c6467d89915182fd21ba0d08e78b2e4a | [] | 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 | 544 | sce | 6_7.sce | clc
//ex6.7
//We need a high-pass filter
L=50*10^-3;
//for the transfer function to be approximately constant in passband area(from graph given in the text), we choose
Q_s=1;
f_o=1*10^3;
C=1/(((2*%pi)^2)*f_o^2*L);
R=2*%pi*f_o*L/Q_s;
printf(" All the values in the textbook are approximated, hence the values in ... |
5e7c9f81b6723f7446eb814ceb23322e4bede870 | 449d555969bfd7befe906877abab098c6e63a0e8 | /728/CH4/EX4.13/Ex4_12.sce | cc6ebf8c197436e5a4a3481871409386a5789e08 | [] | 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 | 418 | sce | Ex4_12.sce | //Caption:Calculate (i)-cutoff wavelength,(ii)-cutoff frequency,(iii)-wavelength in guide
//Exa:4.12
clc;
clear;
close;
c=3*10^10;//in cm/s
d=4;//in cm
r=d/2;//in cm
wl_c=2*%pi*r/1.841;//in cm
f_c=c/wl_c;
f_signal=5*10^9;//in Hz
wl_o=c/f_signal;
wl_g=wl_o/sqrt(1-(wl_o/wl_c)^2);
disp(wl_c,'Cut-off wavelengt... |
350a4eadd63efbff9540e0af9e8b677bc0fd6683 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH4/EX4.11/Ex4_11.sce | 9f65f88939f18b426e480cce363f4b153b0d9733 | [] | 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 | 913 | sce | Ex4_11.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 4-Buoyancy and Floatation
//// Problem 4.11
//Given Data Set in the Problem
dens=1000
g=9.81
D=3
d=1.8
V_disp=0.6
CB1=1.95
CG=1.2
W_tot=3.9*1000*g
//For meta centric height
//Weight of water displaced=weight density of wat... |
07cbc05c9ece849bed966407f9a6718d18ae7618 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH12/EX12.6/Ex12_6.sce | a554de65bd73036e1e1528582b04109bfb00c66a | [] | 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 | 551 | sce | Ex12_6.sce | clear;
clc;
HP = 3000;
RPM = 60;
f = 12000;//lb/in^2
rho = 480;//lb. per sq. foot
k = 3/4;// k = d/D
T = HP*33000*12/(2*%pi*RPM);// lb-inches
D1 = (T*16/(f*%pi))^(1/3);//inches
D2 = (T/((1+k^2)*(1-k^2)*%pi*f/16))^(1/3);//inches
d = k*D2;// inches
w1 = 0.25*%pi*D1^2 *rho/144 ;// lb-wt
w2 = 0.25*%pi*(D2+d)*(... |
b701e8ad375f1aabde600a64dd196833b476402e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH3/EX3.21/Ex3_21.sce | 93f92ca2e51190b69bcbcfb816f71f8635c0144f | [] | 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,011 | sce | Ex3_21.sce |
//Variable declaration
deltaId=2. //change in Id(mA)
deltaVgs=1. //change in Vgs(V)
deltaVds=5. //change in Vds(V)
Idss=10. //drain current biased to zero(mA)
Id=5. //drain current(mA)
Vp=-6. ... |
8899c9b16e4b772b54fc5bfeae79ba0ecff17214 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH5/EX5.7/5_7.sce | 63cd4efaf51bf4fea014142ef1ab5b3fc31500bc | [] | 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 | 460 | sce | 5_7.sce | clear; clc; close;
Vcc = 20;
Vbe = 0.7;
Vt = 26*(10^(-3));
Re = 0.56*(10^(3));
Rc = 2.2*(10^(3));
Rb = 470*(10^(3));
ro = 40*(10^(3));
Beta = 120;
Ib = (Vcc-Vbe)/(Rb+(Beta+1)*Re);
Ie = (Beta+1)*Ib;
re = Vt/Ie;
disp(re,"Value of diode resistive element is (in ohms) :");
Zb = Beta*re;
Zi = (Rb*Zb)/(Rb... |
2541d42f0dee12a8681c88b3ccd5f7865e2f14c6 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/scicos_blocks/SAWTOOTH_f.sci | 8a8de02a8de0304679eee423b7ecf6ae8c1e2c6d | [
"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 | 611 | sci | SAWTOOTH_f.sci | function [x,y,typ]=SAWTOOTH_f(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then //normal position
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=ar... |
b7c661762502af60e605531271e571a46680acdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH4/EX4.7/Ex4_7.sce | b38bfbff8369a0180ee1715112c64e469feb0d2c | [] | 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 | 745 | sce | Ex4_7.sce | //Ex4_7 Pg-222
clc
Vi=120 //supply voltage n V
Rl=5*10^3 //load resistance
disp("Secondary RMS voltage")
Vrms=Vi/5 //Secondary RMS voltage
printf(" = %.0f V\n ",Vrms)
disp("Secondary pek voltage")
Vm=Vrms*sqrt(2) //Secondary pek voltage
printf(" = %.0f V\n ",Vm)
disp(" Half of the secon... |
aef45b88576e46f9599c9ca08c6767a69a5fdab1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH12/EX12.1/Ex12_1.sce | 27ab0a0bf9a61118fafcafa8498956f0cae0cad8 | [] | 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 | Ex12_1.sce | //example 12.1
clc; funcprot(0);
Ap=%pi/4*1.75^2;
FS=4;
Nq=37.75;
L=8;
Es=50000;
mus=0.265;
pu=100;
Db=1.75;
q=6*16.2+2*19.2;
phi=36*%pi/180;
Fqs=1+tan(phi);
Fqd=1+2*tan(phi)*(1-sin(phi))^2*atan(L/Db);
Ir=Es/(2*(1+mus)*q*tan(phi));
delta=0.005*(1-phi/20*180/%pi+25/20)*q/pu;
Irr=Ir/(1+Ir*delta);
Fqc=exp... |
b9ae592d669d0501eda63aaaf890f6e89d8bd37f | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/cmd/test/recycle2.tst | 6aade6956dadd16836833eba6b3812692f268074 | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 2,130 | tst | recycle2.tst | # A recycle test with information flowing both ways
# through the recycle
units SI
# set up thermo
$thermo = VirtualMaterials.Peng-Robinson
/ -> $thermo
thermo + PROPANE n-BUTANE ISOBUTANE n-NONANE
# Add a stream
stream = Stream.Stream_Material()
# Make the stream In port current to save typing
cd strea... |
4de12fe3df4ef6b07ba8781b9f4b3a821523c91c | 56743f362de98f910919780918c86679ec136d3e | /exercicios-propostas-fichas/ficha5.sce | ea4b15c2b7b8ae1c9fce0747333d71112d0b4a12 | [] | no_license | andre-paulo98/fichas-ei-a1s2-MD | aaf75e6b45cbac7ebbf92949deb783ce6f1201b7 | 99c50eb08cf409ce8e5aa8301728dbe9148e16c5 | refs/heads/master | 2022-02-24T23:13:49.293944 | 2019-10-06T17:50:26 | 2019-10-06T17:50:26 | 171,472,323 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,354 | sce | ficha5.sce | clc
clear
// ficha 5
R = [1 0 1 0; 1 0 1 0; 1 1 0 0; 0 0 0 1]
disp("1) a) A matriz R:")
disp(R)
disp("1) b) A matriz inversa:")
disp(R')
function S=Um(M)
[L, C] = size(M)
for i = 1:L
for j = 1:C
if(M(i,j) > 1)
M(i,j) = 1
end
... |
421efbfeeb0c1a4783a4fdc1bb5d96236f69320e | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/PU17QHW/ATWM1_Working_Memory_MEG_PU17QHW_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | b53587b1414c45695a8bb0899372fe70cd9fd502 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,596 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
23f14f5dac127e84425b1b6d63f8083cc849f99c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH12/EX12.6/Ex12_6.sce | 371fc6329d60e4441132cbee4d457253b89e4b7c | [] | 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 | 401 | sce | Ex12_6.sce | clear
//
//
//
//Variable declaration
c=3*10^8; //velocity of matter wave(m/s)
h=6.62*10^-34; //plank's constant(Js)
lamda=6*10^-7; //wavelength(m)
e=1.6*10^-19; //charge(coulomb)
k=8.6*10^-5;
T=300; //temperature(K)
//Calculation
E=h*c/(lamda*e); //energy(eV)
N=-E/(k*T); ... |
9a241718284c720d2d952866f013da349130fba8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH8/EX8.10/ex_10.sce | e360f6d2089339497357b4f4ae38edda13fe6ef7 | [] | 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 | ex_10.sce | // EXAMPLE (PG 547)
// Gauss Jacobi Method
A = [10 3 1;2 -10 3;1 3 10] // Coefficient Matrix
b = [14 -5 14]' // Right hand matrix
x = [0 0 0]' // Initial Gauss
d = diag(A) // Diagonal elements of matrix A... |
01882e4611a0eee0d8805a673c309b80820d4edc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH3/EX3.15/Ch03Ex15.sce | 1724a427065983b00a519b1b2a1b80ccc138af0f | [] | 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 | 753 | sce | Ch03Ex15.sce | // Scilab Code Ex3.15: Page:140 (2011)
clc;clear;
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
k_B = 1.38e-023; // Boltzmann constant, J/K
f_E = 0.01;....// Probability that a state with energy 0.5 eV above the Fermi energy is occupied by an electron, eV
delta_E = 0.5; // Energy difference (E-Ef)of ... |
81d5d088b78404b2c5d70d93e3ba8c101bc57e02 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.16_13.tst | 28e576072f1fe5a5cbf901b558a309995d089a88 | [] | 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 | 4,989 | tst | bow.16_13.tst | 16 15:1.0 35:0.015151515151515152 37:0.25 45:0.047619047619047616 50:1.0 309:0.25 625:1.0 1020:1.0
16 11:0.2 15:1.0 19:0.2 22:1.0 35:0.015151515151515152 43:1.0 45:0.047619047619047616 85:0.3333333333333333 104:0.14285714285714285 132:0.16666666666666666 152:1.0 155:0.25 251:1.0 484:0.5 508:1.0 516:1.0 541:1.0 938:1.0 ... |
1a6de3164540cdea5334401c753f0d2a8458cbe4 | 2ae858a680a4ccf8a2ec89a45a1e48a0292d8eab | /macros/ellipse2poly.sci | 75ceeab19f8fe4bc3fef30fd7b8f708ad7d6afb4 | [] | no_license | shreyneil/FOSSEE-Image-Processing-Toolbox | f315a82c325b2d6cbd0611689f3e30071a38490d | dd1cbd0dcbe0c3dd11d6ce1ab205b4b72011ae56 | refs/heads/master | 2020-12-02T16:26:13.755637 | 2017-07-07T19:22:33 | 2017-07-07T19:22:33 | 96,552,147 | 0 | 0 | null | 2017-07-07T15:32:15 | 2017-07-07T15:32:15 | null | UTF-8 | Scilab | false | false | 1,531 | sci | ellipse2poly.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_... |
240e8155bb049d0ea2aed4114556a3f4d4a88c56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /698/CH14/EX14.7/P7_determination_of_power_capacity.sce | 8bd12432af8b1e430e2f35e83e2b4a5a5e2b6e02 | [] | 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,051 | sce | P7_determination_of_power_capacity.sce | clc
//Example 14.7
//To determine power capacity
//------------------------------------------------------------------------------
//Given Data:
//number of steel disks
n1=4
//number of bronze disks
n2=3
//Area of contact
a=2.5*(10^-3)//m^2
//Mean radius
Rf=50/1000//m
//coefficient of friction
f=0.25
//... |
fe9dfd4318fae486101dad7ff3bbf85776ab5c0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH4/EX4.4/FSNT_Ex_4_4.sce | 44fef7c0dee73fb5c9982e5d24ffc107bd15b991 | [] | 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 | 447 | sce | FSNT_Ex_4_4.sce | clc
//Chapter 4:Frequency selective networks and transformers
//example 4.4 page no 121
//given
L1=25*10^-6//primary inductance
L2=400*10^-6//secondary inductane
n=(sqrt(L1/L2))//equivalent turns ratio
CT=(8+(2/n^2))*1e-12//total primary capacitance
RL=25*10^3//load resistance reflected to the primary
wo=(sqrt... |
27b347163b16791980cacf6e100c84788435fd6f | 08e6015408a35a317d4d0b609af8ccae9b88a3bf | /src/03/a/RAM64.tst | cf10a900650d7a6ace5edb4c59c317bac662ae6c | [
"MIT"
] | permissive | lekhacman/nand2teris | 38c7aa44b2329ccf102333af5dc1dd542869144b | 520ca48a492b6ac8966330ddaf5174c19e5a8f7f | refs/heads/master | 2023-01-06T18:36:35.660251 | 2020-12-27T09:08:39 | 2020-12-27T09:08:39 | 209,975,266 | 1 | 0 | MIT | 2022-12-10T03:13:50 | 2019-09-21T11:41:33 | Scilab | UTF-8 | Scilab | false | false | 11,463 | tst | RAM64.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/03/a/RAM64.tst
load RAM64.hdl,
output-file RAM64.out,
compare-to RAM64.cmp,
output-list time%S1.4.1 in%D1.6.1 load%B2.1.2 address%D2.3.2 out%D1.6.1;
set in 0,
set... |
f3128247191af0d13cdc6f5e48eb401a53bb6d49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH4/EX4.29/ex4_29.sce | 00c86ae20bfdd3f8d2593d4f70b4ca518b67902e | [] | 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 | 347 | sce | ex4_29.sce | //Page Number: 4.25
//Example 4.29
clc;
//Given,
f1=108; //MHz
f2=157; //MHz
//(a) Image frequency overlaps RF band
fIF=12; //MHz
fL01=f1-fIF;
disp('MHz',fL01,'fL01');
fim1=fL01-fIF;
disp('MHz',fim1,'fim1');
fL02=f2-fIF;
disp('MHz',fL02,'fL02');
fim2=fL02-fIF;
disp('MHz',fim2,'fim2');
//Clearly ... |
7f305598d747aef24d2bf0ba47c72cd61c7f0551 | 052cd7bca09cd17948fb23a8fc19429573da9cab | /Scilab/Electrical Systems/DC Motor/DCmotorScript-200919-175245.sce | 3731ff72b3234856cc064387ededed8837272dfa | [] | no_license | akshay-pathak/extra | 41ef3aaa2036afe0945ec8923bd7e55090a1d554 | d297576711c9de7e693b8279ff0b6d3ee465fc0c | refs/heads/master | 2022-12-25T12:09:28.973876 | 2020-10-05T07:27:03 | 2020-10-05T07:27:03 | 278,586,094 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | DCmotorScript-200919-175245.sce | //Script for DC Motor Model Specifications
J = 0.5; // Rotor Inertia
B = 0.01; //Friction Coefficient
K = 1.25; //Torque Constant
R = 0.4; //Resistance
L = 0.05; //Inductance
|
cc0b808ba53ff3513e6f7019d302f97b164c3e0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH4/EX4.20/4_20.sce | 2d375c7ebd627cdb4f790ae8ed75d0b9417cf3ab | [] | 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 | 651 | sce | 4_20.sce | pathname=get_absolute_file_path('4_20.sce')
filename=pathname+filesep()+'4_20data.sci'
exec(filename)
To=Te*A
disp(To,"To=","To=Te*(1+(y-1)*Me^2/2)","let reservoir temperature required is To ")
Po=Pe*A^(y/(y-1));
disp(Po,"Po=","Po=Pe*((1+(y-1)*Me^2/2))^y/y-1","let reservoir pressure required is Po ")
r=sqrt((2*A... |
c15ec77df9b13f94714b5faeec11a9595ac6dc7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH2/EX2.2/Example2_2.sce | 7aec8eb474b99253704b7ae8ba6e59e336473d37 | [] | 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 | 510 | sce | Example2_2.sce | //clear//
//Caption: Finding Critical angle, numerical aperture, acceptance angle
//Example 2.2
//page 45
clear;
close;
clc;
n1 = 1.48; //core refractive index
n2 = 1.46; //cladding index
phic = asin(n2/n1)*57.3;
NA = sqrt(n1^2 - n2^2);
phi0 = asin(NA)*57.3;
disp(phic,'Critical anlge')
disp(NA,'numerical a... |
57d4c3257562b738136bf0e05044f5cb72f0d8b5 | 36e294af022143c4ad0adaf1a40183c8114cb39a | /Scripts/Run_all.sce | fb02916179d20a8e6cb00abfa3d76334b7c67215 | [] | no_license | pflynn/Spectrum_analysis | d6388a46f686912a4d4a543f18b2a49063374506 | eb31f3349fdf4f16227b25782d40937b126b297e | refs/heads/master | 2016-09-05T17:10:44.896865 | 2011-06-27T15:01:20 | 2011-06-27T15:01:20 | 1,960,672 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,456 | sce | Run_all.sce | // Run this to get the 3 graphs from raw data
// SET THE VARIABLES
// Enter the period you would like to do the analysis over
//(0ptions are Day1,Day2...Day7, or Week)
Analysis_Period = "Day4";
// The week analysis should be done first to obtain the most accurate noise floor.
// Set these for the particular band yo... |
eb426ef1e891876b3702265a0d4e1d60d8673008 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH4/EX4.17/EX4_17.sce | 9aeb0e3dbb51158d121f331731a9ed43a481304f | [] | 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 | 234 | sce | EX4_17.sce | //EXAMPLE 4-17 PG NO-237
A=8.08; //POTENTIAL
B=7.942; //POTENTIAL
VAB=A-B; //POTENTIAL DIFFERENCE
disp(' POTENTIAL DIFFERENCE is = '+string(VAB)+' V');
|
93d7b43f18147357f05296d5978884a4efb5f7de | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH2/EX2.27/P2_27.sce | 2594690512f08b8adec033b81dc11e66db1b9212 | [] | 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 | 463 | sce | P2_27.sce | //EXAMPLE 2.27, convolution of an exponential sequence
clear;
clc;
n=0:.5:5
c=0.5;
b=0.4;
clf();
figure(0);
a=gca();
a.x_location="origin";
x = c^n;
subplot(2,2,1);
plot2d3(n,x,2);
plot(n,x,'.r');
xtitle('','n','x');
h = b^n ;
subplot(2,2,2);
plot2d3(n,h,2)
plot(n,h,'.r')
xtitle('','n','h');
N=0:.5:10;
y = convol (x , ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.