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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a5a8377dfdfdd47f25af8f9b3c25a215da22a98a | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/ThEn/then.8.tst | 8d017d66f0b8b6b3ffd69331afbc8f3a4a99b19f | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 118,632 | tst | then.8.tst | ก ร อ g r a w
ก ร อ ย ล ิ ก g r e u l i c h
ก ร ั ง ด ์ ป ร ี g r a n d p r i x
ก ร ั น ด ี ้ g r u n d y
ก ร า ฟ ฟ ิ น g r a f f i n
ก ร า ฟ ิ ก แ ก ร น ิ ต g r a p h i c g r a n i t e
ก ร ิ ก ส ์ g r i g g s
ก ร ิ น เ ด ิ ล g r i n d l e
ก ร ิ ม g r i m
ก ร ิ ม ช อ g r i m s h a w
ก ร ิ ม ส บ ี ้ g r i m s b y
ก ... |
1c612fd1fbdc2dc7911630289c467f2789a5fbee | 449d555969bfd7befe906877abab098c6e63a0e8 | /413/CH2/EX2.2/Example_2_2.sce | 81e79161395bbb7c647508c29ceecbaf41646c03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 134 | sce | Example_2_2.sce | //Inverse of A Matrix
clearglobal()
clc;
A=[1 -1 2;3 0 1;1 0 2]
printf('Matrix is')
disp(A)
printf('Inverse is')
disp (inv(A)) |
1730cb99f9417d04a5eea6bc37ac122ffdefaf01 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.17_9.tst | 793be2e0677eea294991b18d71f90d3a4c2b3e82 | [] | 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 | 26,677 | tst | bow.17_9.tst | 17 37:0.125 306:0.5 388:1.0 1084:0.5 1686:0.3333333333333333 1871:1.0 4134:0.5 4145:0.5 4229:1.0 4351:1.0 4918:1.0 4955:0.5 5147:1.0 6123:1.0 6394:1.0 7103:1.0 8335:1.0 8488:1.0
17 2:0.05405405405405406 12:1.0 24:1.0 29:0.16666666666666666 31:0.2222222222222222 57:0.125 94:1.0 150:1.0 246:0.2 273:0.14285714285714285 30... |
bf3652ccd9b5cd170d5e20f817e7f5ed07add022 | 881e0bcc7118244a24f736786ac36140acfb885e | /yeast/results/GAssist-ADI-C.yeast-1/result6s0.tst | 3427e21b03f1681911c729d92ae77e1e47aae5c5 | [] | no_license | woshahua/Experiment_File | 3e34e5a4a622d6d260fbdf8d5ef2711712aad9bc | 6a139cd3f779373799cb926ba90d978235b0de0d | refs/heads/master | 2021-01-01T06:57:13.285197 | 2017-07-28T08:17:38 | 2017-07-28T08:17:38 | 97,557,409 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,585 | tst | result6s0.tst | @relation yeast-1
@attribute Mcg real [0.11, 1.0]
@attribute Gvh real [0.13, 1.0]
@attribute Alm real [0.21, 1.0]
@attribute Mit real [0.0, 1.0]
@attribute Erl real [0.5, 1.0]
@attribute Pox real [0.0, 0.83]
@attribute Vac real [0.0, 0.73]
@attribute Nuc real [0.0, 1.0]
@attribute Class {MIT, NUC, CYT, ME1, ME2, ME3, E... |
554a62bb65db26a523d1653bba8c6d836066020b | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH4/EX4.6/Example4_6.sce | 11dbbb0eaf69cb634fe67618b14c703fcf97c2bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 658 | sce | Example4_6.sce | clear;
clc;
// Example: 4.6
// Page: 124
printf("Example: 4.6 - Page: 124\n\n");
// Solution
//*****Data*****//
// HC : Heat of Combustion
HC_NH3 = -90.6;// [kcal]
HC_H2 = -68.3;// [kcal]
//*************//
// Heat of combustion of NH3:
// 2NH3 + 3O = N2 + 3H2O ............................ (A)
// ... |
4e0e31beb83e1852b031bbd485e7efeea0853f35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH18/EX18.2/ex18_2.sce | c7a4a950f9f2fa9a52f64c4524303847fb6b83ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 453 | sce | ex18_2.sce | //Exam:18.2
clc;
clear;
close;
E_f=69;//modulus of elasticity in GPa
V_f=40/100;//Volume of glass fibres %
E_m=3.4;//modulus (in GPa)
V_m=60/100;//Volume of polyester resin %
E_cl=E_m*E_f/(E_m*V_f+E_f*V_m);//modulus of elasticity when the stress is applied perpendicular to the direction of the fibre alignment(i... |
4b44caed63998c27bb4c7fa3aa0693f03b685715 | 07b24003442d27bad5942901ac61406505e95f60 | /AP187_act7_nonparamseg.sce | 0add9f817a5a1d45d64df8e88a7e884f62db94e4 | [] | no_license | jbadelino/Applied-Physics-186-Activity-7 | 3b957ca1470215faa7a8694bb4b78084b584080e | e81d4af1d5dfad95a4c32753de4c63d29cfda6bf | refs/heads/master | 2020-08-08T13:07:08.149399 | 2019-10-09T06:24:46 | 2019-10-09T06:24:46 | 213,837,511 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,402 | sce | AP187_act7_nonparamseg.sce | stacksize("max");
img = double(imread('C:\Users\Asus\Documents\Applied Physics 186\act 7\cancer.jpg'));
R = img(:,:,1);
G = img(:,:,2);
B = img(:,:,3);
//chromaticity coordinates
I = R+G+B;
I(find(I==0))=100000;
r = R./I; //red NCC
g = G./I;//green NCC
b = B./I; //blue NCC
//ROI
ROI = double(imread('C:... |
c34aa87bbdded5049ad2c50dff8106238983ebd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH10/EX10.3.4/Ch10Ex7.sci | cdb7f9be23439f6dd2f6babbcd242aa1283dadd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 690 | sci | Ch10Ex7.sci | // Scilab Code Ex10.3.4 Binding energy per nucleon of Ni-64: Pg: 220 (2008)
amu = 931; // Mass of a nucleon, MeV
MH = 1.007825; // Mass of hydrogen, amu
Me = 0.000550; // Mass of electron, amu
Mp = MH-Me; // Mass of proton, amu
Mn = 1.008665; // Mass of neutron, amu
m_Ni = 63.9280; // Mass of Ni... |
6c1444193b6d3ed858cef34cb581f32814086f4d | 48a400042c41feb1b305da0aff3b8a2ad535bdc1 | /clang/test/RC99/encoding/utils/goya2.tst | d7bf9da0fc2e48b69ae9634164348467884f08c9 | [
"Apache-2.0",
"LLVM-exception",
"NCSA"
] | permissive | Daasin/tpc_llvm | d9942f0a031213ba5f23e2053d04c3649aa67b03 | ece488f96ae81dd9790f07438a949407dc87ef66 | refs/heads/main | 2023-07-29T16:10:36.488513 | 2021-08-23T10:38:48 | 2021-09-10T05:48:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 81 | tst | goya2.tst |
// RUN: diff %tenc1.txt %tenc2.txt
// RUN: echo $? | FileCheck %s
// CHECK: 0
|
f018cab57627edd84268400f1f555104fc552e4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH14/EX14.13/example14_13.sce | 8ca942520e1091b404fb07404468769aa3e664cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,974 | sce | example14_13.sce | clear;
clc;
//Example14.13[Heat Loss from Uncovered Hot Water Baths]
//Given:-
Ts=50+273;//Uniform temperature of water[K]
T_surr=20+273;//Average temperature of surrounding surfaces[K]
T_inf=25+273;//Ambient temperature[K]
As=3.5*1;//Surface area of water bath[m^2]
p=2*(3.5+1);//Perimeter of top surface of w... |
746df26d2298292fe8ddbf929118b109d365b78e | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/db.sci | 7b5f043522ddbc57c11c61c7a8ce646e1c7d33de | [] | 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 | 5,266 | sci | db.sci | function [dboutput] = db(X, SignalType, R)
//dboutput = db(X) converts the elements of the vector or matrix X to decibels (dB). The elements of X are voltage measurements across a resistance of 1 ohm.
//dboutput = db(X,SignalType) specifies the signal type represented by the elements of X as 'voltage' or 'power'. The... |
ec80f48fec797cf07059870efa390be64af65c6e | 0a4a624c2aa1241962ca0adf212284d4fbf653ec | /3rd/3.sce | bf39b35cad1f293c9b2c37452354b31001bbd79b | [] | no_license | zy414563492/Advanced-Course-in-Computational-Algorithms | 719a469c4b4f0aede9d89378408672d9ac712df5 | d6f5a089883b415ecd93b18bee81aac9bec69577 | refs/heads/master | 2020-08-29T07:13:39.251114 | 2019-12-17T16:11:40 | 2019-12-17T16:11:40 | 217,963,283 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 722 | sce | 3.sce | clear
funcprot(0)
//A_ori = [165 158 153 174 171 157 177 163 164 172; 67 56 48 68 62 49 79 56 58 70]'
A_ori = strtod(read_csv('./femail_middel.csv')(2:37, 2:3))
A = A_ori
m1 = mean(A(:, 1))
m2 = mean(A(:, 2))
A(:, 1) = A(:, 1) - m1
A(:, 2) = A(:, 2) - m2
C = A' * A
v = rand(2, 1)
// Power method
for k = 1:20
w =... |
9eaa04cc201597c4d17e6eb45a1b0e249c96b208 | 0cb85cd0c88a9b9f0cca4472742c2bf9febef2d8 | /klava/kernel/ntreelib/tests/open1.tst | 6d9f0e4d773d00a65b65ecaad1b4032bb333d6c6 | [] | no_license | seth1002/antivirus-1 | 9dfbadc68e16e51f141ac8b3bb283c1d25792572 | 3752a3b20e1a8390f0889f6192ee6b851e99e8a4 | refs/heads/master | 2020-07-15T00:30:19.131934 | 2016-07-21T13:59:11 | 2016-07-21T13:59:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | tst | open1.tst |
create bar.td
trace on
add 0x1111 "'foo bar baz qux quux'"
print
commit
dumpb
close
open bar.td
trace on
add 0x2222 "'foo bar abcd efgh'"
print
dumpb
commit
dumpb
close
open bar.td
dumpb
|
5d9834af2d976cc080e80af4c27721988d7d3c5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH3/EX3.3/Ex3_3.sce | 8ec75485c4c7bbd68f45e1cc074e795a0c451f88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 642 | sce | Ex3_3.sce | // Example 3.3
clear all;
clc;
// Given data
// Using the data given in the example 3.1
N = 0.08*10^(24); // Atom density of Carbon-12 in atoms/cm^3
// 1 barn = 10^(-24) cm^2
sigma = 2.6*10^(-24); // Cross section of carbon-12 in cm^2
I = 5*10^8; // Inte... |
65f4760b9bf0346cc8572b25ca03306627bda776 | 127061b879bebda7ce03f6910c80d0702ad1a713 | /bin/PIL_plb_esc_cal.sci | a06b0d4313931667abe009ea759328f806a829d3 | [] | 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 | 1,614 | sci | PIL_plb_esc_cal.sci | // **** Purpose ****
// This code is to help calculate PiLab_kif_esc in parallel way.
// **** Variables ****
// [Ek],[Vk]: data readed from /kif/Ek/Ek_x.sod, /kif/Vk/Vk_x.sod.
// [EVal],[EWin],[StateProj]: kif_esc input data
// [k_idx_start]: the start index of Ek and vk
// **** Version ****
// 05/18/2016 first built
... |
3d116e24fbf8ed11569c410ac593c41466d1dce2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH5/EX5.1/example5_1.sce | 24ea29eed7c63ff9ffa5657ddab0426894acd909 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,387 | sce | example5_1.sce |
clear;
clc;
printf("\t Example 5.1\n");
//dry bulb temperature=50 and wet bulb temperature=35
Tg=50; //dry bulb temperature=50
To=0; //refrence temperature in degree celcius
Mb=28.84; //average molecular weight of air
Ma=18; ... |
8eb37f8db6e32da60f9a108ebcf539c463401704 | 924e8f6b2e21c7315732816d0e6efd993c80aa43 | /tests/lcons/expected | a0865341589a10fe91885ff4b82bab49a8ed5759 | [] | no_license | pedrotst/coquedille | ed69cfa2a5eb4b8f3812668fab747fee728d65d5 | eb4ebcf1547310dd2594d76c3355494629e206c9 | refs/heads/master | 2021-07-15T20:54:20.033492 | 2020-09-22T22:12:49 | 2020-09-22T22:12:49 | 212,849,499 | 37 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | expected | module lcons.
L : ★ ➔ ★ = λ A : ★ . ∀ X : ★ . (A ➔ X ➔ X) ➔ X ➔ X.
lcons : ∀ A : ★ . A ➔ L ·A ➔ L ·A = Λ A : ★ . λ h : A . λ t : L ·A . Λ X : ★ . λ c : A ➔ X ➔ X . λ n : X . c h (t ·X c n).
| |
25170c0644cbf3d2f07ce26f727fe5b579db8311 | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH19/EX19.1/exa19_1.sce | 83c5ea76cb3d3a799a196a6df10ee54838d002e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa19_1.sce | clc;
//Example 19.1
//Page No 749
//solution
disp("The total number of full-duplex channels is, ");
F=10*7
disp("channel per cluster",F,"F = ");
disp("The total channel capacity is,")
C=10*7*10;
disp("channel total",C,"C = ");
|
08c27e8f66c8ca6cccd97fff69d29d3d87b9c6f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH11/EX11.1/1.sci | b6ad157f96c8c15ffc354be6892dea633643952e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sci | 1.sci | clc;
clear all;
disp("rate of energy emmission")
A=0.12;//m^2
T=527+273;// K
sigma=5.67*10^(-8);
Eb=sigma*A*T^4;//W
disp("W",Eb,"The total rate of energy emmision, Eb =")
Ibn=sigma*(T/100)^4/10^(-8);// W/m^2 sr
disp("W/m^2 .sr",Ibn,"Intensity of normal radiation , Ibn =")
lmax=2898/T;//mu.m
disp("mu m",lmax,... |
73c1a0827ee26e178ff6a8a8b4410066ab33d52b | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/PU17QHW/ATWM1_Working_Memory_MEG_PU17QHW_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | 096f1c45ce4e1746c961aa5bbf6eaa3a06471d8d | [] | 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,597 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#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... |
3816ea5a620e5a81701b1a13135586b5796e4447 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH5/EX5.19/5_19.sci | 5e07522f22ee70102546331fab2910292c645abe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 144 | sci | 5_19.sci | // Calculate the resistance
clc;
Rth0=10;
ath0=0.00393;
dth=150-20;
R150=Rth0*[1+ath0*dth];
disp(R150,'resistance at 150 degree C(ohm)=') |
4a9c5bab07f42216432e3e3192ffe1d0a3d2063e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH14/EX14.17/Ex14_17.sce | e14d0f6d38b42bb4429732d05511b935f1525661 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,010 | sce | Ex14_17.sce | //Variable declaration:
T = 80.0 //Pipe surface temperature (°F)
t1 = 10.0 //Brine inlet temperature (°F)
syms DT2 //Discharge temperature of the brine solution (°F)
m = 20*60 //Flowrate of brine solution (lb/... |
b6a4c6986a93932ac5a53f1af69730d5b3b96313 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH2/EX2.46/ex_2_46.sce | 284d3edc3f74875a8e08c91de1ccd21e42030a3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 573 | sce | ex_2_46.sce | //Example 2.46: inductance and capacitance
clc;
clear;
close;
//given data :
c1=1.5;//micro-farad
f=50;//Hz
f1=55;//Hz
f2=45;//Hz
l1=((1/((2*%pi*f)^2)*c1*10^-6));//H
v1=1.211*0.428;//V
i1=v1/1;//mA
v2=1.211*.441;//V
i2=v2/0.95;//mA
v=0.527;//V
pec=((i1-v)/v)*100;//
pec1=((i2-v)/v)*100;//
disp(-pec,"percentage change (d... |
fc9dc6a5596c039e28f2b1c8bce895e67dfdfda0 | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/gauspuls.sci | 621670b808702aa84a8b1445991e79d2191c287b | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,052 | sci | gauspuls.sci | function [y]=gauspuls(t,fc,bw)
// Generates Gaussian-modulated sinusoidal pulses
// Calling Sequence
// [y]=gauspuls(t,fc,bw)
// [y]=gauspuls(t,fc)
// [y]=gauspuls(t)
// Parameters
// t: Real or complex valued vector or matrix
// fc: Real non negative number or complex number
// bw: Real positive number or complex numb... |
48d2e7931805830971cde64bf909931b1ed9b911 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2921/CH8/EX8.5/Ex8_5.sce | d4fd3cae7bcdc3d8e0206cb5b089c4242385b0cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 893 | sce | Ex8_5.sce | clc;
clear;
mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-8.5 Page No.166\n');
b=12; //[in] Width of plate
h=1; //[in] Thickness of plate
L=72; //[in] Length of plate
I=b*h^3/12; //[in^4] Moment of inertia
Delta=4; //[in] D... |
bcdf6a478f202c703da4ad213022c6465e55faa6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH1/EX1.14/Ch01Ex14.sci | fcf1fecce7f8d7c7aeed896e4380b6ba5f4f1f03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 517 | sci | Ch01Ex14.sci | // Scilab Code Ex1.14 Speed of an electron for an equivalent proton mass: Pg: 25 (2008)
c = 3e+08; // Speed of light, m/s
m0 = 1; // For convenience, rest mass of an electron is assumed to be unity
m = 2000*m0; // Rest mass of a proton, units
// As m = m0/sqrt(1 - (v/c)^2), solving for v
v = sqrt(1 - (m0/... |
c9cf5bf4bcce666ff763710f74bad2cecc0a0bb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH4/EX4.9/4_9.sce | e17a41d91f5310df7c8165be34ddf10115a9388d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4_9.sce | printf('One mole of H2 Occupies 22.415Litres at 273.15K');
printf('\nThe volume at 300K is obtained by considering the constancy of V/T');
T1=273.15;
V1=22.415;
T2=300.15;
V2=(V1/T1)*T2;//Volume at 300K in litres//
printf('\nVolume of 1mole of H2 at 300.15K=V2=%fLitres',V2);
MH2=2;//molecular weight of H2//
DH2... |
3bb66fe507609c88616db7cfdb832c5c1655bf0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH4/EX4.16/Ex4_16.sce | 29719f51b97cd50e9f2d3c657442b8a2a2446ff9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | sce | Ex4_16.sce | //Ex:4.16
clc;
clear;
close;
f=10*10^3;// frequency in MHz
y=300/f;// wavelength in m
D=10;// diameter in m
Gp=6*(D/y)^2;// gain of a parabolic antenna
BW=140*y/D;// beamwidth in degree
Dr=6*Gp;// directivity
A=(Dr*y^2)/(4*%pi);// capture area in m^2
printf("The gain of a parabolic antenna = %f", Gp);
print... |
6efe3947363e65d9795289ac618ca33d242870c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH12/EX12.8/example8.sce | e5fe598e6af403828c15e07b25baae241d35c8e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example8.sce | // calculate transistor power dissipation and maximum output power
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 12-8, page 397
clear;clc; close;
// Given data
R1=100;// in ohms
R2=100;// in ohms
Vcc=20;// in volts
Rl=8;// in ohms
// Calculati... |
381b61148ce157589e74af89a69bc5ae711fb4dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH3/EX3.10/10.sce | b7002e7cf3f87a25cdb525e2748e7d26a03830c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | 10.sce | //Variable declaration
i=1*10**-10; //interval
L=10*10**-10; //width
//Calculations
si2=2*i/L;
//Result
printf('si**2 delta(x)=%0.3f ' ,si2) |
22d5a0377eb3a9a6b47dedc4674ed06a68d24206 | c49a028f382c3baddcd641c1972dd72bb60eaadc | /exp_6_fun.sce | 97744830728e51cb710d01b31e7930e3a9a135cb | [] | no_license | BhautikDonga/SCILAB | 484fcc9ac58885a4ccc549ccc85e2a4a507d5d0a | b330ca555276eb57c1e88ffc745ecfa3b8ebfa0c | refs/heads/master | 2020-04-07T15:48:23.036273 | 2018-12-05T01:27:34 | 2018-12-05T01:27:34 | 158,501,669 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | exp_6_fun.sce | function [Yn,In]=exp_6_fun(Xn,i_x,Hn,i_h)
Yn= conv(Xn,Hn);
i_ys = i_x(1)+i_h(1);
i_ye = i_x(length(i_x)) + i_h(length(i_h));
In = i_ys:i_ye;
endfunction
|
f48c630760d07b6d5e54b567aa462f9caab8b927 | 0cb85cd0c88a9b9f0cca4472742c2bf9febef2d8 | /klava/kernel/ntreelib/tests/test.tst | bab18597627c8066b4cfc0c8b3b457f23e89d1d8 | [] | no_license | seth1002/antivirus-1 | 9dfbadc68e16e51f141ac8b3bb283c1d25792572 | 3752a3b20e1a8390f0889f6192ee6b851e99e8a4 | refs/heads/master | 2020-07-15T00:30:19.131934 | 2016-07-21T13:59:11 | 2016-07-21T13:59:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | tst | test.tst |
trace on
create "foo.db"
add 1 "'a first signature'"
add 2 "'another signature'"
print
|
f6f4d987908b1029b4acb0112692a19bb18b2b7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH21/EX21.4/Ex21_4.sce | cd6dd035abe832386537992b4e31835af7f256a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | sce | Ex21_4.sce | //Example 21.4
clc;
R=250//in ohm
Xc=758//in ohm
Xl=226//in Ohm
X=Xl-Xc
V_max=150//in Volt
Z=sqrt(R^2+X^2)
I=V_max/Z
q=atand(X/R)
disp(Z,"Impedence in ohm")
disp(I,"Current in Amps")
disp(q,"Angle in degree=")
V_R=I*R
V_C=I*Xc
V_L=I*Xl
disp(V_R,"Voltage at Resistance in Volt")
disp(V_L,"Voltage at Inductance in Volt")
... |
74c6f7186de5941af87de7127e744b2f34ba6a6d | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnCh/ench.3.tst | 76a4e34271f952cef4d0515670e5e7827a141ffd | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 99,396 | tst | ench.3.tst | a a r o n s 阿 伦 斯
a a r v o l d 阿 沃 尔 德
a b e l o w 阿 比 洛
a b e r c r o m b y 阿 伯 克 龙 比
a b e r n a t h y 阿 伯 内 西
a b i n g e r 阿 宾 杰
a b l o n d i 阿 布 隆 迪
a b r a m o v i t z 阿 布 拉 莫 维 茨
a c h e l i s 阿 基 利 斯
a c o s t a 阿 科 斯 塔
a d a m s 亚 当 斯
a d a r e 阿 代 尔
a d e s k o 阿 德 斯 科
a d g e r 阿 杰
a d o n i j a h 阿 多 奈 甲
... |
6f75a7dafdfe8883a493adb1147dd4f09bfb70f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH38/EX38.5/Example38_5.sce | faee1306cbaf8ff73715c829341b06f327812c8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 613 | sce | Example38_5.sce | //Given that
lp1 = 499.8*10^-9 //in meter
lp2 = 501.6*10^-9 //in meter
c = 3*10^8 //in m/s
Ms = 1.99*10^30 //in kg
G = 6.67*10^-11 //in SI unit
R = 100 //in light year
conv = 9.46*10^15 //conversion factor from light year to sec
//Sample Problem 38-5a
printf("**Sample Problem 38-5a**\n")
lo = lp1 + l... |
7adf26ee7377b546deb1235766eeca775142c7cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3830/CH1/EX1.9/Ex1_9.sce | bb6c314c9e658ebafc854bb98ef6141f05716585 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 679 | sce | Ex1_9.sce | // Exa 1.9
clc;
clear;
// Given
// Referring Fig.1.26
Ifs = 50*10^-6; // Full scale deflection current in Amp
Rm = 11; // Meter resistance in Ohms
R1 = 3; // Range in Volts
R2 = 10; // range in Volts
R3 = 30; // Range in Volts
// Solution
S = 1/Ifs; // Sensitivity in Ohms/V
printf('The values of... |
d81173b881a011f631ed7ef59a2dc56b52249a7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH24/EX24.16/Example16.sce | 1cd708ec527f1ce16c0ac49f83132352e6cf9342 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 5,330 | sce | Example16.sce | clear
flag=1
mode(-1)
clc
//Program for example 1 chapter 1
printf("Current date is %s \n \nWelcome to the Textbook Companionship Project 2013 \n",date())
printf("+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n")
disp("Book Title : UNIX CONCEPTS AND APPLICATIO... |
741ac02d453c3cd7d5b8797a919cca78789f93c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH9/EX9.01/9_01.sce | 2f37a2687899012ef00795a28a2f7823cbafad3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_01.sce | //Problem 9.01: A conductor 300 mm long moves at a uniform speed of 4 m/s at right-angles to a uniform magnetic field of flux density 1.25 T. Determine the current flowing in the conductor when (a) its ends are open-circuited, (b) its ends are connected to a load of 20 ohm resistance.
//initializing the variables:
... |
f9822a1875fff6f5c18c7c4b79dbf22889fcb27f | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_M._V._Despande_833.zip/Electrical_Machines_M._V._Despande_833/CH2/EX2.1/Ex2_1.sce | a8b67cafdc2bb56c07faa6a3d76dffa96a5d3836 | [] | 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 | 883 | sce | Ex2_1.sce | errcatch(-1,"stop");mode(2);//Caption:Find (a)all day efficiency (b)commercial efficiency on full load (c)efficiency on half load
//Exa:2_1
;
;
P_s=50//Power supplied(in kVA)
V_1=440//Primary side voltage(in volt)
V_2=220//Secondary side voltage(in volt)
t_1=6//Full load(in hours)
t_2=2//50% load(in hours)
C... |
e3fdf1290e968a888221c59ee85ad410f3ef74e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH5/EX5.16/5_16.sce | 97451085cb1c23eff179b4b0f816071bafaa3c0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 294 | sce | 5_16.sce | clc
//Initialization of variables
g=981 //cm/s^2
Cd=0.6
Q=1200
d=3 //cm
l=30 //cm
b=30 //cm
dh=5 //cm
h1=9 //cm
//calculations
function y =fun1(h)
y= l*b/(Q - Cd*%pi/4 *d^2 *sqrt(2*g*h))
endfunction
t=intg(h1,h1+dh,fun1)
t=126
//results
printf("Time required = %d sec",t)
|
c3d1010f838cba41f0976220d2b2689fddefbe8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH4/EX4.12/Example4_12.sce | 8aef7e063ea5e78869c6f6b8fd4d57827bfa1146 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 200 | sce | Example4_12.sce | //Example 4.12.
clc
format(7)
Ia=0.3*10^-6
VF=0.15
I=Ia*((%e^(40*VF))-1)
I1=I*10^6
disp("The current flowing through the PN diode under forward bias is,")
disp(I1,"I(uA) = Io*(e^40*VF - 1) =") |
29155b6ad9dc6bc5003289bee1e7430fceb49da0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH3/EX3.27/example3_27.sce | 78b6a80f62839ec3001ba5d6d7ec312c07cd05df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 509 | sce | example3_27.sce | // Find currents and voltages
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 3-27 in page 179
clear; clc; close;
// Given data
//Diode acts as short circuited.Both diodes are forward biased
V1=0; // Voltage at junction 1 in V
V2=0; // Voltage... |
f48fed18751c720ff6f0d21e2bbe210fc77f81ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH4/EX4.4.2/EX4_4_2.sce | 245736d8ae5571526c8c5a8c6c8f8d7a72b27384 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | EX4_4_2.sce | //Example 4.4 <ii>
//Find the step response of the following impulse response.
clc;
t=-1:.01:1;
for i=1:length(t)
if t(i)==0 then
del1(i)=1;del2(i)=0;
elseif t(i)==1 then
del1(i)=0;del2(i)=1;
else
del1(i)=0;del2(i)=0;
end
h(i)=del1(i)-del2(i);
if t(i)<0 then
u(i)=0;... |
50a9d0700382023c1c260179ebccf9a8a0151f60 | d79217b13ead3bfd66ac70356a3fd26c7914a7da | /vvv.sce | a293f17ea6b47c0a33a9b3a5e670afaaa78aeceb | [] | no_license | MaksymilianL/Studia | 3aca41032ebac7add06409b3666aace14b00aabf | 56dd77b5dfe1c72d2c79f8aa865f4c42e910cc75 | refs/heads/main | 2023-02-28T18:34:25.816994 | 2021-01-20T13:00:33 | 2021-01-20T13:00:33 | 308,615,140 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 131 | sce | vvv.sce | scf(2017);
x=[2015 2017 2019];
y=[4 2 3; 2 0 4; 3 1 0];
xtitle ("tytul", "rok", "ilosc");
legend("x^2")
bar(x,y, 'stacked');
|
fc5c827a6de0700f0155ac7b95934e02a63ed804 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH9/EX9.11/ex9_11.sce | 0d3f92e8ddbed4b227e666615b8296891858141e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 911 | sce | ex9_11.sce | //find the position and voltage on the intersheaths and max and min stress
clear;
clc;
//soltion
//given
d=2;//cm
D=5.3;//cm
V=66*sqrt(2/3);//kV
V1=poly(0,"V1");
V2=poly(0,"V2");
V3=poly(0,"V3");
d1=poly(0,"d1")
d1d2=D*d;//d1*d2
d2=(d1^2)/2;
printf("d2= ");
disp(d2);
d1=(2*d1d2)^(1/3);//after putting va... |
138a1eac85ee02304e8fd0d9dec50b68a71bdbc2 | 181f67b4868e49ca80872d6ac088a51540f90da6 | /186A7/A7D.sce | dbe3e2a462886e199204e7bf34bc250bc554f8f3 | [] | no_license | nobody51/AP186 | 567f25ba1ad7f71ad2983860078eeaccffa46080 | cb916fc9b38b508026403a2227ffc76d490fe948 | refs/heads/master | 2021-08-28T09:35:55.488122 | 2017-12-11T21:34:46 | 2017-12-11T21:34:46 | 104,969,401 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 832 | sce | A7D.sce | finger = imread('C:\Users\Anton Cruz\Desktop\186\AP186\186A7\7D\print.jpg');
finger = double(finger);
grayfinger = mat2gray(finger(:,:,1));
f=scf();
imshow(grayfinger);
isoview();
xs2png(gcf(),'grayfinger');
fingerFT = fft2(grayfinger);
f=scf();
imshow(imnorm(log(abs(fftshift(fingerFT)))));
isoview();xs2png(gcf(),'g... |
6bf60c3ce3ccfc08b98449aeae5ad8d64da2dc52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH22/EX22.1/22_1.sce | 31afab4f10c465e9668fd115450b7ded08261eb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sce | 22_1.sce | //ques-22.1
//Calculating volume of a cubic unit cell
clc
a=0.3;//edge length (in nm)
V=a^3;//volume
printf("The volume of the unit cell is %.0f*10^-30 m^3.",V*1000);
|
806e642bea0859f6acc08454b640455b473f95d2 | ee09e9ea9aa30babb89f1ecab1fe4ec9bfcba526 | /test_envio.tst | 80d6ad1f3bc9a82ac9b3dc1301e151f33560005b | [] | no_license | MariuxiDominguez/Documentos | c62ed9f76546cec92f8343c393453a521dc867ae | 88166b395766159a713ac442159cba796e79c3a0 | refs/heads/master | 2021-01-25T10:08:01.307956 | 2018-02-28T22:59:47 | 2018-02-28T22:59:47 | 123,341,843 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,022 | tst | test_envio.tst | PL/SQL Developer Test script 3.0
11
begin
-- Call the procedure
ink_proceso_fact_cf.inp_envio_archivo_xml(pv_ruta_servidor => :pv_ruta_servidor,
pv_ruta_local => :pv_ruta_local,
pv_ruta_shell => :pv_ruta_shell,
... |
979fc7c06bab01f380d165868d59785d7915d3a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH11/EX11.2/ch11_2.sce | 5c6f2e5c0a30dc4c791feb7f733d65b75fb153b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,113 | sce | ch11_2.sce | clc;
clear;
printf("\t\t\tChapter11_example2\n\n\n");
// Calculation of the value of the solid angle subtended by surfaces dA2 with respect to dA1 (b) the rate at which radiation emitted by dA1 is intercepted by dA2 (c) the irradiation associated with dA2
printf("\t\t\tSolution to Part (a)\n");
// solid angle is calc... |
41dd07d079f54baf9e29211bef0287acf98708cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH12/EX12.13/ex_13.sce | 9102f1dc66b2c0dea4050786a38482287405f956 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | ex_13.sce | //Example 13//doppler shift and velocity
clc;
clear;
close;
h1=3737;//Å
h2=3700;//Å
ds=h1-h2;//Å
disp(ds,"doppler shift is ,(Å)=")
c=3*10^8;//m/s
v=((ds/h2)*c);//m/s
disp(v,"speed is ,(m/s)=")
//speed is calculated wrong in the textbook
|
801902f88d9ffe3f2e70a3c3201fa73ab8013faa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH3/EX3.12/example3_12.sce | 0463ac2a1866c7484892f1806704a32cb2c8d4a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 973 | sce | example3_12.sce | clear;
clc;
// Stoichiometry
// Chapter 3
// Material Balances Without Chemical Reaction
// Example 3.12
// Page 70
printf("Example 3.12, Page 70 \n \n");
// solution
m = 100 // kg
x = linspace(70,110,5);
y = linspace(100,115,4);
y1 = 27.8/.203 - .075*x/.203
y2 = 72.2/.673 - .035*x/.673
x = linsp... |
b76e2203ae76cbf3e9ee2ae648cf359efb74a287 | d6c6e5351a55752775a06471ab1e767b959dba02 | /Taller 4b/macros/define_plot.sci | aed91e44df2e35bf20fc61e1d6b99aef750d3b28 | [] | no_license | hectornauta/Repoduino | f0a685840d7484f78ddb40c1704ce0d7d174aa41 | 05229fc5d70ecc4bd45102cbb02703cb912a5d14 | refs/heads/master | 2020-08-06T09:07:22.888804 | 2019-12-09T13:17:44 | 2019-12-09T13:17:44 | 212,917,573 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 599 | sci | define_plot.sci | function [rows, columns, field_amount] = define_plot(field_names)
// Description of initialize_plot(input)
field_amount = size(field_names, "r")
rows = ceil(sqrt(field_amount))
columns = rows
while (rows * columns) - columns >= field_amount
rows = rows - 1
end
disp("Cantidad de campo... |
b8e7b7bf8bc9b3b67160c814c8c6759a25a3b431 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH2/EX2.15/ex2_15.sce | feae2b0ae8b2b8aeb8b92a4955afec0a062da0f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | ex2_15.sce | // Example 2.15 page no-71
clear
clc
mup=500
mun=1500
n=1.6*10^10
e=1.6*10^-19 //c
sigma=(mun+mup)*e*n
printf("\nconductivity, sigma=%.2f *10^-6\nResistivity, rho= %d Ohm-cm",sigma*10^6,1/sigma)
|
98a34b0326f481ef1395d387a58281809723d86c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH5/EX5.18/Ex5_18.sce | 96122312f7b15dcdead2ce7f8955f906e0663315 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 959 | sce | Ex5_18.sce | //=============================================================
//Chapter 5 example 18
clc;
clear all;
//variable declaration
p = 80;
q = 60
//i = 80-60*sqrt(2)*sin(theta+%pi/6)
//i^2 = x = (80)^2)-((2*80*60*sqrt*sin(theta+(%pi/6))0^2)+((80^2)*(sin(theta+(%pi/6))^2))
//x =a-b*(sin... |
9e7f6c161b6618f321fd83209994b6d0bfde6d64 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH24/EX24.10/24_10.sce | 8114102c172b3c2a0c14ae0805f0ba951c4b9684 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 746 | sce | 24_10.sce | //Problem 24.10: A 240 V, 50 Hz voltage is applied across a series circuit comprising a coil of resistance 12 ohm and inductance 0.10 H, and 120 μF capacitor. Determine the current flowing in the circuit.
//initializing the variables:
R = 12; // in ohms
L = 0.10; // in henry
C = 120E-6; // in Farads
f = 50; // ... |
f079fd1c7846cc906f5d166b86ee0442fc4b44a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH2/EX2.i.1/ils2_1.sce | 4aa3a833027bdc531d0e05759e5df8b04f0ad23e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 807 | sce | ils2_1.sce | // Illustration 2.1
// Section 2-3 in the book
// Demonstrating Series,Parallel and feedback connection of Linear Systems
clear; clc; close;
// Define Polynomials in variable 's'
// Please NOTE : The list of coeficients has to be given in
// INCREASING powers of 's',
n1 = poly( [10] ,'s','c'); ... |
f35b59032cfd8283432df69d3795e3e38707a2e6 | 80fc9b7a10b546c9071b974c5328180e74ee1c5d | /TP1/4.3.sce | fd067e826da67003ba87fb1c5bf84725a11e970c | [] | no_license | ASokem/TP_MAP101 | a443ddbd656d63918dd5caad3ce89418d02c0123 | b87d45faea6bc793161bae2238bd6489e5d9ede5 | refs/heads/main | 2023-08-10T20:42:07.377878 | 2021-09-29T09:15:34 | 2021-09-29T09:15:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | 4.3.sce | // Copyright (C) 2021 - UGA - JIANG Yilun
//
// Date of creation: 2021-9-16
//
n = input("Entrer un entier n: ")
if(n > 2) then
disp("n est superier a 2")
end
if(n == 0) then
disp("n est nul")
elseif n > 0 then
disp("n est strictment positif")
else
disp("n est strictment negatif")
end
|
c8dd126a4e8b9114998e39c73381f2001f574315 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH6/EX6.13/Ex6_13.sce | 2814ee51860cb82b992ccc9cb1e57b360f0b5a8b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 783 | sce | Ex6_13.sce |
// Ex6_13
clc;
// Given:
mTh1=232;
mTh2=233;
ETh1=6.4;// in MeV
ETh2=4.93;// in MeV
E=6.5;// fission barrier energy in MeV
// Solution: Part(a)
E1=0*mTh1/mTh2;
Ex1=E1+ETh2;
printf("\n (a) Excitation energy is = %f MeV",Ex1)
if (Ex1>E) then
printf("\n Fission is possible")
else
printf("\n Fis... |
42c77f9f7328afc977f5befa7b47803feefd491e | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH1/EX1.2/1_2.sce | 839041fc955543280a79186a4feb8ad7f651f4a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 536 | sce | 1_2.sce | c=3*(10^8);
pi=3.14;
m0=(549*1.6*10^-13)/(c^2)*(10^28);
printf('\n The value of m0 is %f*(10^-28) kg',m0);
disp("Δm0*Δt >= h/(2*pi*c^2)");
a=7*10^-19; //say Δt=a
h=1.055*(10^-34);
d=(a*3*10^16);
b=h/d; //say Δm0=b
e=(b)/(m0);
printf('\n The Uncertainity in terms of rest mass is %f',e);
disp("p^2/(2*m0) = K... |
c5e843af98c20f86d492de6110be9e62e9b7f171 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH2/EX2.1/example_2_1.sce | 9e3312105cc74899e6c38b8994bb331977437970 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,215 | sce | example_2_1.sce | clear;
clc;
disp("--------------Example 2.1---------------")
// example explanation
printf("A node with physical address 10 sends a frame to a node with physical address 87. The two nodes are connected by a link (bus topology LAN).\nAt the data link layer, this frame contains physical (link) addresses in the header... |
7d6b212e68f8bdfccf399f51c8f9cee45dc8999d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH6/EX6.5/ex6_5.sce | 563ee312834818e74cb7bcaa186b1b490bcabd39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | ex6_5.sce | // Example 6.5, Page No-276
clear
clc
fh=10*10^3
f=12*10^3
// For third order low pass butterworth filter
t=(f^6/fh^6)
Hif=1/(sqrt(1+t))
Hifdb=20*log(Hif)/log(10)
printf('Hif= %.4f dB', Hifdb)
// For fourth order low pass butterworth filter
t=(f^8/fh^8)
Hif=1/(sqrt(1+t))
Hifdb=20*log(Hif)/log(10)
pr... |
3bde209ae8a93a2807f31fcbba6f30d032317d37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH8/EX8.10/Ex8_10.sce | 80221ac9ad44c79f1dcdd1341e0a4a143eb54949 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,189 | sce | Ex8_10.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 8 Example 10")
disp("at inlet to HP turbine,h2=3287.1 KJ/kg,s2=6.6327 KJ/kg K")
h2=3287.1;
s2=6.6327;
disp("By interpolation state 3 i.e. for isentropic expansi... |
4cc9a84a4ba887039ff32f40f82ee686a95602d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH14/EX14.7/Ex14_7.sce | 6f07fce6c9776c608e13b6200bf599947591d2c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 611 | sce | Ex14_7.sce | //Example 14_7
clc;clear;
// Given values
D_p=34.0;// The overall diameter of the propeller in cm
D_h=5.5;// The hub assembly diameter in cm
n=1700; // rpm
alpha=14; // The angle of attack in degree
V_wind=13.4;// m/s
// Calculation
r=D_h/(2*100);// Radius in m
omega=(2*%pi*n)/60;
phi=atand((V_wind/(omega... |
77b27d203be7ac74ed062979788fd15af38473ac | 349a1e6f03d1e445c51922b10234aef47fba9fbc | /data/y.tst | 4bfbe5735898589ba78c2788fb725e07f81655e7 | [] | no_license | jrich8573/neural-nets | a732b3a76f72b70ceba1b3ebf5505bbebbc456d5 | 864b561078319ea40e950b14cc5fd2e9bc88cd95 | refs/heads/master | 2020-03-20T03:22:05.188126 | 2018-06-13T00:53:49 | 2018-06-13T00:53:49 | 137,143,686 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 68,173 | tst | y.tst | 3.49372 0.0485376 1.43222 0.0560384 1.03357 1.4229 0.000602774
3.66775 0.0674298 2.23272 0.0303471 0.731307 1.41344 0.00348198
3.27942 0.0829261 2.37782 0.069711 1.91979 0.515396 0.00533282
3.64964 0.0221344 2.79117 0.0589864 2.18891 1.30785 0.00837972
3.44903 0.0710786 2.97897 0.0840466 2.18303 ... |
e2acbb6b65e87214b74d52e339d0549b0621aa14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH5/EX5.06/5_06.sce | c4d37cc11f4b908100a2ba0dc5dcd93a207262ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | 5_06.sce | //Problem 5.06:For the circuit shown in Figure 5.10, determine (a) the reading on the ammeter, and (b) the value of resistor R2
//initializing the variables:
R1 = 5; // in ohms
R3 = 20; // in ohms
I1 = 8; // in Amperes
It = 11; // in Amperes
//calculation:
Vt = I1*R1
I3 = Vt/R3
R2 = Vt/[It - I1 - I3]
pr... |
9d36c5bc2d8070d6fb1adc4b7d1fd12db4d47ad8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH5/EX5.31/Ex5_31.sce | 6a90028b8a76fe14c6dabf1c636663e34a47a64e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_31.sce | //Ex:5.31
clc;
clear;
close;
y=1.30*10^-6;// operating wavelength in m
dn1=10^-6;
dn2=10^-5;
db1=(dn1*2*3.14)/y;// in per m
db2=(dn2*2*3.14)/y;// in per m
Lp1=(2*3.14)/(db1);// beat length in m
Lp2=(2*3.14)/(db2);// beat length in m
printf("The max core radius =%f um", db1);
printf("\n The max core radius =... |
73bd440f89a6d02cc7e59db29cb0b104d903a507 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH5/EX5.12/ex5_12.sci | 6d74661656a49bb99740ddbf46eab12bcc74e22a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,166 | sci | ex5_12.sci | //Chapter 5,Ex5.12,Pg5.14
clc;
E1=4400 //Primary EMF
R1=3.45 //Primary resistance in ohms
X1=5.2 //Primary reactance in ohms
E2=220 //Secondary EMF
R2=0.009 //Secondary resistance in ohms
X2=0.015 //Secondary reactance in ohms
K=E2/E1
I1=50*1000/E1 //Using the formula I1=kVA rating*1000/E
printf("\n Full load... |
a7fdf3c734dc18f72d2556b063aafe11c466cab8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH21/EX4.4.9/U4_C4_9.sce | 142501d27f98a46da910812c85e09792c6db5077 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,094 | sce | U4_C4_9.sce | //variable initialization
m=9.1*10^-31; //mass of electron (Kg)
h=1.054*10^-34; //Plank's constant (Js)
B=5 //m... |
e4d5934aedfc6e9f89fad633d309907d8e948bcb | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH12/EX12.5/ex_12_6.sce | 5d9a58908b7353dd20335a53acb789005b234225 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_12_6.sce |
clc
//solution
//given
P=50*10^3//N
ft=80//N/mm^2
t=50//N/mm^2
fc=100//N/mm^2
pi=3.14
//P=(pi/4)*d^2*ft=62.84*d^2
//d=sqrt(P/62.84)//mm
printf("the diameter of bolt is,%f mm\n",sqrt(P/62.84))
printf("the diameter of bolt is,say 30mm\n")
d=30//mm
//let d1 be dia of enlarged end of bolt
//t1 be thickness of cotter
//t1=... |
968ae57b44fd5c532ac9114005a4d7df4397f240 | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH11/EX11.6/11_6.sci | cf72db690fb058c0d127b7d5d90dddb4ff1bd2ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sci | 11_6.sci | clc();
clear;
//To determine the amount of energy released
wt=1000; //weight in gm
A=235; //mass number of uranium
N=[6.02*(10^23)/A]*wt; //no.of nuclei in 1kg of uranium
Q=208; //energy-balance of the reaction
E=N*Q; ... |
f2d60bbbee84ddefd0a770e89fe081f98fb6da68 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/util/syslin.sci | b84b8cc25b734108461405174ccea804f5cea1ef | [
"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 | 2,878 | sci | syslin.sci | function [sl]=syslin(domain,a,b,c,d,x0)
// Copyright INRIA
[lhs,rhs]=argn(0)
//
// check domain
select type(domain)
case 1 then //sampled system
if size(domain,'*')<=2 then
tp=domain
else
error('domain (1rst argument of syslin) must be a scalar')
end
z='z'
case 10 //continuous or discrete
if size(do... |
d4211920ac2126ce1157733494d31d5a984d8410 | 449d555969bfd7befe906877abab098c6e63a0e8 | /215/CH16/EX16.1/ex16_1.sce | 2a112bd84c97819b6d8ca337cb42932f7a24d7f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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
//Example 16.1
disp('Given')
disp('L=2.5mH Q0=5 C=0.01uF')
L=2.5*10^-3; Q0=5; C=0.01*10^-6;
w0=1/sqrt(L*C)
printf("w0= %3.1f krad/s \n",w0*10^-3);
f0=w0/(2*%pi)
alpha=w0/(2*Q0)
printf("alpha= %3.1f Np/s \n",alpha);
wd=sqrt(w0^2-alpha^2)
printf("wd= %3.1f krad/s \n",wd*10^-3);
R=Q0/(w0*C)
printf("R= %3.... |
c26e35bfb776a01c4618bdf1bdcc38959fc0e6bd | 353fabaf48c4a9c15219c01751b2eab7fdeecf15 | /teste (copy).sce | bdb9aecc602a34848a4aca716e71f83102c22491 | [] | no_license | enieber/cargas | 3a80a5fd2f96374a819d5b49affd45fb8d0549a5 | bbea7b9c657bed402848e8f9549a04f76c988d91 | refs/heads/master | 2021-05-04T11:47:25.444285 | 2017-05-19T03:20:49 | 2017-05-19T03:20:49 | 46,600,031 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 588 | sce | teste (copy).sce | clear
clc
q1 = 1e-9;
P1 = [0 0];
x = -1:0.1:1;
y = -1:0.1:1;
for i = 1:length(x)
for j = 1: length(y)
P(i,j,:) = [x(i) y(j)];
E1(i,j,:) = Efield(q1,P1,squeeze(P(i,j,:))');
end
end
%%
[X,Y] = meshgrid(x,y);
E1x = E1(:,:,2);
E1y = E1(:,:,1);
%%
q2 = -1e-9;
P2 = [-0.5 0.5];
x = -1:0.1:1;
y... |
fc166e1ebf40e4d4eac11501e6df134bcdd26e52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH4/EX4.10/Ex4_10.sce | 05b9a13d66c5d03b244c5a74e75591ace2c65340 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | Ex4_10.sce | //Example 4.10, Page 125
clc
//For Hydrogen atom
R_o=109737//in cm
m=1
M=1836
RH=(R_o)/(1+(m/M))
printf("\n Spectrum line for Hydrogen occur at %f /cm ",RH)
//For Deuterium atom
R_o=109737//in cm
m=1
M=2*1836
RD=(R_o)/(1+(m/M))
printf("\n Spectrum line for Deuterium occur at %f /cm ",RD) |
800c7d55e89dd95136be2cbcd6991342fabbcfd6 | abd7728083df51a785c94e61999237380b32c4f8 | /examples/Presentation Packs/Cognitive Psychology Experiments III (Version 3)/Rotary Pursuit/Scenarios/Rotary Pursuit.sce | 82dd04efc8403c1ce191562b61d67e9b990ac0b8 | [] | no_license | LCTO-TLCO/UAVpresentation | 93b0c0e0eb123b550218bbae4e0bb1db8c30cb5e | 83e0f22cfdc2b7172bf0b90a9a14ddf77e6ccf2a | refs/heads/master | 2023-07-25T14:03:39.874916 | 2021-09-07T07:19:38 | 2021-09-07T07:19:38 | 301,918,691 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 22,069 | sce | Rotary Pursuit.sce | # -------------------------- Header Parameters --------------------------
scenario = "Rotary Pursuit";
write_codes = EXPARAM( "Send ERP Codes" );
default_font_size = EXPARAM( "Default Font Size" );
default_background_color = EXPARAM( "Default Background Color" );
default_text_color = EXPARAM( "Default Font Color" );... |
fa8694716cf8e3a75a8a0777955ae3864b4a3025 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH10/EX10.16/10_16.sce | 6fd38af925f4af4267bee7497e884366fe2ca2a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,047 | sce | 10_16.sce | clear;
clc;
printf("\t\t\tExample Number 10.16\n\n\n");
// heat-transfer coefficient in compact exchanger
// Example 10.16 (page no.-556-557)
// solution
p = 101325;// [Pa] pressure of air
T = 300;// [K] temperature of entering air
u = 15;// [m/s] velocity of air
// we obtain the air properties from tabl... |
181480e689b81397c9e9ef170fd7ae912d251441 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH5/EX5.9/5_9.sce | 53232014c035025e3c4db2081270f17455ed8263 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,380 | sce | 5_9.sce | clear;
clc;
//Example - 5.9
//Page number - 202
printf("Example - 5.9 and Page number - 202\n\n");
//Given
T_1_hotgas = 800;//[K]
P_1_hotgas = 1;//[bar]
T_2_hotgas = 700;//[K]
P_2_hotgas = 1;//[bar]
T_1_air = 470;//[K]
P_1_air = 1;//[bar]
P_2_air = 1;//[bar]
Cp_0_hotgas = 1.08;//[kJ/kg-K] - Mean heat c... |
95060eafab45315a901e2ecd06c0f2fd1c5970f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH41/EX41.5/Example41_5.sce | 6bab074eea1eecb8473cb416941dce8eefb0fe1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | Example41_5.sce | //Given that
Kalpha = 178.9*10^-12 //in m
Kimpure = 143.5*10^-12 //in m
Z = 27
//sample Problem 41-5
printf("**Sample Problem 41-5**\n")
Zx = sqrt(Kalpha/Kimpure)*(Z-1) + 1
printf("The proton number of the impurity is %d", Zx) |
579cb4dd92be2d243f9c2aa4ecd5de04466d37a0 | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/macros/kmedoids.sci | 8da321616baaf6c3bb4a201d71cd729eec98cac2 | [
"BSD-3-Clause"
] | permissive | Augertron/OpenPR | 8f43102fd5811d26301ef75e0a1f2b6ba9cbdb73 | e2b1ce89f020c1b25df8ac5d93f6a0014ed4f714 | refs/heads/master | 2020-05-15T09:31:08.385577 | 2011-03-21T02:51:40 | 2011-03-21T02:51:40 | 182,178,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,732 | sci | kmedoids.sci | ///////////////////////////////////////////////////////////////////////////////
// Author: Jia Wu
// Date: May 2010
// Description: basic k-medoids clustering algorithm
//
// Copyright (C) 2009-2010 OpenPR
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
/... |
96c5fe9becea272391e1168e2a52b11e2c889061 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH4/EX4.11/Ex4_11.sce | 7c296e980f0f9178f524d86b57ff9613a53bf50b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | Ex4_11.sce | clc();
clear;
//Given:
lambda = 6000; //Wwavelength in A
mu = 1.33; //Refractive index for cornea
D = 2; //Diameter of pupil in mm
//Yellow light wavelength in eye:
lambda1 = lambda/mu ; //Wavelength in A
//The angular resolution
//1 A = 1.0*10^-7 mm
theta_c = (1.22*lambda1*10^-7)/D; // angle in rad
//Maxim... |
4f2ead76365a906368ae529939b1980f0d4cc695 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/linpro.man.tst | 88d8c231f502f8ae074b693cf8df7a8fa4351ae2 | [
"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 | 696 | tst | linpro.man.tst | clear;lines(0);
//Find x in R^6 such that:
//C1*x = b1 (3 equality constraints i.e mi=3)
C1= [1,-1,1,0,3,1;
-1,0,-3,-4,5,6;
2,5,3,0,1,0];
b1=[1;2;3];
//C2*x <= b2 (2 inequality constraints)
C2=[0,1,0,1,2,-1;
-1,0,2,1,1,0];
b2=[-1;2.5];
//with x between ci and cs:
ci=[-1000;-10000;0;-1000;-1000;-1000];cs... |
2e28594c3bc6079007f17dc559dd3872f4247cf2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH6/EX6.10.1/Example6_10_1.sce | bdf1092c87357eae3aa831f7316726ecea7711f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 704 | sce | Example6_10_1.sce | // Example 6.10.1 page 6.22
clc;
clear;
P0= 200;
P1=90;
P2=85;
P3=6.3;
//All powers in uW...
coupling_ratio= P2/(P1+P2)*100;
printf("\n\n Coupling Ratio is %.2f %%",coupling_ratio);
excess_ratio= 10*log10(P0/(P1+P2))
printf("\n\n The Excess Ratio is %.4f dB",excess_ratio);
insertion_loss=10*log10(P0/P1)... |
05a354d054ff7651057335e41e1c49845b47e718 | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH3/EX3.9/Ex3_9.sce | 72c5724e03e83c4f707f4511ccc2d428934409c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | Ex3_9.sce | //Ex:3.9
clc;
clear;
close;
c=1*10^-6;//in farads
r=3.3*10^6;//in ohms
t=1;//in sec.
V_s=9;//in volts
V_c=V_s*(1-%e^(-t/(r*c)));
printf("Voltage produced = %f V",V_c); |
e6b042925ee463ac507ff61bae6c8efc01fd5129 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH3/EX3.6/3_6.sce | 3b2271c0a20e18dd94a8a1c0185ac507d90f7818 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 138 | sce | 3_6.sce | function p=parallel(r1,r2)
p=r1*r2/(r1+r2)
endfunction
Lbc=parallel(1/10,1/20)
Leq=1/50+Lbc
disp(Leq)
Vbc=Lbc*150
disp(Vbc) |
dc59951de1debce4ddea29defdda7a721225d008 | 3ab7c3ba0b53c896747be95b21d2a39dc0ba021a | /V_DifDiv.sce | de39270d483fb89682c25eaea412001b474f80dd | [] | no_license | Farber98/MetodosNumericos | 0752f090eb596926f05bff0730a088eb70e77033 | 5c1be0d0e8274d204b41d0b91778847e6469e6bb | refs/heads/master | 2021-04-23T12:58:07.339435 | 2020-03-25T08:41:32 | 2020-03-25T08:41:32 | 249,926,955 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | V_DifDiv.sce | exec('C:\Users\juan\Desktop\DifDiv.sci', -1);
x=[0 1 2 3]; //Valores de X.
y=[30 38 84 204]; //Valores de Y.
tabla=diferencias(x,y);
disp(tabla,"TABLA DIFERENCIAS DIVIDIDAS:");
|
96eb66c2577c93751a593a0f5da8cafee90947a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH3/EX3.27/example_27.sce | e99d03ca8820fa2c71abd557161ac2e99ccffc33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 762 | sce | example_27.sce | clc
clear
printf("example 3.27 page number 114\n\n")
//to find the area of heating surface
F = 1000 //in kg
xF = 0.01
solid_feed = F*xF;
water_feed = F - solid_feed;
tF = 40 //in degree C
hF = 167.5 //in kJ/kg
xL = 0.02;
solid_liquor = 10 //in kg
L = solid_liquor/xL;
tL = 100 //in degree... |
2865892da83dedfdff6b91c7ec75d875c1b4421e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3828/CH1/EX1.5/Ex1_5.sce | b051eaaa87c31af3fd27fc08843b11a97b40864d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 692 | sce | Ex1_5.sce | //Chapter 1 : Wave Optics
clear;
//Variable declaration
i=35 //incident angle in degrees
myu=1.33 //refractive index
n=1 //first minimum
t=4*10**-5 //thickness
//Calculations
cos_r=0.90
lamda1=2*myu*t*cos_r/10**-5 //for first order n=1
lamda2=(2*myu*t*co... |
3bfe2283812f83a5d84610ef89250951ebc418e2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/scicos/is_split.sci | 536a240900430cfc5573e1991c0f4c320cf3df21 | [
"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 | 167 | sci | is_split.sci | function r=is_split(o)
// check if object o is a regular or event split
// Copyright INRIA
if o(1)<>'Block' then r=%f,return,end
r=o(3)(1)=='split'|o(3)(1)=='lsplit'
|
4a5dfacbb0c1798a78dd557cf2c4ec8a5ad787c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH42/EX42.7/example_7.sce | 86550e62aa67aae53ad9ff2d5a74c366bf36e818 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | example_7.sce | //Example 7
//chapter 42
//clc()
n=1.65
r_1=40//in cm
r_2=-40//in cm
disp("x=1/f in cm=")
x=(n-1)*((1/r_1)-(1/r_2))
disp(x)
disp("f=1/x")
f=1/x
disp(f,"f in cm=") |
b5eb54461adbcc8e9b5f40daf971ec391eb7c2f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /215/CH7/EX7.3/ex7_3.sce | a0192d74a08c64fb2cb1fc82a48d87bb25393cb4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex7_3.sce | clc
//Example 7.3
//Let wc be the energy stored in capacitor
C=20*10^-6; R=10^6;
t=0:0.001:0.5
v=100*sin(2*%pi*t)
wc=0.5*C*v^2
plot(t,wc)
xtitle('wC vs t','t in sec','wC in J')
//Let iR be the current in the resistor
iR=v/R
//Let pR be the power dissipated in the resistor
pR=iR^2*R
//If wR is the energy di... |
dcc3260bacc9f0c55bf915bb52bf42e92b1bd9fe | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/percent/%prp.sci | 32c08b0666681e10e34e941272a4272a166e2a03 | [
"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 | 256 | sci | %prp.sci | function f=%prp(p1,p2)
// f=%prp(p1,p2) <=> f= p1*(p2^(-1))
//p1 polynomial matrix
//p2 polynomial matrix
//!
[l,c]=size(p2)
if l*c <>1 then f=p1*invr(p2),return,end
[l,c]=size(p1)
[p1 p2]=simp(p1,p2*ones(l,c))
f=tlist(['r','num','den','dt'],p1,p2,[])
|
dba91bff7e35ac41cdd36ea7a33fc7ea6cce9e1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH8/EX8.9/exa_8_9.sce | 04c28b441416f646683e703c747a4d4a341746b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,328 | sce | exa_8_9.sce | //Exa 8.9
clc;
clear;
close;
//given data
Cph=3850; // in J/kg degree C
t_hi=100;// in degree C
t_ci=20;// in degree C
t_ho=50;// in degree C
Mh=8;// in kg/s
Mc=10;// in kg/s
Cpc=4.18*10^3;// in J/kg degree C
U=400;// in W/m^2 degree C
// Energy balance Mh*Cph*(t_hi-t_ho) = Mc*Cpc*(t_co-t_ci)
t_co= Mh*Cp... |
32a8d48cd174759b12c580c69ada2aca3ea31853 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH3/EX3.3.3/3_3_3.sce | 6106624c69928aec266d9e17c5b93f8f32231c76 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | sce | 3_3_3.sce | //Transport Processes and Seperation Process Principles
//Chapter 3
//Example 3.3-3
//Principles of Momentum Transfer and Applications
//given data
p1=137.9*1000;
p2=551.6*1000;
T1=26.7+273.2;
mmol=7.56/1000;
M=16;
mdot=mmol*M;
gam=1.31;
R=8314.3;
nWs1=(gam/(gam-1))*(R*T1/M)*((p2/p1)^((gam-1)/gam)-1);
n=8... |
1edc0a47f9f135d2676c687867d21a57cd46867c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH3/EX3.10/Ex3_10.sce | 3a55d656c746e577a78a23707930aebefe500063 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,024 | sce | Ex3_10.sce | // Scilab Code Ex3.10: Page-106 (2013)
clc; clear
phi = 2.36; // Work function of sodium, eV
N_A = 6.02e+023; // Avogadro's number
e = 1.6e-019; // Energy equivalent of 1 eV, J
I = 1e-008; // Intensity of incident radiation, W/Sq.m
K = 1.00; // Kinetic energy of the ejected photoelectron, eV
rho =... |
09e930320e3b1b3cfa2fc0d8a1f3500cab5a09ce | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH2/EX2.25/EX2_25.sce | 4b30d37ba817e9a74f9b8bccbc65959c0ff182c2 | [] | 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 | 1,070 | sce | EX2_25.sce | clc;funcprot(0);//Example 2.25
//Initilisation of Variables
T1=150;....//temparature at material A surface in degrees celcius
T3=50;.....//temparature between materials B&C in degrees celcius
K1=0.1;....//thermal conductivity of material A in W/m*degrees celcius
K2=1.0;.....//thermal conductivity of material B in ... |
282a27312cc7cbc77c04c09a26ae46bf9dbfa77b | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH7/EX7.2/example7_2.sce | a293d4366ae24670a15afddd166409dcbc8037f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sce | example7_2.sce | //clc()
P1 = 100;//kPa ( Vapour pressure of liq A )
P2 = 60;//kPa ( Vapour pressure of liq B )
T = 320;//K
//Pa = xa * P1 = 100 * xa
//Pa = xb * P2 = 60 * xb
//P = xa * P1 + ( 1 - xa )* P2
// = 100xa + ( 1 - xa )* 60
// = 60 + 40*xa
//ya = Pa / P
//0.5 = 100*xa / ( 60 + 40 * xa)
xa = 60 * 0.5 / (100 - 20);
... |
b4569ea195f262aee711f9eb02be340812e7afcc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH4/EX4.3/chapter4_ex3.sce | cf61b12f864ab07a1a245f3ac1c2ac1e21b305b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 993 | sce | chapter4_ex3.sce | clc
clear
//input
r1=10;//resistance of first coil in ohms
l1=0.05;//inductance of first coil in henry
v1=150;//limit of voltage drop across of first coil in volts
v=240;//supply a.c. voltage in volts
f=50;//frequency of supply in hertz
a=40;//angle by which current lags the combined circuit after adding anot... |
0363363b8f3bbd30cb075fab6002b319b28ef0e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH3/EX3.1/3_1.sce | 7e7e655a5d6945ec80f3ed027bde72b9e2211345 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 633 | sce | 3_1.sce | clc
//ex3.1
C=1*10^-6;
//t in micro seconds
t_1=[0:0.001:2];
t_2=[2.001:0.001:4];
t_3=[4.001:0.001:5];
t=[t_1,t_2,t_3];
//corresponding voltage variations
V_1=5*t_1;
V_2=0*t_2+10;
V_3=-10*t_3+50;
//charge q=C*V
q_1=C*V_1;
q_2=C*V_2;
q_3=C*V_3;
q=[q_1,q_2,q_3];
subplot(121)
plot(t,q*10^6)
xtitle('char... |
1afe34fb177419ebf519a64d9d63722ae78fd468 | 36e294af022143c4ad0adaf1a40183c8114cb39a | /Scripts/macro code.sce | 7951a1bace2d4f44a96209627f858b3166330a43 | [] | 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 | 526 | sce | macro code.sce | // make code for sa macro
A(1,1) = '# 80MHz to 100MHz'
A(2,1) = 'sens:spec:freq:center 90e6'
A(3,1) = 'sens:spec:freq:span 20e6'
A(4,1) = 'init;'
A(5,1) = '% sleep 30'
A(6,1) = 'mmemory:store:results "80MHz to 100MHz1.csv'
for k = 1:50
A((1+(6*k-1)),1) = '# 80MHz to 100MHz'
A((2+(6*k-1)),1) = 'sens:spec:freq:cent... |
9f13a19a733d59fe2508935c67e1b5191150c112 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH5/EX5.9.a/Example5_9_a.sce | 7756f78d447c0fb2227f6fcf530dd0ac27791b23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 615 | sce | Example5_9_a.sce | //Example 5.9(a)
clear;
clc;
As=5;
Vs=15;
R1=25.5*10^3;//Assuming R1=25.5 kohms
R2=(As-1)*R1;
Rp=(R1*R2)/(R1+R2);
brec=As;//reciprocal of b
Vosmax=6*10^(-3);
Iosmax=200*10^(-9);
EImax=Vosmax+(Rp*Iosmax);
Eomax=brec*EImax;
Vx=Eomax/(-R2/R1);
Vxs=Vx-(2.5*10^(-3));
RA=100;
R... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.