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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e204ad1b0b666faa105d92c9f48b08fcb1ad1b53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH8/EX8.3/Ex8_3.sce | 53cce853f390812f36122a665bbf4ef72473fd01 | [] | 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 | 626 | sce | Ex8_3.sce | clc;
D=0.15; // Inlet eye diameter in m
N=20000; // Speed in rpm
ca1=107; // Axial velocity in m/s
T01=294; // Inlet temperature in kelvin
p01=1.03; // Inlet pressure in kg/cm^2
Cp=1.005; // specific heat at constant pressure in kJ/kg K
r=1.4; // Specific heat ratio
R=287; // Characteristic gas constant in J/kg... |
f2fb196930ff30387867b5dc04abc182efad8175 | b6ff5e342f3675087d2704199bb5a46362b5fc20 | /1GI/S2/Recherche Opérationelle/RO_initiation.sce | fd131c4433ac7150277cafb13643ed80520e9781 | [] | no_license | Ssouh/EHTP | 75f5071282a1b0ed500d5c27e73b514fefe7af61 | 96558e59e398f652ae2e8a560b9dcd4ee3e8c6a8 | refs/heads/main | 2023-03-14T11:56:46.424726 | 2021-03-04T09:49:05 | 2021-03-04T09:49:05 | 330,687,825 | 0 | 0 | null | 2021-01-24T18:02:23 | 2021-01-18T14:15:22 | null | UTF-8 | Scilab | false | false | 644 | sce | RO_initiation.sce | function [Tab]=tableau_initial(A,b,c)
[m,n]=size(A);
I=eye(n);
Tab=[A,I,b;c',zeros(1,m+1)];
endfunction
function [varS,varE,Pivot]=VarES_Pivot(Tab)
[m,n]=size(A);
[maxi,varE]=max(Tab(m,1:n));
tmp=Tab(1:m,varE);
for (i=1:m)
if (tmp(i)==0)tmp(i)=10^5;end
end
[maxi,varS]=min(Tab... |
d395dce91f3ea87accfb5d421463685ce57a1e99 | 2764ca18ed56fdd91b2ecb2c2025f496cb7685f9 | /CSCI430/GaryFowlerCSCI430Prog1/Debug/testfile2.tst | babacf3fd660c651de9630a3a73591adcf856fe7 | [] | no_license | IamGary24/CollegeCourseWork | 576c0b299124ea1c61c59266e9e15872f4f1184d | 801d78042dbe0d3af993a5eff411c39157124b6b | refs/heads/master | 2021-05-13T14:06:43.616746 | 2018-01-08T21:58:05 | 2018-01-08T21:58:05 | 116,728,205 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | tst | testfile2.tst | enqueue 1
enqueue 2
enqueue 5
enqueue 8
enqueue 7
enqueue 15
enqueue 22
enqueue 11
dequeue
dequeue
enqueue 6
enqueue 9
dequeue
dequeue
dequeue
dequeue
enqueue 19
enqueue 20
enqueue 21
enqueue 23
enqueue 24
dequeue
dequeue
enqueue 3
enqueue 4
enqueue 5
enqueue 6
enqueue 18
enqueue 17
dequeue |
03d7a74fddd8eb5a06a11573d553f710262b9e42 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /xcos_blocks/dc_in_c.sci | 787a2a52c252838dfbd863f1ecf2b6f309318043 | [] | 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 | 153 | sci | dc_in_c.sci | function block=dc_in_c(block,flag)
if flag==1 then
j = 1:block.ipar(1)
block.outptr(1)(j)=block.rpar(j);
end
endfunction
|
a3f21286758e624c7ab715ebf545ffdbeec68c5e | 13c3ed7bef4d80dabd836219bbf4396f07cb934a | /potensio_demo.sci | cb8ae16305b9993aec213366c3e59694c71376f9 | [] | no_license | Mushirahmed/scilab_workspace | 99f489a110a5e295ce9fca9991122d14840018d3 | f58b91b87bb0357fff82dcb97b05541e7e976eca | refs/heads/master | 2021-01-10T15:48:40.576771 | 2016-02-10T10:32:46 | 2016-02-10T10:32:46 | 43,348,489 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sci | potensio_demo.sci | function potensio_demo()
for x=1:10
p = cmd_analog_in(1,2);
if(p>uint16(0) & p<uint16(320))
cmd_digital_out(1,11,1);
sleep(1000);
cmd_digital_out(1,11,0);
elseif p>=uint16(320) & p<=uint16(900)
cmd_digital_out(1,10,1);
sleep(1000);
... |
bc2554facc825c052c4823ae628c9a1f09d74fec | 449d555969bfd7befe906877abab098c6e63a0e8 | /698/CH14/EX14.5/P5_Relation_of_friction_radii.sce | d735ab1bf035480ec1b97bf08835cf7d569d45fa | [] | 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,020 | sce | P5_Relation_of_friction_radii.sce | clc
//Example 14.5
//Plot ratio of friction radius to outer radius versus ratio of inside radius to outer radius [Rf/Ro vs Ri/Ro]
//Assuming outer radius=100mm and a matrix r of multiplying constants
r=[0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9]
Ro=100
n=length(r)
// Assuming uniform pressure
for i=1:n
Ri1(... |
35de416796d5509157052c8303b6fc7150ec90fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH5/EX5.7/Ch05Ex7.sce | c694131277b9aa1f67183d68b587b488fa27d277 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 505 | sce | Ch05Ex7.sce | // Scilab Code Ex5.7: Page:299 (2011)
clc;clear;
lambda = 5.0e-007;....// Wavelength of the monochromatic light, m
D = 1;....// Distance between the silts and the screen, m
d = 5e-004/2;....// Half of the distance between the two slits, m
mu = 1.5;....// Refractive index of glass
t = 1.5e-006;....// Thickness of ... |
148fce5400844f00d3b3af1cba6013d8f91ffde2 | 4014300a072f0492747983563943f01f78a1b16d | /test/unit_test/reports/tst-assume_service.tst | 9b72d45055a9e68ef0a8a4acb8c5fc051cd8698f | [
"BSD-3-Clause"
] | permissive | eyasuashenafi/ninja | e351cc90e8c815e018447750cd40fa38796f6c51 | daf739b82e48d3b60c43cf699fbb39f96d9fa27a | refs/heads/master | 2020-12-03T13:50:39.324069 | 2012-09-28T14:23:00 | 2012-09-28T14:23:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 721 | tst | tst-assume_service.tst | description = Assume service states during program downtime
logfile = assumed_states_during_program_downtime_service.log
assumed service states during program downtime #1 {
assumestatesduringnotrunning = true
start_time = 1202684400
end_time = 1202770800
service_description {
testhost;PING
}
correct {
TIME_O... |
b25a8ea1252230853370827c924a0c1a0223085f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH3/EX3.17/ex3_17.sce | b9406c7d2eeaab04196f5e875f572005c1b97a63 | [] | 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 | 375 | sce | ex3_17.sce | // Exa 3.17
format('v',7);clc;clear;close;
// Given data
Idc = 2;//dc current in mA
Idc = Idc * 10^-3;// in A
Rm = 500;//meter resistance in ohm
Erms = 10;//r.m.s value in v
Eav = 9;//average value in V
Edc = 0.9*Erms;//dc voltage in V
Rs = (Edc/Idc) - Rm;//multiplier resistance in ohm
Rs = Rs * 10^-3;// in k... |
a8615672b927d537691c99219c87f91c3f9073c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH5/EX5.6/Example5_6.sce | 566db3e3540aa1a26cd895323adf9533b7cbc53d | [] | 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 | 412 | sce | Example5_6.sce | clear;
clc;
// Example: 5.6
// Page: 153
printf("Example: 5.6 - Page: 153\n\n");
// Solution
//*****Data*****//
W = 5;// [hp]
Q = 7000;// [J/s]
Th = 400 + 273;// [K]
Tl = 24 + 273;// [K]
//*************//
W = 5*745.7;// [W]
thermal_eta = W/Q;
theoretical_eta = (Th - Tl)/Th;
if theoretical_eta... |
6798927019a331ef55a8504e3aa003ccccd087f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.48/EX3_48.sce | 2da7a497b9257e4e28d2506a07a6ab71dc05e34f | [] | 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 | 389 | sce | EX3_48.sce | //EXAMPLE 3-48 PG NO-202-203
Vao=186.7-%i*87.06;
Vco=-38.5+%i*292.48;
Vbo=-(Vao+Vco);
disp('i) VOLTAGE (Vbo) is in rectangular form = '+string (Vbo) +' V ');
Vab=Vao-Vbo;
disp('i) VOLTAGE (Vab) is in rectangular form = '+string (Vab) +' V ');
Van=201-%i*37.51;
Von=Van-Vao;
disp('i)... |
92378f212d5fcb3fb02faa81c6b6449e633fb309 | d145a801b8f64afaf9dd0330b93936ca3343cbdb | /test_suite/td-syst-sort.tst | 62da407f676df7b79e41c0c09bee05be7344be40 | [] | no_license | ChemCryst/crystals | 0fff27ff8576b7c7199e1eaa671407d50132b98e | 8087c68d7f05b903473cee1cb131c06f819dc660 | refs/heads/master | 2023-08-17T16:36:03.675124 | 2023-06-26T10:54:29 | 2023-06-26T10:54:29 | 152,602,292 | 2 | 0 | null | 2023-06-26T10:54:30 | 2018-10-11T14:09:45 | Roff | UTF-8 | Scilab | false | false | 15,943 | tst | td-syst-sort.tst | #set time slow
#rele print CROUTPUT:
#TITLE Test SYST/SORT/MERGE
# Part 1 sets the FREIDEL pairs flag to NO in SYST, thus keeping
# the pairs separate independent of what was set in LIST 13
#
# After SORTing, the reflctions are first MERGED with TWIN set to YES,
# thus only merging FOT for reflections with identical ... |
e32b6863f8787101aab7ae1dd3db2cc489c29ffe | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH6/EX6.1/ex6_1.sce | 11fa710468184f7376a36094226df236ff11ea6d | [] | 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 | 476 | sce | ex6_1.sce | clc;
warning("off");
printf("\n\n example6.1 - pg200");
// given
q=50; //[gal/min] - volumetric flow rate
d=2.067/12; //[ft] - diameter
A=0.02330; //[ft^2] - flow area
p=0.99568*62.43; //[lb/ft^3] - density of water at 86degF
mu=0.8007*6.72*10^-4; //[lb/ft*sec] - viscosity of water at 86degF
u=q/(60*7.48*... |
61ce823437c81c76d1c9a4ab6b227c2fa4a6d2f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH29/EX29.3/29_03.sce | 33081d45e882f0483ce6ac13ebcd6e95d8b55646 | [] | 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 | 528 | sce | 29_03.sce | clear
clc
CAo=6;CM=0.4;//kg/m3
V=1;//m3
k=4;
//From fig 29.5
N=sqrt(1+(CAo/CM));
kt_op=N/(N-1);
C_by_A=0.1;
t_op=kt_op/k;
v_op=V/t_op;
//The feed rate of glucose
FAo=v_op*CAo;
printf("\n The feed rate of glucose is %f",FAo)
printf("kg/hr")
//Max consumption rate of glucose is
XA=N/(N+1);
c_max=FAo*XA;
printf("\n Max co... |
01fc31d46baa6ee8eea68c084236bdd8d6aca351 | a5534b2e3bb0cc4f4248b5d31616f025c8aab230 | /showcase/resources/core-environment.properties.tst | fce9fa913ea671f68d2ea05441c8a9f57b0d7eaa | [] | no_license | yoanes/component-core | 08c8576a875edef84bcef4cfbca226f2140284e7 | f160cee562f2714a00037f9f66d70bb63d66c5b8 | refs/heads/master | 2020-05-29T19:54:25.788685 | 2012-04-02T15:30:11 | 2012-04-02T15:30:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | tst | core-environment.properties.tst | ########################################################
## ENVIRONMENT : TST
########################################################
# Enable/disable the JavaScript logger for this environment.
env.javascript.logger.enabled=false |
b85e59001e2bcc01321e853a90115007b87f61d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3705/CH5/EX5.5/Ex5_5.sce | ed515504c7f9e15b5f866d810ae636163ba54620 | [] | 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 | 678 | sce | Ex5_5.sce |
clear//
//Variable Declaration
M_max=60*10**3 //Maximum Bending Moment in kN.m
sigma_w=120*10**6 //Maximum Bending Stress allowed in Pa
M_max_2=61.52*10**3 //max bending moment computed in N.m
//Section details
mass=38.7 //Mass in kg/m
g=9.81 //Acceleration due to gravity in m/s^2
S=549*10**3 //Sectional m... |
232b3d3feafcc60aaa403db3701fe4d34252bbc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH7/EX7.4/ex_4.sce | 21c643db350e1eac06f195d9023f85d880ac7c09 | [] | 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 | 205 | sce | ex_4.sce | //Example 4 // number of beats and time interval
clc;
clear;
close;
n1=300;//Hz
n2=303;//Hz
bfs=n2-n1;//
disp(bfs,"beat frequency per second is,=")
ti=1/bfs;//second
disp(ti,"time interval is,(second)=")
|
11d5310f4d83f80db116b84b5654654a1ff0ff53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH2/EX2.3/Ex2_3.sce | 5d6d20b51906853aeefe8900f1a31885971970ca | [] | 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 | 693 | sce | Ex2_3.sce | //Fluid system - By - Shiv Kumar
//Chapter 2 - Impact of Jet
//Example 2.3
clc
clear
//Given Data:-
d=40; //Diameter of the Jet, mm
V=60; //Velocity of the Jet, m/s
AoD=125; //Angle of Deflection, degrees
//Data Used:-
rho=1000; //Density of water, kg/... |
14ab9eabd8c0b99d2ee91b840abc3f9c324f9ef4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH3/EX3.1/Ex3_1.sce | 7074d6287dac09f9bb364b4b1f7a4b14cd2547ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | Ex3_1.sce | clc
//initialization of new variables
clear
h=380 //m
T=300 //K
g=9.81 //m/s^2
R=286.6 //m2/(s^2 K)
//calculations
Pr=exp(-g*h/(R*T)) //P2/P1
P1=1 //atm
dP=(P1-Pr)*101325 //N/m^2
//result
printf('The difference in pressure is %d N/m^2',dP)
|
1a8e6cc0ab5152bb64e721978f5532c350fb8c34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.30/Ex1_30.sce | 4dccd83b3e204c1c2689085f4c4fd048decdc5ca | [] | 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 | 687 | sce | Ex1_30.sce | clc;
P=100000; // VA of transformer
nmax=0.98; // maximum efficiency of transformer
pf=0.8; // power factor at which maximum efficiency occurs
l=80; // percentage of full load at which maximum efficiency occurs
po=P*pf*(l/100); // output at maximum efficiency
pl=((1/nmax)-1)*po; // total losses
pc=pl/2; // core... |
931b58287c0afee1b0c66f30738e728904300711 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Revolving Tracking Thin.sce | 7f430fe76d55e151c23ded91a28416e4f5b9c0d0 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 121,578 | sce | Revolving Tracking Thin.sce | Name=Revolving Tracking Thin
PlayerCharacters=RT Challenger
BotCharacters=RT Static Target.bot;RT Strafing Target.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=RT Challenger
AddedBots=RT Static Target.bot;RT Static Target.bot
PlayerMaxLives=0
BotMaxLives=0;0
PlayerTeam=1
BotTeams=2;2
MapName=infinity_cir... |
33047c0153624020c0db34d1fd6e9064924ec0b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH9/EX9.12/c9_12.sce | bd0679c9ec2bc5e2d22a80fa675eae27bfe88b26 | [] | 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 | 3,249 | sce | c9_12.sce | //(9.12) Air enters a turbojet engine at 0.8 bar, 240K, and an inlet velocity of 1000 km/h (278 m/s). The pressure ratio across the compressor is 8. The turbine inlet temperature is 1200K and the pressure at the nozzle exit is 0.8 bar. The work developed by the turbine equals the compressor work input. The diffuser,... |
cb75ca030a23ef5465405b7475964c830d8e24f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH22/EX22.1/Ex22_1.sce | d0faca4ace485ac5dfc2b2ffba8eaa49f31af496 | [] | 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 | 123 | sce | Ex22_1.sce | //chpater22
//example22.1
//page491
I_DSS=12 // mA
V_GS_off=-5 // V
printf("I_D=%d*(1+V_GS/%d)^2 mA \n",I_DSS,-V_GS_off)
|
a066cbf0784c5111e0038f0c0a2b10812fe2e6fd | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/ok_ite.tst | fc266628b45a5fdca6a16ca485de3ba9a76eda11 | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 92 | tst | ok_ite.tst | ; checks ite as a formula
(set-logic QF_UF)
(declare-fun a () Bool)
(assert (ite true a a))
|
de89c9b5d5c19eca3b6694dab8ef598463958429 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH6/EX6.1/Ch06Ex1.sce | cb025ad0f6db456303df7beac4832eabd1f27432 | [] | 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,085 | sce | Ch06Ex1.sce | // Scilab code Ex6.1: Pg 202 (2008)
clc; clear;
// Comparing alternating voltage v = 35*sin(314.2*t) with the standard Eq.
// Part (a)
V_m = 35; // Maximum value of alternating voltage, volt
// Part (b)
f = poly(0, "f"); // Declare a variable for freq.
f = roots(2*%pi*f - 314.2); // Frequency of waveform, H... |
6a10f21fee40edd0c413f7b3c6db52f1240cbafd | 717ddeb7e700373742c617a95e25a2376565112c | /371/CH16/EX16.6/16_6.sci | 5161a10a0ff3e7a376f1f4d6f991bd0c956aa851 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 411 | sci | 16_6.sci | //Faults and Protection//
//Example 16.6//
V=230;//ac input voltage in volts//
Vh=30;//each selenium plate handling voltage in volts//
N=((V/Vh)1)+1;//number of plates in series in each direction in the ckt//
printf('number of plates in series in each direction=N=%f',N);
Nt=2*N;//total number of plates in series ... |
63e396a8266a4d618d144aec13f20e2bedb8923c | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH7/EX7.28/ch7_28.sci | d7cd57d0ac8e0771d3291af5e5119a7cc4066604 | [] | 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 | sci | ch7_28.sci | //to compute the generator induced emf when fully loaded in long shunt compound and short shunt compound
clc;
P=75000;
V_t=250;
I_L=P/V_t;
R_a=.04;
R_se=.004;
R_f=100;
disp('case of long shunt');
I_f=V_t/R_f;
I_a=I_L+I_f;
V_b=2;
E_aLS=V_t+I_a*(R_a+R_se)+V_b;
disp(E_aLS,'generator induced emf(V)');
dis... |
833d484d4e2f0bea572d4762f838264677e7eda2 | 69d47013b4427741d37de7faeb3e94fc141393b4 | /Lab_1_Taylor/scilab/taylorMethods.sce | 9b7a189665f94a6f2d10aa85a06a675f620c85a0 | [] | no_license | samuel-cavalcanti/Computacao-Numerica | 30f5042076b5db29482798ca7a6c63590a00a697 | 029c49f5d303f8f978c1f7b12b91778f06fb0665 | refs/heads/master | 2020-03-29T14:14:51.735781 | 2019-02-05T18:14:12 | 2019-02-05T18:14:12 | 150,007,038 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,122 | sce | taylorMethods.sce | function [y] = taylor(t0,n,t, w0, r)
h = t - t0
y = 0
for i =0:n-2
rest = modulo(i,4)
if rest == 0
dev = r(2)*(-sin(w0*t0))*w0^(i+1) + r(3)*cos(w0*t0)*w0^(i+1)
elseif rest == 1
dev = r(2)*(-cos(w0*t0))*w0^(i+1) + r(3)*(-sin(w0*t0))*w0^(i+1)
elseif... |
483d41861f4d1f3006682c06f11f2397327dc2ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH11/EX11.11/EX11_11.sce | ed15265fb9d4487e97e7618d0f0de68303e80691 | [] | 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,231 | sce | EX11_11.sce | //Example11.11 // to find the resolution and analog output voltage of 8-bit D/A converter
clc;
clear;
close;
VFS = 10 ;
N = 8 ;
BI = 10101111 ; BI = 11100011 ; BI = 00101001 ; BI = 01000110
// the resolution of 8-bit D/A converter is defined as
Resolution = VFS/(2^N-1) ;
// An analog output voltage of D/... |
658979fca61127e3954e92c792949b05dc6a0619 | d767ce938c9ad9e84d93ca5b546398697a68c98d | /yamm/pagefr.tst | e6b6a3c58c74df233cc2bb8d8c952115020fcd89 | [] | no_license | TYMCOM-X/169273.tape | bf29533d87921ea3a22eef2f1f1cc770c33d13b7 | abc68e373db6be0104efe986d23624462ef691b9 | refs/heads/master | 2023-03-30T17:14:45.498822 | 2021-03-18T00:28:29 | 2021-03-18T00:28:29 | 347,852,049 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 10,505 | tst | pagefr.tst |
+------------------------------------------------------------------------------+
| |
| |
| ... |
a8393d19e74b17e3e298f778288e44a81b655ffe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1316/CH2/EX2.4/example2_4.sce | f1b08d7a856cf9337027abc7f6b6c8a4bb219917 | [] | 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 | 305 | sce | example2_4.sce | //Chapter 2
//Example 2.4
//Page 60
clear;
clc;
R1 = 120;
R2 = 120;
R3 = 120;
R4 = 121;
V=10;
printf("Assuming detector impedance to be very high , we find the offset as \n")
//Calculation of Delta Vd
Del_Vd = V*(((R3*R2)-(R1*R4))/((R1+R3)*(R2+R4)))
printf("Delta Vd = %f V",Del_Vd)
|
b2f611662177b8fe6143e45672e107590d124135 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH3/EX3.7/EX3_7.sce | a3735a94c77d195473387b7a7f85d3fc15654e79 | [] | 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,528 | sce | EX3_7.sce | // Exa 3.7
// To calculate L50 path loss for a PCS system using Okumura and COST231 models.
clc;
clear all;
d=[1 2 3 4 5]; //in km
hb=30; //Height of BS antenna in metres
hm=2;// height of mobile antenna in matres
fc=900;//carrier frequency in MHz
W=15; //street width(m)
b=30; // distance between buildi... |
e4a3c2afeb0b967498d8ac170e8818836837f13c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH2/EX2.5/2_5.sce | 206d15307bd5af8b884b61990d2256fbfed7431e | [] | 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 | 961 | sce | 2_5.sce | clc;
clear;
//Example 2.5
printf("Example 2.5\nPage 2.23")
//Given
A=1; //let [sq m]
x1=0.23; //thickness of fir brick layer[m]
x2=0.115; // [m]
x3=0.23; //[m]
T1=1213; //Temperature of furnace [K]
T2=318; //Temperature of furnace [K]
dT=T1-T2; //[K]
k1=6.047; //W/(m.K) (fire brick)
k2=0.581;... |
89411f51511c3a4daeb2f9678df635743c060884 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH10/EX10.6/example10_6.sce | d47bb5ab4659d0829e37f5ecbb7f32929c885474 | [] | 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,345 | sce | example10_6.sce | //clc()
mcoal = 100;//kg
mC = 63;//kg
mH = 12;//kg
mO = 16;//kg
mash =9;//kg
mfixC = 39;//kg
mH2O = 10;//kg
mCvolatile = mC - mfixC;
mHH2O = mH2O *2.016/18.016;//(mass of hydrogen in moisture)
mHvolatile = mH - mHH2O;
mOH2O = mH2O - mHH2O;
mOvolatile = mO - mOH2O;
mtvolatile = mCvolatile + mHvolatile + mO... |
9a1c4c964a1bf6d41a7646c4e92d64233f55b4d6 | 1bc06fa90b5425d41347c90d0c73bb82eb4cbbfe | /utils/chargerImage.sci | ba365c4f5ce0237d36a5bb83ee60159b587e27e8 | [] | no_license | madox35/Filtre-Canny | a0a527ad6be5a1dc5984b2533008f95b1c9663ee | 3a54da9b0ce917c995ea5fbd48e0ed5c3f36748d | refs/heads/master | 2020-03-08T08:57:27.702111 | 2018-04-21T19:39:39 | 2018-04-21T19:39:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | sci | chargerImage.sci | function image = chargerImage(path, isRGB)
if(isRGB == 0) then
image = double(imread(path));
else
image = double(rgb2gray(imread(path)));
end
endfunction
|
03282b2d332da3807f2fe9fe9d4a0d48815cb173 | 1897ae5489b64fae9aa083d62f51254cfe52d26f | /III semester/numerical-algorithms/labovi/LV6/vjezba6.sce | fd852c7b556f9b35de349b4fff9242fb0722725e | [
"Unlicense",
"LicenseRef-scancode-proprietary-license"
] | permissive | MasovicHaris/etf-alles | f1bfe40cab2de06a26ceb46bdb5c47de2e6db73e | 0ab1ad83d00fafc69b38266edd875bce08c1fc9e | refs/heads/main | 2022-01-01T18:22:54.072030 | 2021-12-22T09:05:05 | 2021-12-22T09:05:05 | 138,169,714 | 9 | 15 | Unlicense | 2020-03-29T23:36:50 | 2018-06-21T12:50:51 | C++ | UTF-8 | Scilab | false | false | 1,793 | sce | vjezba6.sce | clc
mode(1)
pause
//Zadatak 1
//a)
//Plotanje i definisanje funkcija
deff('res=funct_1(x)','res=cos(x)-x');
x0 = 0;
x = linspace(-2,2,51);
y=cos(x);
plot(x,y,'r-');
plot(x,x,'b-');
pause
//Poziv fsolve
xsol =fsolve(x0,funct_1)
pause
//b)
//Plotanje i definisanje funkcija
deff('res=funct_2(x)',['res(1)=x(2)-(x(1).^2+1)... |
5fd8ac33bcf8c3c1ec1b31fcc182148b94725429 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/poly2lsf/poly2lsf1.sce | 21c8e1ed897223edcf1588f8dd813e4ab507b37e | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | poly2lsf1.sce | //check o/p when i/p is a vector
a = [1.0000 0.6149 0.9899 0.0000 0.0031 -0.0082];
lsf = poly2lsf(a);
disp(lsf);
//output
// 0.7841731
// 1.5605415
// 1.8776459
// 1.8984313
// 2.3592523
//
|
2f68a17f0a1f9b0b37550ae5794ec8b6da0f9daf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH18/EX18.2/Ex18_2.sce | 0749538a121455b5c0f8a776182279389f360055 | [] | 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 | 652 | sce | Ex18_2.sce | // Example 18_2
clc;funcprot(0);
// Given data
T=273;// K
p=0.113;// MPa
M=20.183;// kg/kg mole
N_o=6.022*10^26;// molecules/kgmole
k=1.380*10^-23;// J/(molecules.K)
// Calculation
m=M/N_o;// kg/molecule
V_rms=((3*k*T)/m)^(1/2);// m/s
r=1.3*10^-10;// The radius of the neon molecule in m
sigma=4*%pi*r^2;... |
a72b257a20c1fff364596fac07af9c2daa12e253 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH3/EX3.1/Ex3_1.sce | 256b113ca5cd764753578db6370d13dec3cc5720 | [] | 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 | 964 | sce | Ex3_1.sce | clear all; clc;
disp("Scilab Code Ex 3.1 : ")
//Given:
offset = 0.2; //%
a_x = 0.0016; //mm/mm
a_y = 345; //Mpa
//Refer to the given graph.
//Calculations:
//Modulus of Elasticity
E = a_y/(a_x*10^3); //E is the slope in GPa.
//Yield Strength:
sigma_ys = 469; //Graphically, for a strain of 0.002mm... |
098d842361eb07255e71ef71c3027dcdd58b683c | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH2/EX2.12/2_12.sce | 0d3b09bece92a47da5ab79ed2b4aff20d275fcec | [] | 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 | 972 | sce | 2_12.sce | clear;
clc;
close;
disp("Example2.12")
M1=0.7;
dpt=0.99; //pt2/pt1=dpt.
gm=1.4; //gamma
//A2=1.237A1.
a=1/1.237;
//Calculations:
M2 = poly(0, "M2");
k=(1/dpt)*(a)*(M1/(1+(0.2*(M1)^2))^3)
pol = k*(1+(0.2*(M2)^2))^3 -M2;
W=roots(pol);
//disp(W)
i=1
while i<=6
z=W(i)
if imag(z)==0 then
if real(z)<... |
e7675f850f67d75f76f0514420bcb72abfd5d9b0 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/lpc/lpc10.sce | fbb56f64bb75bc9087a5142f8b8815296550a8ef | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | lpc10.sce | //i/p arg p is not specified and hence the default of p is taken as length(x)-1
x=[1 2 3 4 6 7 89 0 9];
[a,g] = lpc(x);
disp(a);
disp(g);
//output
// column 1 to 3
//
// 1. - 0.0675779 - 0.1613922
//
// column 4 to 6
//
// - 0.0281914 - 0.0071025 - 0.0109020
//
// column 7 to 9
//
... |
2c87821fa2a2bed9b402c013ed61233725cf8477 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH6/EX6.3.e/E6_3.sce | 30c5e805f1a022b5e335df8a01773d3743236ea7 | [] | 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 | 313 | sce | E6_3.sce | clc
//Initialization of variables
xc=[0 0.20 0.40 0.60 0.80 1]
pc=[0 35 82 142 219 293]
pa=[347 270 185 102 37 0]
//calculations
plot(xc,pc)
plot(xc,pa)
xlabel('Mole fraction xc')
ylabel('Pressure /Torr')
disp('From the graph it is clear that KA=175 torr and KC=165 torr. They are plotted with Raoults law lines') |
b26978225f5b97c377b212268b9bc0442245e2f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1022/CH15/EX15.1/15_1.sce | 069ee27fe54ea54a8c842c0373169cd5a859f591 | [] | 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 | 212 | sce | 15_1.sce | clc
//initialisation of variables
P= 7 //bar
P1= 1.4 //bar
T= 260 //C
T1= 251 //C
h= 2974.9 //J/gm
//CALCULATIONS
dT= T-T1
Mj= dT/(P-P1)
//RESULTS
printf ('Joule-Thomson coefficient= %.2f C/bar ',Mj)
|
3fa7a6762479d4cdb5e3a20045d44067c7ec6678 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH13/EX13.8/13_8.sce | f06473cf778e15571e025e391201449571aa9604 | [] | 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 | 13_8.sce | clc
//Intitalisation of variables
clear
e= 5.6 //volts
l= 9.8 //cm
t= 1 //hr
T= 25 //C
A= 73.4 //ohm^-1 cm^2
F= 96500 //coloumbs
//CALCULATIONS
v= A/F
pg= e/l
v1= v*pg
L= v1*t*3600
//RESULTS
printf ('Mobility = %.2e cm/sec',v)
printf ('\n Potential gradient = %.3f volt/cm',pg)
printf ('\n Potential gra... |
a201e93c01c2d38994ebdabcb962979880309363 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH27/EX27.8/Ex27_8.sce | 430a952cba1280d9935ae096206917e1217594d1 | [] | 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 | 214 | sce | Ex27_8.sce | clear
//Given
Il=4.0 //mA
Vz=6 //V
E=10.0 //V
//Calculation
Lz=5*Il
L=Il+Lz
Rs=E-Vz
Rs1=Rs/(L*10**-3)
//Result
printf("\n The value of series resister Rs %0.0f ohm",Rs1)
|
cfdedc41cb523d5108a75f39655ea6ec014b188c | fefad5173ecf4ad969ad099f049914ffbce3f491 | /function_testing/sample_header.sci | 0b2057be1f784f435ad318d4bda9dbb5c946e0a0 | [] | no_license | manojgudi/yelp | a5335a8eb0981aaed4170d7869bd4cc0e36c08c0 | 0a12e0c9f2e045317224638b19136dac1a8f9396 | refs/heads/master | 2020-05-03T05:04:35.128422 | 2013-06-18T08:56:42 | 2013-06-18T08:56:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 50 | sci | sample_header.sci | exec abc.sce
header_var = printf("Hello World");
|
e02b9ceece3614acccbf8b0b7f430caaea804a2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH7/EX7.6/Ex7_6.sce | ac5dca5bbdbbcbdf3275c615a3efd4179011f0cf | [] | 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 | 570 | sce | Ex7_6.sce | //chapter 7
//example 7.6
//Calculate the electronic polarisability of Helium atoms
//page 189-190
clear;
clc;
//given
Er=1.0000684; // di-elecrtic constant of Helium gas at NTP
Eo=8.85E-12; // in F/m (absolute permittivity)
N=2.7E25; // number of atomsper unit volume
//calculate
// Since Er-1=(N/Eo)*alpha_e... |
b465756effd80429ff8b3a01742b724c82fe0ca5 | 04235b80bb5ac43154dbceab7b2b952b54418bc8 | /planner/irl/entropy/ftrs.sci | 6f58df227b174e5bdc5c61e7bee7b7a8fc8e7a93 | [] | no_license | NO2/dmps | 4370cfc08f2796f8776543d5282efc4a997fadad | 9266714e5ffbc9d5f6109baac2da16651ea6fd4d | refs/heads/master | 2021-03-12T21:31:05.322501 | 2015-03-11T14:43:30 | 2015-03-11T14:43:30 | 32,451,046 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 950 | sci | ftrs.sci | function y=genf(p, t, a) //p:state reached by action a at time t
y=zeros(ws,1);
//cnt=2;
//y(1)=k;
//y(1)=0;
if (p>0 & p<=gsize & t>0 & t<3*gsize) then //loadp should be executed first
if (strcmp(part(grid(t+1),p+1),"X")==0) then
y(1)=-1;
elseif (strcmp(part(grid(t+2),p+1... |
67e4c4f85f56a081b1a1867ae0e81c883d092c28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH5/EX5.2/Example5_2.sce | 5c6e9d34445fd49cec2b0da57932b3c75e87f4f1 | [] | 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 | Example5_2.sce | clear;
clc;
// Example 5.2
printf('Example 5.2\n\n');
//Page no. 110
// Solution
b_rd = 28.0 ;//[in. Hg]
p_rd = 51.0 ;//[psia]
p_atm = b_rd*14.7/29.92 ;//[psia]
p_tnk = p_atm+p_rd ;//[psia]
printf(' Pressure in tank in psia is %.1f psia\n',p_tnk); |
c7491af11bc3edc72050ae5291bc8eb5e5d0b18f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH8/EX8.3/example_8_3.sce | c1e6982e04bf8fba493f99422cfffa60fbad5c4a | [] | 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 | example_8_3.sce | clear;
clc;
disp("--------------Example 8.3---------------")
N=200; //input lines
n=20; // lines in a group
k=4; //number of crossbars in the middle stage
crossbars1=N/n; // 1st stage
crossbars2=k; // 2nd stage
crossbars3=N/n; // 3rd stage
size1a=n; // size of a crossbar in 1st stage
size1b=k;
size2=N/n; // ... |
0c216b46523fda6e7627a879fec12422168eaac8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH5/EX5.13/Ex5_13.sce | d302dc2759fc79b192634bbeb295a9f77004c9ab | [] | 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 | 608 | sce | Ex5_13.sce |
funcprot(0);
// Initialization of Variable
function[dms]=degtodms(deg)
d = int(deg)
md = abs(deg - d) * 60
m = int(md)
sd = (md - m) * 60
sd=round(sd*100)/100;
if sd==60.0 then
sd=0;
m=m+1;
end
dms=[d m sd]
endfunction
alpha1=30+45.0/60+25.0/3600;//angle i... |
9c79899ac332571091ee3a0f2f93f015ffd83667 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1046/CH4/EX4.7/4_7.sce | 0790f136daf4bc210cc4c247148994ada095e2ba | [] | 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 | 769 | sce | 4_7.sce | //Example 4.7
//calculatemthe inlet and outlet temp.of gas.
//Given
Q=38700 //kcal/h, heat duty
W=2000 //kg/h gas flow rate
cp=0.239 //kcal/kg C, specific heat of nitrogen
A=10 //m^2 ,heat exchanger area
U=70 //kcal/hm^2 C, overall heat transfer c... |
8159636a011df771bf5073677d30882a0186a1f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH1/EX1.9/Ex1_9.sce | 7023069fe5e538af2af60785ec9ffbf8f54ec3bb | [] | 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 | 874 | sce | Ex1_9.sce | clear ;
clc ;
d = 1;//diameter of the steel bar in inches
l = 12;//length of the steel bar in inches
d1 = 3/2;//external diameter in inches
d2 = 1;//internal diameter in inches
P = 5;//axial pull in tons
E_s = 30*10^6;//modulus of elasticity of steel in lb/in^2
E_b = 14*10^6;//modulus of elasticity of brass in ... |
424698374b6c167b7cf4a50eb11d304159ffef46 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Control_Systems_Engineering_I._J._Nagrath_And_M._Gopal__28.zip/Control_Systems_Engineering_I._J._Nagrath_And_M._Gopal__28/CH5/EX5.2.2/ex5_2_2.sce | b7b9ba12efa949f2e636d26fe7824149548b19be | [] | 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 | 127 | sce | ex5_2_2.sce | errcatch(-1,"stop");mode(2);// given Qi(s)=0.04/s^2
Qi=0.04/s^2;
e=limit(s*Qi*H,s,0)
disp(e,"Steady stste eror=")
exit();
|
11c6637d8c5cabfe2e36e3606449390ad92138c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH9/EX9.2/Ch09Ex2.sci | 97c5f549466f94793ff16b4585e4349e2e4e955b | [] | 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 | 614 | sci | Ch09Ex2.sci | // Scilab Code Ex9.2: De-broglie wavelength of an electron from kinetic energy : Page-203 (2010)
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
h = 6.626e-034; // Planck's constant, Js
m = 9.1e-031; // Mass of the electron, kg
Ek = 10; // Kinetic energy of electron, eV
// Ek = p^2/(2*m), solving for ... |
e0f73b8edb4d9467c27b1ee434a65dbe65647835 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH6/EX6.10/Ex6_10.sce | fde8f86792aef6de71a13a8c48cf8a2823389bd3 | [] | 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,528 | sce | Ex6_10.sce | clear ;
clc;
// Example 6.10
printf('Example 6.10\n\n');
printf('Page No. 158\n\n');
// given
//for Boiler-1
P_1 = 15;// Boiler pressure in bar
Ts_1 = 300;// Steam temperature in degree celcius
Tf_1 = 80;// Feed water temperature in degree celcius
X_1 = 0;// Steam dryness fraction
m_s1 = 9000;// steam rate... |
2f51e1417b0690f65932da5b037a69c132b71995 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.52/ex_1_52.sce | eb4bc398b166fd95e5be2d517f1caaf085bad93c | [] | 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,254 | sce | ex_1_52.sce |
//Example 1.52://ARITHEMATIC MEAN,AVERAGE DEVIATION ,STANDARD DEVIATION AND VARAIANCE
clc;
clear;
T=[197,198,199,200,201,202,203,204,205];//temperature in degree celsius
f=[2,4,10,24,36,14,5,3,2];//frequency of occurence
q=[T(1)*f(1),T(2)*f(2),T(3)*f(3),T(4)*f(4),T(5)*f(5),T(6)*f(6),T(7)*f(7),T(8)*f(8),T(9)*f(9)... |
6c2f19adf8359e521a33982a52de361f3246ac57 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/m2sci/sci_qz.sci | 4c4865ae9fabc7c1a7c74583a23dea72224a8942 | [
"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 | 506 | sci | sci_qz.sci | function [stk,txt,top]=sci_qz()
// Copyright INRIA
txt=[]
m=stk(top)(3)
if m=='?' then m=stk(top-1)(3),end
if lhs==1 then
stk=list('gschur('+stk(top-1)(1)+','+stk(top)(1)+')','0',m,m,'1')
else
s=list('gschur('+stk(top-1)(1)+','+stk(top)(1)+')','-1',m,m,'1')
if lhs==5 then
[AA, BB, Q, Z, V]=lhsvarsnames()
... |
2a054f63a85fa35ac9c132a7a7544f9d1190a530 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH5/EX5.9/Ex5_9.sce | 0f0588c2656017de333bdc5d126e97d0f0a15a6a | [] | 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 | 493 | sce | Ex5_9.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 5.9\n\n\n");
// Chapter 5 : Properties Of Liquids And Gases
// Problem 5.9 (page no. 193)
// Solution
//For the wet mixture,hx=hf+(x*hfg),solving for x gives us
//Using table 1,we have,
hx=900; //Btu/lbm //Enthalpy of wet mixture at 90F
hf=58.07; //B... |
6ba94a0414274dda60bd53c1e921cbc336e024f4 | 280a6ba512debfe9018f27b12c6777807f321b28 | /Método da Bisseção.sce | c6eb71ac27fef671793bb35b38fd5c71e348ddd2 | [] | no_license | remullo/Computational-Mathematical-Modeling-Projects-for-Scientific-Approaches | 326381bbbeb4933ccb3ad2e9455a894018130393 | f902df127645a158c9f4bdc37a59652e0e71a845 | refs/heads/master | 2023-04-12T08:08:32.288263 | 2021-07-26T22:22:06 | 2021-07-26T22:22:06 | 54,357,173 | 2 | 0 | null | 2021-07-26T22:22:07 | 2016-03-21T03:29:15 | Scilab | UTF-8 | Scilab | false | false | 809 | sce | Método da Bisseção.sce | //Bolzano method by Rêmullo Costa
function y = f(x)
y = x^3-5*x+1;
endfunction
x = 0:0.1:3;
y = f(x);
plot(x,y);
xgrid;
a = 0.1; //ponto a avaliado por visualização grafica
b = 0.3; // ponto b avaliado por visualização grafica
x = a; //chute inicial
erro = 1; //erro inicial
iter = 1;
while(erro > 10^-2) //A co... |
b8d89bedd378416780cab63d6d6435ac756af8f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH6/EX6.36/ex6_36.sce | bc64dd8f7943a4a00fac9b8027d4f27310eaf053 | [] | 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 | 627 | sce | ex6_36.sce | // Exa 6.36
format('v',7);clc;clear;close;
// Given data
C2 = 500;// capacitance in nF
C2 = C2 * 10^-9;// in F
f = 50;//frequency in Hz
omega = 2*%pi*f;// in rad/sec
C4 = 0.148;//capacitance in µF
C4 = C4 * 10^-6;// in F
R4 = 72.6;//resistance in ohm
R3 = 300;//resistance in ohm
C1 = C2*(R4/R3);// capacitanc... |
7fafcf2eeeb11115d6c29063711d7958d49b7a78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH5/EX5.5/Ex5_5.sce | 9d08fc2f7f2ee57e76f1e7f05389e22fb83aba51 | [] | 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 | 815 | sce | Ex5_5.sce |
//Variable declaration
Vcc=10 //supply voltage(V)
Vce=10
Icq=140*10**-3 //Ic at Q point(A)
Rl=8 //load resistance(ohms)
vce=16 //instantaneous collector to emitter voltage(V)
ic=235*10**-3 //instantaneous collector current(A)
/... |
352a2f89f1788990fd04497c15053848307d2f98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH4/EX4.6/Ex4_6.sce | 22896cc90f87e055b9fbd4431b887cd41b2301f8 | [] | 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 | 675 | sce | Ex4_6.sce | //===========================================================================
//chapter 4 example 6
clc;
clear all;
//Variable declaration
I1 = 10; //current in A
theta1 = 60; //deflection in °
theta2 = 40; //deflection in °
//calculations
I2 = (I1)*(theta2/(theta1)); ... |
427843900d8f03c3f6a74a10c132a24f041eb128 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3731/CH5/EX5.1/Ex5_1.sce | ebc684a99790a3b926f7a2d2bfdfdef3bcdff8d0 | [] | 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 | Ex5_1.sce | //Chapter 5:DC Motor Drives
//Example 1
clc;
//Variable Initialization
//Motor ratings
V1=200 //rated voltage in V
Ia1=10.5 //rated current in A
N1=2000 //speed in rpm
Ra=0.5 //armature resistance in ohms
Rs=400 //field resistance in ohms
V2=175 //drop in source voltage in V
//Solution
flux2=V2... |
cfeb09e17b177edc59be30d6779c13f8f208f882 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3866/CH6/EX6.5/Ex6_5.sce | 90c9353f041cec093f38fc1c19b1d818251dc31c | [] | 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 | 550 | sce | Ex6_5.sce | clc; clear; close;
disp('a) Propagation delay for step case');
disp('Imax=Cl*(dVout/dt)=(Cl*Vdd)/(2*Tphl)');
disp('Tphl=Cl*Vdd/(2*Imax)');
disp('b) Propagation delay for ramp case');
disp('Imax=Cl*(dVout/dt)');
disp('Iout*dt=Cl*dVout');
disp('Integrating both sides,');
disp('(Imax*tr/4)+Imax*(Tphl-tr/2)=Cl*... |
058de2b8de8a8ce4b83dfa54a976f6d7f6aea9bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH3/EX3.14/Ex3_14.sce | 0721cb49c71ed60ac9d1129a24e0f3414f1e8d96 | [] | 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 | 860 | sce | Ex3_14.sce | //==========================================================================================================
// chpter 3 example 14
clc;
clear;
//input data
phi = 2*10^-5; //magnetic flux in Wb/m^2
H = 2*10^3; //in A/m
A = 0.2*10^-4; //area in m^2
... |
940146c9a6c602c4e54c8c3e4338995b12581c2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH10/EX10.5/Ex10_5.sce | f0d4bcbd640f5b3d406cd15097e0d07a3701809d | [] | 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 | 514 | sce | Ex10_5.sce | clc
// initialization of variables
clear
E=200 //GPa
h=102 //mm
b=68 //mm
Ix=2.53e+06 //mm^4
L1=4 //m
ko=0.35 //N/mm^3
P=30.0 //kN
//calculations
E=E*10^3
P=P*10^3
L1=L1*10^3
k=b*ko
Beta=(k/(4*E*Ix))^(1/4)
if(L1>3*%pi/(2*Beta))
y_max=2*P*Beta/k
M_max=-0.3224*P/Beta
S_max=abs(M_max*h/(2*Ix))... |
211dd4728855502439ee45d6330cf6c26ef49a5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH4/EX4.8/ex4_8.sce | 2d5263e50e39bd28b42d49083fcd59523229155a | [] | 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 | 678 | sce | ex4_8.sce | //Chapter-4, Example 4.8, Page 136
//=============================================================================
clc
clear
//let the current peak value of sinusoidal and rectangular waves are Im.
//CALCULATIONS
Im=1;//let im current value be 1(just for calculation purposes)
rms1=sqrt(((Im)^2*%pi)/(%pi));//rms ... |
2e22718205ff4e05d85f1ec5b6b63b28c9236b81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH19/EX19.18.5/Ex19_5.sce | e525cf81a3d2d508a157afa7ec68b4985d8c2321 | [] | 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 | 621 | sce | Ex19_5.sce | clear all
clc
close
epsr=2.8;//Dielectric constant of plastic
epso=8.84*1e-12;//Permittivity of air in F/m
rho_s=25*1e-6;//Surface charge in C/m^3
a=25*1e-6;//Thickness of palstic in m
b=75*1e-6;//distance in m
//Calculation of electric stress in the foil/plastic laminate in MV/m
Ea=b*rho_s/(a*epso+b*epso*... |
de23f5c80bbd3dc780cab5b480808849b7134d67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH9/EX9.17/Ex9_17.sce | 247da0d1be7a968a6936c1de6f708f670133bfca | [] | 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 | 403 | sce | Ex9_17.sce | //chapter9
//example9.17
//page160
Vin=240 // V rms
Rl=480 // ohm
rf=1 // ohm
Vm=Vin*2^0.5
// for bridge rectifier we know that
Im=Vm/(2*rf+Rl)
Idc=2*Im/%pi
Irms=Im/2
P=Irms^2*rf
printf("mean load current = %.3f A \n",Idc)
printf("power dissipated in each diode = %.3f W \n",P)
// the accurate answ... |
8f9ca8b8af0b2c244aa983148305d173db73436b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH6/EX6.5/Ex6_5.sce | 3c4ba17b9172cf25b6be02f5a442f974d44222be | [] | 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 | 577 | sce | Ex6_5.sce | clc
//Chapter6
//Ex_5
//Given
A=10^-6 //in m2
Vo=0.856 //in V
I=5*10^-3 // in Amperes
Iso=0.176*10^-12 //in Amperes
e=1.6*10^-19 // in coulombs
Eo=8.85*10^-12 //in m-3 kg-1 s4 A2
Er=11.9
Th=417*10^-9 //in seconds
Nd=10^22 //in m^-3
//let K=kT/e
K=0.0259 //in V
//Vo=(k*T/e)*log(I/Iso)
V=(K)*log(I/Iso)
... |
9998077c7eec934efd3b40e99da46d8b17e0468f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH4/EX4.24/Ex4_24.sce | 2128bde0e562b5139ea9032a46a6fbea52e41d98 | [] | 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 | 210 | sce | Ex4_24.sce |
// Ex4_24
clc;
// Given:
a1=6520;// c/min
a2=4820;//c/min
t=2;//min
// Solution:
k=log(a1/a2)/t;
t1=0.693/k;// half life
printf("The decay constant is %f min^-1 and the half life is %f min",k,t1)
|
fb6a8c13a6f5c5de2997e422f4b52ff87e552ede | 449d555969bfd7befe906877abab098c6e63a0e8 | /63/CH4/EX4.1/Exa4_1.sci | f280b509f9e4b840de7918ae9fdc91855f081469 | [] | 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 | 469 | sci | Exa4_1.sci | //Calculate percentage power savings when carrier and one of the sidebands are suppressed in a AM wave modulated to a depth of (a) 100% (b) 50%
Pc = 10;
m1 = 1;
m2 = .5;
Pt1 = Pc*(1+(m1^2/2));
Psb1 = Pc*(m1^2/4);
s1 = (Pt1 - Psb1)/Pt1;
s1a = s1 * 100;
Pt2 = Pc*(1+(m2^2/2));
Psb2 = Pc*(m2^2/4);
s2 = (P... |
d2c1e20576ff6bb638e64aa29dd2c98ec274f023 | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH5/EX5.5/Example_5_5.sce | aeceb11edb923409218e0d13be87606b9204df99 | [] | 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 | 252 | sce | Example_5_5.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 5
//Some Applications of the Laws of Thermodynamics
//Example 5
clear;
clc;
//Given:
//The given problem is theoretical and does not involve any numerical computation
//end |
3dfbe3c80bbe75cc10a38f5eb356f69c113ca655 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH6/EX6.10/Ex6_10.sce | b13f654d8956fa5a6ec713b7be65b011553f08a3 | [] | 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 | Ex6_10.sce | clc
k=8.617*10**-5//eV/K
e=1.6*10**-19 //C
Dp=10//cm^2/sec
Lp=31.6*10**-4 //m
g1taup0=10^14 //cm^-3
deltap0=10^13 //cm6-3
//deltap0=g1taup0*[g/((Dp/Lp)+s)]
s=(Dp/Lp)*((g1taup0/deltap0)-1)
disp(s,"surface recombination velocity in cm per sec is= ")
|
f727e153d76e8956f26456e0e21d5757ae2fd2aa | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PP2.prev.tst | a8108ea93a09f08f60afc78911c6676b8634565e | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | tst | PP2.prev.tst | - 10*w3v4*x^3 - 5*w3v4*y^4 - 10*z - z^2 - 25
; vgcd=1; gcd=1; isZero=false; hasVariable=true; isBiased=true; mergeVariables= - 10*x_y_z - x_y_z^2 - 10*x_y_z^4 - 5*x_y_z^5 - 25; relation=EQ_0
; evaluate=failure biased
/01;10 -> - 10*z
/02;1 -> - z^2
/03/01;10 -> - 10*w3v4*x^3
/04/01;5 -> - 5*w3v4*y^4
;25 -> ... |
11b030863a2702b3542c20274ffe556e1e771c9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH2/EX2.8/example2_8.sce | 4a1914f297531f7160e8e8c079d364030ad6d4d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | example2_8.sce | //Chapter 2
//Example 2_8
//Page 23
clear;clc;
h=100;
n_hydraulic=0.86;
n_electrical=0.92;
n_overall=n_hydraulic*n_electrical;
w=9.81*1e3;
printf("Weight of water available = %.1f N \n\n", w);
power=w*h*n_overall;
printf("Power produced = %.1f kW \n\n", power/1000);
printf("Energy produced per hour = ... |
8307264b8fb68d25a3abfd7a67992e31bbf8fd3c | e7055fdf94e8a24293cab7ccbeac12039d6fe512 | /macros/trainKNNClassifier.sci | e0309dc8d5c9a5fd51ef2809d2ac7618e7cb7a37 | [] | no_license | sidn77/FOSSEE-Image-Processing-Toolbox | 6c6b8b860f637362a73d28dcfe13e87d18af3e2c | 8dfbdbdfd38c73dc8a02d1a25678c4a6a724fe18 | refs/heads/master | 2020-12-02T16:26:06.431376 | 2017-11-08T17:54:03 | 2017-11-08T17:54:03 | 96,552,565 | 0 | 0 | null | 2017-07-07T15:37:18 | 2017-07-07T15:37:18 | null | UTF-8 | Scilab | false | false | 2,417 | sci | trainKNNClassifier.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_... |
f0e04840c0accb28da15fb09af2c1352d8669747 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH2/EX2.12/2_12.sce | 408ba1081279dc131444e78b8e70183f1a95a382 | [] | 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 | 2_12.sce | //Chapter 2, Problem 12
clc;
I=5; //Current in ampere
R=100; //Resistance in ohms
V=I*R; //Calculating voltage using Ohms law
P=V*I; //Calculating power in watt
printf("Potential difference across winding = %d V\n\n\n",V);
printf("Power dis... |
2d878d74d2578959d744d576c7d9c2ff632c3ac0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3866/CH6/EX6.11/Ex6_11.sce | 47f51a5cd581ca67cac119ef0644a9608a8e5625 | [] | 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 | 721 | sce | Ex6_11.sce | clc; clear; close;
LEnand=4/3;
LEinv=1;
LEnor=5/3;
Cload=200;//in fF
Cin=2;//in fF
Pnand=1;
Pinv=1/2;
Pnor=3/2;
Tinv=7.5;//in picoseconds
path_effort=LEnand*LEinv*LEnor*Cload/Cin;
disp(path_effort,'Total path effort=');
Stage_effort=round(path_effort^(1/3));
disp(Stage_effort,'Stage effort=');
D=3*Stage... |
d83c9b9d67427c789e2c5e5123665826e3728092 | 15d3702a1f4402ab16e6b4cfc725ff7e996843ef | /predictions/linzen/wsj-10-noswap/parses.tst | 054efd83ac8d4210ed5ff03aeac717e75bb03b10 | [] | no_license | viking-sudo-rm/industrial-stacknns | 2ecb36a6c5da2e295b91f854dc96d6bc4c2e4b6a | f08da2dcc27f2688eb99e10934ad89e41b879de8 | refs/heads/master | 2020-04-26T03:36:50.038626 | 2019-12-26T16:51:52 | 2019-12-26T16:51:52 | 173,272,681 | 14 | 3 | null | 2019-04-13T19:51:25 | 2019-03-01T09:22:01 | Jupyter Notebook | UTF-8 | Scilab | false | false | 771,643 | tst | parses.tst | (X (X (X (X a) (X (X Lorillard) (X spokewoman))) (X said)) (X (X ,) (X (X (X ``) (X (X This) (X (X is) (X (X an) (X old))))) (X (X story) (X .)))))
(X (X (X (X there) (X is)) (X (X no) (X (X (X (X asbestos) (X (X in) (X our))) (X products)) (X (X now) (X .))))) (X ''))
(X (X (X (X it) (X has)) (X no)) (X (X bearing) (X... |
f70900deedc42942d16a715e4a55bdacb2c1de0e | 786b8b062cc8e4ad6a2a39294d02777c4ec4cb78 | /FreeEDA/LPCSim/LUT/ids.sce | ab50b51d7d5a84775b0ceaf433163bd3d5cf66d3 | [] | no_license | FOSSEE/FreeEDA | fc379b9927e63f0b29e66f69284beddff07d43c8 | 0c9f3b3885338be0420773ac2007d8ac54aa7412 | refs/heads/master | 2021-01-18T15:16:58.922680 | 2014-12-09T10:59:41 | 2014-12-09T10:59:41 | 23,788,370 | 6 | 3 | null | 2014-09-26T09:05:17 | 2014-09-08T11:29:52 | Python | UTF-8 | Scilab | false | false | 300 | sce | ids.sce | // Wrapper function for calling C language routine ids_c from SciLab
function Id = ids(Vds, Vgs, Vbs)
l=link("/NFS1/yogesh/project/MNA/LUT/libids.so", "ids_c", "c")
Id=0.0;
sizeId=size(Id);
Id=fort("ids_c",Vds, 1,"d",Vgs, 2, "d", Vbs, 3, "d", Id, 4, "d", "out",sizeId, 4, "d");
ulink(l);
endfunction
|
084d107763554a37bd66794fbf6db11e1fb4bf37 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Linear_Integrated_Circuits_J._B._Gupta_1850.zip/Linear_Integrated_Circuits_J._B._Gupta_1850/CH7/EX7.6/exa_7_6.sce | 4f8fb4b75ca84122e8b584a737b8591ee53d3452 | [] | 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 | 240 | sce | exa_7_6.sce | errcatch(-1,"stop");mode(2);// Exa 7.6
;
;
//given data
R= 10;// in kohm
R=R*10^3;// in ohm
C= 100;// in pF
C=C*10^-12;// in F
f=1/(2*%pi*R*C);// in Hz
disp(f*10^-3,"Frequency of the oscillation of the circuit in kHz")
exit();
|
0dbd5d76c94831832425918e54ac6564e437c509 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH2/EX2.9/ch2_9.sci | 1a1df4d389007f79d15df92a25f9ae121e5c49c7 | [] | 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 | 385 | sci | ch2_9.sci | // calculation of hysterisis and eddy current losses
clc;
P1=1500;
f1=50;
P2=3000;
f2=75;
A=[1 50;1 75]; //P/f=A+B*f
B=[30;40];
v=A\B;
disp('at 50Hz');
P_h=v(1)*f1;disp(P_h,'hysterisis loss(W)');
P_e=v(2)*f1^2;disp(P_e,'eddy current loss(W)');
disp('at 75Hz');
P_h=v(1)*f2;disp(P_h,'hysteri... |
f186b94744ed84001aade1c321a0f498d6ca9808 | 2e28c1eca20462ac36a801377364cf7f28454a07 | /ext/htslib/test/tabix/tabix.tst | f97403792a0f2209675dc7d170c44b83a922d85b | [
"BSD-2-Clause",
"BSD-3-Clause",
"MIT"
] | permissive | pachterlab/kallisto | 0fbe2a0058eca81d07cb968d6af6c662b9bea48b | ff32921dbeb4f9853984a88c1c7534562e256d7a | refs/heads/master | 2023-09-01T13:00:40.473948 | 2023-07-02T01:41:55 | 2023-07-02T01:41:55 | 26,562,905 | 605 | 207 | BSD-2-Clause | 2023-08-27T09:13:53 | 2014-11-13T00:27:48 | C | UTF-8 | Scilab | false | false | 2,872 | tst | tabix.tst | # Copyright (C) 2017 Genome Research Ltd.
#
# Author: Robert Davies <rmd@sanger.ac.uk>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitatio... |
cd7f7d2510000da26d7505deab36d4c61075c244 | a1f93c5ed7f19ec2dc6e698a305960c7eaacb3fd | /Practica4.1/Ejercicio2.sci | 2434af34f6c97b9e96747cf67637dac7fadd2939 | [] | no_license | hectoregm/numerico | 813c74b87c976c2af4fe83adf59561a80141ea2f | ca0e16875746ad9d9c17da7ce0635669fc2410ed | refs/heads/master | 2021-01-21T07:53:31.701526 | 2014-12-02T04:42:40 | 2014-12-02T04:42:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,165 | sci | Ejercicio2.sci | function [val, numiter] = puntofijo(p0, tol, iter)
// Funcion que encuentra el punto fijo de una funcion g(x) = 1 + 0.5*sin(x)
// Autor: Hector Gomez, Jorge Zavaleta
//*****************************************************************************
// ->Entrada
// p0 (Real) - Numero real que denota el punto inicial de bu... |
7b1b562f5ec199362622db269f3b9d6b1a2cbe08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH5/EX5.5.53/Ch5_5_53.sce | fe93c2c6a14792b712780f27c96d8fe29e67a111 | [] | 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 | 367 | sce | Ch5_5_53.sce | clc
disp("Example 5.53")
printf("\n")
disp("Design the value of L1,L2 & C for a hartley oscillator")
printf("Given\n")
//frequency of oscillation
f=30*10^3
//then value of LC
LC=1/(4*(%pi)^2*f^2)
//select c as
C=0.1*10^-6
//Total inductance
L=LC/C
//let L1=L2
L1=L/2
L2=L1
printf("The values of L1=\t%f h... |
9a2e2a9333999393ddb2008d398cfa0b50be4ecf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH4/EX4.8/Example4_8.sce | e8b2285616a6ad5914655ea46f311348333de5c3 | [] | 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 | 394 | sce | Example4_8.sce | //Example 4.8
clc;
clear;
close;
format('v',9);
//Given data :
S1=0.9;//sp. gravity
S2=13.6;//sp. gravity
h1=12.5/100;//m
P_AB=h1*(S2-S1);//meter of water
disp("Difference in pressure head at the points A & B is "+string(P_AB)+" meter of water");
w=1000;//kg/m^3
P_diff=P_AB*w*9.81;//Pa or Nm^2
disp(P_diff,... |
5eca88583254072ca22b26fab50e89c8e685da7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH18/EX18.24/18_24.sce | ebaa7a33fdd95c792d9213a8c3edeae68de146f9 | [] | 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 | 329 | sce | 18_24.sce | //ques-18.24
//Finding vapour pressure of benzene at 300 K
clc
Hv=7413;//latent heat of vapourization (in cal/mol)
T1=273+80; T2=273+27;//temperature (in K)
P1=760;//mm Hg
R=1.987;//cal/mol/K
//On solving, log(P2/P1) = (Hv*(T2-T1))/(2.303*R*T1*T2)
P2=P1/6.467;
printf("The required vapour pressure is %.2f mm Hg... |
8fca58f657110478103aaf279ec88257aabeae3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.38/2_38.sci | c27ae6688e61dc9197d6c1bbb12c57ce6e087e72 | [] | 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 | sci | 2_38.sci | // 2.38
clc;
b=0.02;
t=0.004;
I=(1/12)*b*t^3;
F=25;
l=0.25;
E=200*10^9;
x=(F*l^3)/(3*E*I);
printf("deflection=%.2f m",x)
DpF=x/F;
Se=DpF*0.5*1000;
Re=(10/1000)*(2/10);
F_min=Re/Se;
F_max=10/Se;
printf("\nminimum force=%.2f N",F_min)
printf("\nmaximum force=%.2f N",F_max)
|
ff276097604473d569e6a6932a553cb22704f0e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH8/EX8.1/8_1.sce | 56ec7aebd2763a7c6b074b4cefef29cdafc29821 | [] | 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 | 247 | sce | 8_1.sce | clc
//initialisation of variables
clear
k1= 6.2
k2= 1.33*10^-3
k3= 6.78*10^4
T1= 800 //C
T2= 300 //C
//CALCULATIONS
dS= k1*log(T1/T2)+k2*(T1-T2)-0.5*k3*(T1^-2-T2^-2)
//RESULTS
printf ('Entropy increase = %.2f cal deg^-1 g atom^-1',dS)
|
4f768613bc9f05d90b8c8fc268f6f9f8578b7041 | ab5ea127e50a95f36b0e30edcbc79a2952c91858 | /newtonraphson.sci | 4c076940fe8848d151c157e2059eb89f5603212d | [] | no_license | igoride/Calculo_Numerico | 165580305214ac34f3fe1e00eb53eca1a6588afa | 9d43be899d7ae44adc08f48dbfc76fed10e09e93 | refs/heads/main | 2023-06-02T05:30:04.542633 | 2021-06-21T16:18:57 | 2021-06-21T16:18:57 | 378,991,891 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,019 | sci | newtonraphson.sci | function[f] = f1(x)
f = cos(3.14*(x+1)/8)+0.148*x-0.9062
endfunction
function[f] = f2(x)
g = sin(0.3925*(x+1))+0.5405
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)=... |
294e864949302bc22343568f80c1aaf2d60888ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2210/CH3/EX3.10/3_10.sce | 20ba491185c305cb9d44c56aa8c22defa582e772 | [] | 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 | 283 | sce | 3_10.sce | //Chapter 3, Problem 10
clc
Zlo=0.2 //ratio of Zl/Zo impedance in ohm
Zo=50 //output impedance in ohm
//calculation of characteristic impedance
Z0t=Zo*sqrt(Zlo)
printf("Characteristic impedance, Z0t = %d ohm",Z0t)
|
1e97ea868a8aedacb3ec2640516fc7b778f51d6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH2/EX2.3/Ex2_3.sce | a531810ae7a16993eee94ce775568b803b3c2be8 | [] | 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 | 409 | sce | Ex2_3.sce | clear
//
//
//
//Variable declaration
lamda=5890*10**-5 //wavelength(cm)
dlamda=6*10**-5 //difference in wavelength(cm)
k=2 //order
w=2.5 //width(cm)
//Calculation
N=lamda/(k*dlamda*w) //minimum number of lines per cm
//Result
printf("\n minimum number of lines per c... |
02d53d22a980a8d054ecdbbaa05c48a837678837 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH8/EX8.2/EX_8_2.sce | e2d118c5b1e9b80f90ed1e6ce63790f44d648317 | [] | 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 | 344 | sce | EX_8_2.sce | //Example 8.2 //POWER GAIN AND RESULTANTT POWER GAIN
clc;
clear;
g1=30;//ABSOLUTE GAIN FOR EACH STAGE
N=5;// no. of stages
Pdb=10*(log10(g1));//power gain in db
Ndb= Pdb*N;//power gai of 5 stages in db
Nfb=10;//NEGATIVE FEEDBACK IN DB
Rpg=Ndb-Nfb;//RESULTANT POWER GAIN IN db
disp(Ndb,"power gain in db")
disp(Rpg,"resul... |
dc54c352a2c1e1001df9e64055b24e2cc49f1441 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH18/EX18.17w/18_17w.sce | cb8963a7a8c12d58d593c01550d76a063e85ebc6 | [] | 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 | 661 | sce | 18_17w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 18.17w
//calculation of apparent depth of a air bubble inside a glass sphere
//given data
u=-4; //object distance (in cm)
R=-10; //radius of curvature of the spherical glass sphere(in cm)
mu1=1.5; //refractive index ... |
47cb028ab2dfa824ab763474b8524cf12c022f49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH11/EX11.1/Ex11_1.sce | 3ac65fe8ab7a6211a5ab5a44a3f158cd3bccbfc0 | [] | 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 | Ex11_1.sce |
//
//
retiftoi=100
fplusd=0.15
s1=2.450-1.150
thetha1=5+(20/60)
v1=(100*1300*sin(10+(40/60))/2)+(0.15*sin(5+(20/60)))
s2=1.5
thetha2=8+(12/60)
V2=21.197
d2=147.097
RL=750.500+1.8+12.045
RLD=RL+V2-1.5
printf("\n RL of instrument axis= %0.3f m",RL)
printf("\n RL of D= %0.3f m", RLD)
prin... |
e66e64ef4f7a9010e4a2ff0f5eaadfc125e8bb09 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/poly2ac.sci | 8b74b5c8c7473c6e223a940fc0e5aa4a081083b9 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,329 | sci | poly2ac.sci | function r = poly2ac(a,efinal)
// Convert prediction polynomial to autocorrelation sequence.
//Run rlevinson.sci before running this
// Calling Sequence
// R = poly2ac(a,efinal)
//
// Parameters
// a: input prediction polynomial with 1st element 1 (if not, poly2ac normalizes it to 1 before proceeding).
// efinal: inpu... |
039e4c703f3ac2b7af1ccf6ff2f9af166b46d3aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH18/EX18.2.2/18_2_2.sce | 8bb8d7a4e65a7446bc017abe3e47bd060020ff1c | [] | 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 | 600 | sce | 18_2_2.sce | clc;
// page no 676
// prob no 18_2_2
//A drum scanner in eg.18.2.1 with pitch=0.26mm/line & diameter=68.4mm & drum rotate at 120rpm & scans lines=1075
D=68.4;P=0.26;rpm=120;n=1075;
//Determination of no. of pixels scan
Npx=(%pi)*(D/P);
disp('pixels/line',Npx,'The no. of pixels in scan line is');
//Determinatio... |
e97cd5d2fa626302cf8357656262133f2ba3fecf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH2/EX2.13/Ex2_13.sce | 8eee883b60e577f8d8a4baca4d0bfc2a56ef5067 | [] | 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,000 | sce | Ex2_13.sce | // chapter 2 example 13
//------------------------------------------------------------------------------
clc;
clear;
// given data
// E = 20π e^j(wt - βz)ax
// H = Hm e^j(wt + βz)ay
lamda = 1.8; // wavelength in m
c = 3*10^8; // vel. in m/s
er = 49; // relative permitivity
ur = 1;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.