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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e45ca3eba63d9f6e86463181625477c191ff1d80 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_bundle_1_h.tst | 29ce4b8e83a45fd57a421c226bec8b867a8af89e | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 55 | tst | test_bundle_1_h.tst | adding "~temp.jpg"
append "test.jpg"
append "test.png"
|
d3c092ba503cd423c7e529d4108955432088fdb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3544/CH6/EX6.54/Ex6_54.sce | 6e76847b447c290b2320d2f3b8394406519696c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,359 | sce | Ex6_54.sce |
//Base 64 encoding example
[u,t,n] = file()
n = strcat(n)
file_name = basename(n)+fileext(n)
file_name = strcat(file_name)
ind=strindex(n,file_name)
path = part(n,1:ind-1)
chdir(path)
//Get function to create encoding table
exec("Chapter_6.sci",-1)
enc = encoding_table()
inp = "00100011010111001001... |
df9bbb845f96906f319cbdf78c078342e73e5c5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3740/CH3/EX3.2/Ex3_2.sce | bb04a6da2a2a6a6a1ec04c92d074ad333520967d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | Ex3_2.sce | //Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
//Example 3.2
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
lambda=1.06e-6;//Wavelength at which half-wave voltage is to be calculated, in m
r=10.6e-12;//Linear electro-optic coefficient of KDP crystal in m/V
n0=... |
c35ede37a2470c5f22b18afcc630c03dda814fc9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH9/EX9.10d/eg9_10d.sce | d8ce66506606cca00db70691a41693f3017b0c3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,012 | sce | eg9_10d.sce | y=[79.2 ;64.0; 55.7; 56.3; 58.6; 84.3; 70.4; 61.3; 51.3; 49.8];
x1 = [0.02 0.03 0.03 0.04 0.10 0.15 0.15 0.09 0.13 0.09];
x2 = [1.05 1.20 1.25 1.30 1.30 1.00 1.10 1.20 1.40 1.40];
tvalue= 2.365;
x = ones(10,3);
for i=1:10
x(i,2)= x1(i);
x(i,3)= x2(i);
end
pro1 = x';
//disp(pro1);
pro2= pro1*x;
/... |
78fde56f2edaa2e0a103c0f1049e03bbd8d75269 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH16/EX16.10/16_10.sce | 1954003cb7b37a5483da33fe26c3f9b1e80927b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 745 | sce | 16_10.sce | //Chapter 16, Problem 10
clc;
L=100e-3; //inductance in henry
R=800; //resistance in ohm
f=5000; //frequency
V=12; //voltage
w=2*%pi*f;
C=(L*(w^2+(R^2/L^2)))^-1; //capacitance in farad
Xl=2*%pi*f*L; /... |
4f686b2e7f794c1479cee917d9509c01bdf0331d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH11/EX11.5/11_5.sce | bc3e2eee02d639e2e727157c562aaaba65bff1d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | 11_5.sce | clc
//initialization of variables
P1=100 //lb/in^2
T1=500+460 //R
P2=15 //lb/in^2
eta=0.95
A=1 //in^2
gamma=1.4
//calculations
Ve=2200 //ft/sec
V2=eta*Ve
T2=T1*(1-eta*(1-(P2/P1)^((gamma-1)/gamma)))
vexit=53.3*T2/(144*P2)
wdot=A*V2/(144*vexit)
//results
printf("Exit velocity = %.1f ft^3/lbm",vexit)
print... |
3434e2d92a0bca03fef2bfa594cdf4b5efec0704 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/DiffusionSolver/Tests/TestMMFDiffPlane.tst | 5d72ec5f11d88dd37024a26a464a03fe4dd55e7d | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 574 | tst | TestMMFDiffPlane.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description> 2D MMF implicit diffusion </description>
<executable>MMFDiffusion</executable>
<parameters> TestMMFDiffPlane.xml</parameters>
<files>
<file description="Session File"> TestMMFDiffPlane.xml</file>
</files>
<metrics>
<metr... |
d1d92f83deea013b2d8040776d84e82bc26683f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH8/EX8.1/Ex8_1.sce | f9b33bc9d9c2fad018067fdcf73f7e135e2eba05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sce | Ex8_1.sce | clc
// initialization of variables
clear
t=4 //mm
// calculations
l1=100 //mm See figure
l2=50 //mm See figure
ybar=125 //mm
t=t*10^-3
ybar=ybar*10^-3
l1=l1*10^-3
l2=l2*10^-3
Ix=2*t*(2*(l1+l2))^3/12-t*(2*l1)^3/12
qAk=l1*t*ybar // qA=qAk*V
qBk=qAk+l1*t*l1/2
qave=qAk+2/3*(qBk-qAk)
F2k=200*qave*10^-3 //F2=... |
a211bd1d2380a80db77881c20beb7c38500bb943 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH5/EX5.1.4/example5_4.sce | f4ff5d23c8dc5642bd653e71c594d61fb356e0ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 912 | sce | example5_4.sce |
//exapple 5.4
clc; funcprot(0);
// Initialization of Variable
//part1
//maximizing eqution in theta & get a function
function[y]=theta(x)
y=(x-.5*sin(2*x))/2/x^2-(1-cos(2*x))/2/x;
endfunction
x=fsolve(2.2,theta);
x=round(x*1000)/1000;
a=(1-cos(x))/2;
printf("velocity will be maximum when stream dept... |
0d17bf6d3ccc0adba2f85ccec756af7ce7edd229 | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH15/EX15.5/exa15_5.sce | 546732b06e358f38a7351eb3d1bc0ea84570d804 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 568 | sce | exa15_5.sce | clc;
//Example 15.5
//Page No 651
//solution
f=6;
a=0.03;
c=3*10^8;
disp("(a)The cutoff frequency is determined by substituting into equation 15-41, ");
fc=(c/(2*a));
fc=fc/10^9;
disp('GHz',fc,"fc = ");
disp("(b)The cutoff wavelength is determined by substituting into equation 15-42, ");
lc=2*(a);
disp('m',l... |
95daf480b7a642953a0ca813727d2251717a879c | cf99f338f2e97fd7e8ae1ad9b640101832f787ba | /case-studies/week-12/week-12-q2.sce | 56c1e0b750ba41dbf14b1ee83a4fda77d8183380 | [] | no_license | vsujeesh/BN5205 | b8e88324c1c97971ba3d95c3125d05676b6e4996 | 7386a440ed3e954c4aeb490eebd948d35186635d | refs/heads/master | 2022-03-13T01:00:24.783429 | 2019-10-22T03:23:55 | 2019-10-22T03:23:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,725 | sce | week-12-q2.sce | clear;
stacksize('max');
//==============================================================================
// Creates sparse matrix using the compressed row storage format
//==============================================================================
function [val, col_ind, row_ptr] = MakeCSRMat(M)
[num_rows, num_co... |
e34494d8197ff0bc370c4d4a1fde3626565c6d51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH3/EX3.12/3_12.sce | a462c88e2a06433178ff0abed10b3b51e4deef28 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 828 | sce | 3_12.sce | clc,clear
printf('Example 3.12\n\n')
V=200
R_sh=240,R_a=0.1 //resistance of shunt field winding and armature
rotational_loss=236
I_L_FL=9.8 //full load line current
N=1450
I_sh=V/R_sh
I_a_FL = I_L_FL - I_sh
E_b= V- I_a_FL * R_a
//part(i)
gross_mech_P_dev= E_b*I_a_FL //gross mechanical power developed
... |
6cecc440d85b0e6e4baeacdfaa5ccd1df218f643 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH4/EX4.2/4_2.sce | 0865113799c7873552f691e7471ce48420722999 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 503 | sce | 4_2.sce | Qacb = 84e03;
Wacb = 32e03;
Uba = Qacb-Wacb; // Ub-Ua
// Part (a)
Wadb = 10.5e03;
Qadb = Uba+Wadb;
disp("J",Qadb,"The heat flow into the system along the path adb");
// Part (b)
Wb_a = -21e03;
Uab = - Uba;
Qb_a = Uab+Wb_a;
disp("J",Qb_a,"The heat liberated along the path b-a is")
// Part (c)
Wdb = 0; // ... |
43debef685a82ce4736f8212ef9f96deffafa392 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH10/EX10.8/Example_10_8.sce | 343f2a9a0ea05f663f58e40d64d7e1731d25bccf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 540 | sce | Example_10_8.sce | clc;
clear;
printf("Example 10.8\n")
L=825e-3; //length of the tube
d=15e-3; //diameter of the tube
P_i=7.5e3; //Partial pressure of ammonia at inlet
P_o=2e3; //Partial pressure of ammonia at inlet
A_r=2e-5; //Air rate
P=101.3e3; //Atmospheric pressure
D_F_m=(P_i-P_o)/log(P_i/P_o);//Mean driving force
A... |
342aec5a40810c3c8516f981073d2a1930534af6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3885/CH6/EX6.15/Ex6_15.sci | 1f108853280886f3a0f4587cf36206ca7364a4b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,171 | sci | Ex6_15.sci | //control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 6.15
clc;
clear;
s=poly(0,'s')
//dominent pole sd=-zeta*w=%i*w*sqrt(1-zeta^2)
zeta=0.9//damping ratio
w=2.5//natural frequency of osciilation in rad/sec
sd=(-zeta*w)+... |
59a3ffaa43583e3e5a5af9e55d0e8cff325a3100 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3516/CH4/EX4.4/Ex4_4.sce | 0b519eece997c747c15a6ed47c205091c0f695f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 932 | sce | Ex4_4.sce | clc
//page 82
printf("\t example 4.4 \n");
printf("\t approximate values are mentioned in the book \n");
T1=300+460; // R
T2=75+460; //R
A1=0.622; // area from table 11 in the appendix A,ft^2/lin ft
A2=4*(1*1); // surface area of duct,ft^2/lin ft
e1=0.79; // emissivity of oxidized steel from table 4.1
e2=0.276... |
2af76ae1ce84109a0ba6a7435263ff3621e9e741 | 717ddeb7e700373742c617a95e25a2376565112c | /1592/CH10/EX10.11/example_10_11.sce | e2f72428c2bd29f1340f62db104d95b66bceb6d5 | [] | 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 | 455 | sce | example_10_11.sce | //Scilab Code for Example 10.11 of Signals and systems by
//P.Ramakrishna Rao
//System Identification
//Cross Correlation
clear;
clc;
clear x n a y h z;
x=[1,1,1,1,0,0];
y=[1,3,6,10,12,12,10,6,3,1];
h(1)=y(1)/x(1);
for n=2:7
for k=1:n-1
z(k)=(h(k)*x(n-k));
h(n)=(y(n)-sum(z));
end
end
... |
8e041d181c25d38cadbc0d5a70dce028472fb2a0 | b5c67ec6ca2b68ab137bf01b712c2296efa2276d | /code/tst/suite_10_options.tst | 4ccc2537d52a7e9b34da9c99894582648192ee43 | [
"BSD-3-Clause"
] | permissive | mikekucera/MapleMIX | 32acb8ffa0af64efe9eb1367a40a099de18232f7 | 695307111fbeb360c30d8c3ef30cc182bc3678b4 | refs/heads/master | 2023-06-22T21:57:01.033953 | 2023-06-09T14:43:39 | 2023-06-09T14:43:39 | 27,238,914 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,891 | tst | suite_10_options.tst | #test
# TEST SUITE 10: Options ################################################
with(TestTools):
kernelopts(opaquemodules=false):
#libname := libname, "/home/mike/thesis/trunk/maple/pe/current/lib":
libname := libname, "../lib":
with(PEOptions);
#########################################################... |
28f5e32f4a943d46b19161b4cebbd7a94a44144a | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Time attack Push out tiles.sce | be600308dcc5eb89db8cd2181af705ea2dcbbb39 | [] | 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 | 268,315 | sce | Time attack Push out tiles.sce | Name=Time attack Push out tiles
PlayerCharacters=POT Challenger
BotCharacters=POT Targets.rot
IsChallenge=true
Timelimit=30.0
PlayerProfile=POT Challenger
AddedBots=POT Targets.rot;POT Targets.rot;POT Targets.rot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=2;2;2
MapName=push_out_tiles.map
MapSc... |
c71ace534a65c3d9a053e543d6b30225024e4dd7 | 881e0bcc7118244a24f736786ac36140acfb885e | /yeast/results/GAssist-ADI-C.yeast-3/result8s0.tst | 4ea94043963c76dda688585ee05e5afbdaed4d95 | [] | 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 | result8s0.tst | @relation yeast-3
@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... |
3a1a0dd7aca4eed78d0bbeefb5ec9ca2be4e86dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH3/EX3.2.3/exa3_2_3.sce | 2f5e487bb5ea98bec0314c108b227e22e808d276 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 443 | sce | exa3_2_3.sce | //Caption:transfer_function
// example 3.2.3
//page 35
// we have defined parallel and series function which we are going to use here
//exec parallel.sce;
//exec series.sce;
syms G1 G2 G3 G4 G5 G6 H1 H2;
//shift the takeof point placed before G2 towards right side of block G2
a= G5/G2;
b=parallel(G3,G4);
c=se... |
ef7f510ca6e23a2e2a67ee293359c21c7d310e29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH16/EX16.8/example16_8.sce | 1f99a5c3c197f1aca667f2de380698c5b5491d43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 497 | sce | example16_8.sce | clc
// Given that
d = 8.92e3 // density of copper in kg/m^3
i = 5 // current in amp
w = 63.5 // atomic weight of copper
r = 0.7e-3 // radius in meter
N = 6.02e28 // Avogadro no.
e = 1.6e-19 // charge on an electron in C
// Sample Problem 8 on page no. 16.17
printf("\n # PROBLEM 8 # \n")
printf("Standard formula used ... |
931611712d9615a1f037e946aa29710bba3046da | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH1/EX1.1.72/Ch1_1_72.sce | 9b097eea6ae29bc91bb61bbabbcd88a21723e6b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch1_1_72.sce | clc
disp("Example 1.72")
printf("\n")
disp("Find the maximum current flow through Zener diode")
Vz=7.5 //zener voltage
Pd1=400*10^-3 //maximum power dissipation at 50c
T1=50
T2=100
D=3.2*10^-3
//current at 50c
Izm1=Pd1/Vz
//current at 100
Pd2=Pd1-((T2-T1)*D)
Izm2=Pd2/Vz
printf("maximum current flow thr... |
3de2230cb951cbd60d2a6c1524771bb78cf93403 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH2/EX2.28/Ex2_28.sce | c2e8469691275e4508d8f3058273297dd2a9938a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 801 | sce | Ex2_28.sce | // Exa 2.28
clc;
clear;
close;
// given :
epsilon_0=8.854*10^-12 // permittivity in free space in F/m
mu_0=4*%pi*10^-7 // permeability in free space in H/m
epsilon_r=4 // relative permittivity
mu_r=1 // relative permeability
epsilon=epsilon_r*epsilon_0 // permittivity
mu=mu_0*mu_r // permeability
H=5 // mag... |
d25fccb7c16e0182728f805c2d8010b5f7a72033 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH3/EX3.5/Ex3_5.sce | 9bce6c835fe28a4ee9c09609faea8a2d9efb8164 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 601 | sce | Ex3_5.sce | clc
// Given that
mu = 0.08// Cofficient of friction between the job and the dies
Y = 7 // Avg yield stress of the lead in N/mm^2
h = 6 // Height of die in mm
L = 150 // Length of the strip in mm
V1 = 24*24*150 // Volume of the strip in mm^3
V2 = 6*96*150 // Volume of the die in mm^3
w= 96 // Weidth of the die in mm
... |
7fd0f8d89d622d5663d6e1f9be5c546571bdd65a | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.5_10.tst | eb1e2e602882cccc9db555fad58c709c9b119d23 | [] | 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 | 5,286 | tst | bow.5_10.tst | 5 56:0.5 119:0.16666666666666666 251:0.25 266:1.0 308:0.2 1156:1.0 1322:1.0
5 1:0.6666666666666666 3:0.022222222222222223 7:0.6666666666666666 25:1.0 30:1.0 44:0.16666666666666666 57:0.0625 134:0.5 283:1.0 430:1.0 436:1.0 508:1.0 561:1.0 598:1.0 931:1.0 1029:1.0 1105:1.0 1609:1.0
5 1:0.2222222222222222 3:0.022222222222... |
5c562536e6136922510318551c4c8814d71b8f14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH5/EX5.1/5_1.sce | 3f9476553d3b955567496d6b6cadeaea7b70c64e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | 5_1.sce |
//data
f2=9 //MHz
f1=11 //MHz
R=50 //ohm
W1=2*%pi*11*10^6 //rad/s
W2=2*%pi*9*10^6 //rad/s
//formula and result
printf("\nresult:-")
Wo=sqrt(W1*W2)
fo=sqrt(f1*f2)
printf("\nWo=sqrt(W1*W2)\nfo=sqrt(f1*f2)=%.6f MHz",fo)
L=R/(W1-W2)
printf("\nQ=Wo*L/R=Wo/(W1-W2)\nL=R/(W1-W2)=... |
e5cb5345eed1da8682e8ff3eb2b2f7d372308d76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH3/EX3.11/ex3_11.sce | e34d720906afa8396a32a1cd3b3c9c9f86895eb6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | ex3_11.sce | // Exa 3.11
clc;
clear;
close;
// Given data
A_v = -8;
V_in= -1;// in V
I1 = 15;// in µA
I1 = I1 * 10^-6;// in A
R1 = -(V_in)/I1;// in ohm
R1 = R1 * 10^-3;// in k ohm
disp(R1,"Minimum value of R1 in kΩ is");
R_F = -(A_v)*R1;// in k ohm
disp(R_F,"The minimum value of R_F in kΩ is");
// Note: There is ca... |
a07eafdc3c147496deca3c67dad70665dd6f7b54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH9/EX9.2/exm9_2.sci | 692ad40e862e2927a6116a6ba9f42eef749420c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | exm9_2.sci | // Example 9.2
//Modify Example 9.1 to include arguments in function calls.
funcprot(0);
function []=printline(ch) //function with argument ch
for i=1:52
printf("%c",ch);
end
printf("\n");
endfunction
function []=value(p,r,n) //function with argument p,r,n
... |
ca25ba19d0a8a3961a17248c8a0c98992dece0ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH1/EX1.1/1_1.sce | 867b875c67b75200ba733f8d33a309baa3d581c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 166 | sce | 1_1.sce | clc
//initialisation of variables
r= 2 //ft
p= 120 //lb/ft^2
//CALCULATIONS
F= p*%pi*r^2
//RESULTS
printf (' total force tending to lift the done= %.f Lb',F)
|
790cd27930d301baaf04db7869965b8c7946ec4f | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/gr_harm/condor/myscijob3.sce | e47e4c4989b7e897e90f938077798adea8ea49fc | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | myscijob3.sce | //function myscijob()
a=rand(20,20);
b=rand(20,1);
A=sparse(a);
[h,rk]=lufact(A);
x=lusolve(h,b);
res=a*x-b
fprintfMat('myscitest3.dat',x);
exit();
//endfunction
|
450d6e26bacbb6b04834ce511eca2de98b1c883a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH7/EX7.6/Ex7_6.sce | 9487ac5fbf0c5d7f6b25994911f66561045922ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 983 | sce | Ex7_6.sce | // chapter 7 example 6
//-----------------------------------------------------------------------------
clc;
clear;
// given data
D = 3; // diameter of the antenna in m
n_l = 0.7; // length efficiency
nr = 0.9; // radiation efficiency
f = 10*10^9; // antenna operating freq.... |
bc694dd2dd97253af054e8a693be5f2193d579aa | cc6f0e3263afa5c17e3de6b1e41c4820cfe7f26b | /markov chain scilab/MarkovChain.sce | 811921caa7f155b73eae3a56ae682a6780e5c419 | [] | no_license | erickpires/AD_Simulacao | 0f04c9085bf77b54dd540ab27024536b506a29e6 | a107ceeea2bee26259c9da27b2a24f47ea053ff9 | refs/heads/master | 2016-09-05T13:05:56.239069 | 2015-08-24T01:39:01 | 2015-08-24T01:39:01 | 40,246,569 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,184 | sce | MarkovChain.sce | function[x] = MarkovChain(lambda, mu, p, n)
Q = zeros(n,n);
for i = 1:n
for j = 1:n
if (i - j == 1) then
Q(i,j) = mu*(1-p);
elseif (i - j == -1) then
Q(i,j) = lambda;
else
Q(i,j) = 0;
end
end
... |
43f3482bd9b0d5f22fdec8e2cd15212f9fdc1f8d | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_High_Voltage_Engineering_C._L._Wadhwa_3487.zip/High_Voltage_Engineering_C._L._Wadhwa_3487/CH6/EX6.7/Ex6_7.sce | 0c86508b40e630ba15ce61586a930ed0a6129f3b | [] | 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 | 303 | sce | Ex6_7.sce | errcatch(-1,"stop");mode(2);//Chapter 6,Example 6.7 Page 201
//Refer Fig Ex. 6.7
Er = 3.8
v = 21 // KV/cm
ind = v/Er // internal discharge in kV/cm
V = (ind*0.9)+(v*0.1)
printf (" Internal discharge = %f kV/cm\n ",ind)
printf (" V = %f kV rms\n ",V)
//Answer may vary due to round off error
exit();
|
4a047a6750a88723c65694ebdcfc607f3bce8f15 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH21/EX21.1.2/ques1_2.sce | c9f5b89bdc08ef286daee9976902366d30077bef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 107 | sce | ques1_2.sce | //ques1(ii)
disp('To find the laplace of given function in t ');
syms t s
disp(laplace((cos(t))^2,t,s)); |
36fbd2c709bdff3c24c8d05c0efe0f3a5960ede2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH13/EX13.4/sadiku_13_4.sce | c32f27ba065bead5e4ff895f9d3eff71f1756525 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sadiku_13_4.sce | clear;
clc;
format('v',7);
G=5;
r=10*10^3;
P=20*10^3;
n=120*%pi;
Gd=10^(G/10);
E=sqrt(n*Gd*P/(2*%pi*r*r));
disp(E,'Electric field intensity at 10 km ='); |
9c4744f38996e4aad86c104cb60d9eab4aa926bc | 18cbceafa51692cec0d288cd11a9d4024eacd919 | /02/Or16S1.tst | 8f26f2717d5a9b0f437229b9a1f3e80306f9a4b6 | [
"MIT"
] | permissive | hw4282/nand2tetris | a4f95dba8fbe779974befa8d422be7b9be9e0f28 | 87a4ac19595871f3e6b695dd7371898d1ea2f896 | refs/heads/master | 2021-04-28T09:09:01.446446 | 2018-02-26T06:03:38 | 2018-02-26T06:03:38 | 122,032,122 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | tst | Or16S1.tst | load Or16S1.hdl,
output-file Or16S1.out,
compare-to Or16S1.cmp,
output-list a%B2.16.1 b%B2.1.2 out%B2.16.1;
set a %B0000000000000000,
set b 0,
eval,
output;
set a %B0000000000000000,
set b 1,
eval,
output;
set a %B1111111111111111,
set b 0,
eval,
output;
set a %B1111111111111111,
set b 1,
eval,
output; |
87776a0b65621f8041801e4ee4dd4b3b39dc5448 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH11/EX11.4/Ex11_4.sce | 855e897e6e89540a1ef393c193d672db3ac4c78e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 654 | sce | Ex11_4.sce | clc
T = (3754-3063)/(23.03-19.49) // Temperature at triple point in K
P = exp(23.03-(3754/195.2)) // Pressure at triple point
R = 8.3143 // Gas constant
Lsub = R*3754 // Latent heat of sublimation
Lvap = 3063*R // Latent heat of vaporisation
Lfu = Lsub-Lvap // Latent heat of fusion
printf("\n Example 11.4")
p... |
370f2cafefd2ac833da8945d623d1c6f14a2a23a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH9/EX9.a.17/Example_a_9_17.sce | e4745b65ac96654a74e60e7df8445c70708199a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 133 | sce | Example_a_9_17.sce | //Example_a_9_17 page no:417
clc;
Il=35.35;
n=6;
Iph=Il/(2*sind(180/n));
disp(Iph,"the magnitude of phase current is (in A)");
|
a46cf6af06eca08062d9dd6827a400d32d68b612 | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH1/EX1.7/Ch01Ex07.sce | 8be5ff18922b1738d6f9297feda486ee6ce5c0f6 | [] | 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 | 416 | sce | Ch01Ex07.sce | // Scilab code Ex1.7: Pg.32 (2008)
clc; clear;
Beta = 0.5; // Boost factor = v/c
delta_ct_dash = 2; // Distance, m
gama = 1.15; // Relativistic factor = 1/sqrt(1-(v/c)^2)
delta_x = gama*Beta*delta_ct_dash; // Spatial separation of events, m
printf("\nSpatial separation of events measured in S frame =... |
958db92789712b7c6ed147f65d609cef22c29a68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH5/EX5.5/Ex5_5.sce | cf36099aa0326f430b7c5301e517ff8b602fa48c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sce | Ex5_5.sce | //chapter 5 example 5
//=============================================================================
clc;
clear;
//Given Data
F = 1*10^9;//two cavity klystron operating frequency
Va = 2500;//Accelarating voltage in volts
e = 1.6*10^-19;//charge of electron
m = 9.1*10^-31;//mass of electron ... |
cc1d35b59b0bf9393449ee379bcc743025fee1ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH8/EX8.5/exm8_5.sce | da0af33665a7c3303666c4ed8883af5fd20c92ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 760 | sce | exm8_5.sce | // Example 8.5
//Write a program using for loop to print the following output:
// C
// CP
// ....
// ....
// CProgrammimg
// CProgrammimg
// ....
// ....
// CPr
// CP
// C
string1='CProgramming';
printf(" -------------\n");
f=' ';
for i=1:12
f=f+part(string1... |
40bd3192d3657d9071c46baa367e845af119a441 | d897696cc5ab77f0fa78fb32a26fba4611f9b9ea | /processing_asc.sce | 4298ad4ae46b64ee1055ea2e87f15a5f0db10369 | [] | no_license | hnizdil/it3105-image-processing | 3ebf6ae8f18a6dfb4b1e91dd88fee594fc322ffb | 26ac31b32c6b8012094583b128a7b2b304f021e0 | refs/heads/master | 2021-03-12T22:41:42.261537 | 2009-10-26T10:51:57 | 2009-10-26T10:51:57 | 32,507,477 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 560 | sce | processing_asc.sce | //main program
mask1=[-1 0 1;-2 0 2;-1 0 1];
mask2=[1 2 1;0 0 0;-1 -2 -1];
fd = mopen("image.asc",'r');
data = mfscanf(-1, fd, "%d");
dimension = sqrt(length(data));
//something wrong in the image rotation
data = (matrix(data,dimension,dimension));
//matrices for both masks
data_new1 = proc(data, mask1);
data... |
664c0b0e33a2ddeb90366676786f32b629644d04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH9/EX9.11/Ex9_11.sce | dbb61f5e187f877c5b9a8fda7ec8c56f6a7b6826 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 805 | sce | Ex9_11.sce | // Exa 9.11
clc;
clear;
close;
// given :
n=0.92 // refrective index
MUF=10 // maximum usable frequency in MHz
MUF=10*10^6 // maximum usable frequency in Hz
f=10*10^6 // in Hz ordinary frequency and maximum usable frequency are same
h=400 // height of ray reflection point on the ionospheric layer in Km
h=400*... |
27ce30f70d2f1f94665aa98bcf87521e54c4c194 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/CMP4.prev.tst | f814b8c05c5b8d8b052a7c104a264413291bbb32 | [
"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 | 374 | tst | CMP4.prev.tst | 2,1: 5 3 4
3,2: 13 5 12
4,1: 17 15 8
4,3: 25 7 24
5,2: 29 21 20
6,1: 37 35 12
5,4: 41 9 40
7,2: 53 45 28
8,1: 65 63 16
6,5: 61 11 60
7,4: 65 33 56
8,3: 73 55 48
9,2: 85 77 36
10,1: 101 99 20
7,6: 85 13 84
8,5: 89 39 80
9,4: 97 65 72
10,3: 109 91 60
11,2: 125 117 44
12,1: 145 143 24
8,7: 113 15 112
... |
a7b3efc9471e8fa1540af06e873616889dd35e5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.96/Ex96.sce | 370e5fa7d329a6e089869029ce10b37f5cfcbe01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | Ex96.sce | //Ex:96
clc;
clear;
close;
t_o=300;// in K
g_a=65;// antenna gain in db
n_c=60;//in K
l_w=0.5;//waveguide loss in db
g_s=g_a-l_w;//system gain in db
L=10^(.5/10);
t_s=(n_c/L)+(L-1)*t_o/L;
g_t=40;// in db/K
t=10^((g_s-g_t)/10);//in k
t_e=t-t_s;//in k
printf("The equivalent noise temperature=%f K", t_e); |
e298fa6505d9f685f5738e6b512801f0cc871418 | d56141249002a5da7c4a2641dbdfc609809046a8 | /espresso/qe_fatband_plot.sce | 5488dd7aeac7cb5fcb7eb81afed74f1ca706b32f | [] | no_license | kcbhamu/DFTutilities | 14a77226c1229ec61563cc08316d6c32814ddb57 | d6c859407a6b13c8bc5340c08db7a0125d6ed4e6 | refs/heads/master | 2021-06-24T15:23:58.675113 | 2017-08-23T20:56:44 | 2017-08-23T20:56:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,319 | sce | qe_fatband_plot.sce | // This code plots the fat band structure calculated by quantum espresso.
// To run this code, you will need to download projwfc.dat, projwfc.out
// and bands.dat
clear; clc; xdel(winsid()); exec(PiLib); //stacksize('max');
// Parameters ======================================
work_dir=[];
project_name='KCu6B4'
task='p... |
35931b704b73ed3dd70a39688c889ee4b37ec321 | 3fb2b65e8ef9208e822aad35c618441282e08a30 | /scilab/test1/luaspp.sci | 0d0cfb83818ef102aee41b12a848742900ba27c9 | [] | no_license | Lukmannudin/TugasKuliah | 33031fb4f6ff0ab7a5849cda3ea15330e2527c3f | 19738c858dea539f0a5569f27be68b1a56c2aa89 | refs/heads/master | 2020-03-07T15:49:59.414761 | 2018-06-09T07:41:39 | 2018-06-09T07:41:39 | 127,565,939 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 48 | sci | luaspp.sci | function L=luaspp(p,l)
L = p*l;
endfunction
|
c75b4fb2b17455438d0681ba52832485d33617cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH12/EX12.6/example_12_6.sce | 1507d88a497e69fbd333655816fbaf1ffd22ee5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 812 | sce | example_12_6.sce | //Chapter 12
//Example 12.6
//page 457
//To find steady state power limit
clear;clc;
V=1.0; //infinite bus volatge
Vt=1.2; //terminal volatge
Xd=0.5*%i; //synchronous generator reactance
X=%i; //series reactance
//by solving the expressions given in the textbook
theta=acosd(0.5/1.8);
printf('\n\ntheta=%0.3f deg',theta... |
6b78dd81b23cf5ff18a934dce9770fba168588f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH11/EX11.1/example1.sce | 7a23cec31926fb5aa0e789185de4d0c3b55e5014 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,132 | sce | example1.sce | printf(" Given C(s)/R(s)=14/(s^2+1.4*s+14)")
printf("characterstic equation of the given system is s^2+1.4*s+14=0");
printf("compare it with the standard second order characterstic equation s^2+2*d*w*s+w^2=0");
w=sqrt(14);
d=1.4/(2*w);
d1=.7;
t=2*(d1-d)/w;
pt1=%pi/(w*sqrt(1-d^2));
mo1=exp((-%pi*d)/sqrt(1-d^2))*... |
d610b34fdf7b4768fc7a6afac4b6816722045d93 | a77a50f3f25853ec6a7b5b8548a13b7a4b4b3980 | /rsc/sceneries/town-west.sce | ba5245e622294755e14b524b5ce5948b441b360d | [] | no_license | nidoro/PointlessWars | f051b41cb71df783141e5953d2c03d9cf305150a | 2e8a9c073026ebb07454922cc3caec41d8c68f29 | refs/heads/master | 2021-03-27T13:12:04.182891 | 2016-11-08T15:23:16 | 2016-11-08T15:23:16 | 71,281,107 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,271 | sce | town-west.sce | %Background
scene-1.bg
%Music
NONE
% OBJECT-NAME X-RELATIVE Y-RELATIVE X-SCALE Y-SCALE H-FLIP V-FLIP
agua 0.0137 0.1045 1.0000 1.0000 0 0
agua 0.0403 0.1057 1.0000 1.0000 0 ... |
9bf94a6eab54e92754a9eebaa0b30b0b666790a7 | 29778da8b2321b9b111665ee097446f393795813 | /automatique/Cour/exosupp.sce | cf665ffe78ffd619bb5f8a1aaec6c1e0144ae792 | [] | no_license | RomainCocogne/Elec3 | 947fe8590fcc084f496e0934c2bda195adb4d33f | 47833a7112d50c6278898ee388044d5364fb482c | refs/heads/master | 2020-04-27T02:23:00.159518 | 2019-08-26T22:29:00 | 2019-08-26T22:29:00 | 173,992,180 | 2 | 0 | null | 2019-05-16T14:59:40 | 2019-03-05T17:37:22 | Jupyter Notebook | UTF-8 | Scilab | false | false | 585 | sce | exosupp.sce | clear;
xdel(winsid());
t=linspace (0,20,1E5);
p=poly(0,'p');
K=1;
H=syslin('c',K/(p*(p+1)*(p+2)));
T=syslin('c',K/(p+0.1*p*p+p*p*p));
Tbf=T/(1+T);
MGH=g_margin(H);
MPH=p_margin(H);
MGT=g_margin(T);
MPT=p_margin(T);
scf(1);
bode(H,1E-3,100);
a=gcf(); a.figure_name='bode H';
scf(2);
black(H,1E-3,100... |
b542fde423130fa0b478399752c36119f384b326 | 13195192acc730725307108d600fa0c8521661a7 | /Simpson.sce | 8485af332c81dffa4c83408d3ae77997240c2086 | [] | no_license | vsapiens/Numerical-Methods | 7c3fc223d60271786ee23e4ae489365c6e8ab781 | 4ec4facfe2eeb171ff0234e1c3f752115f7fb8a5 | refs/heads/master | 2020-04-25T05:21:00.798079 | 2019-04-25T16:15:31 | 2019-04-25T16:15:31 | 172,539,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,963 | sce | Simpson.sce | clear
///////////////////////////////////////////////////////
// Integral.sce
//
// Este programa aproxima la integral con puntos de la
// parábola con los valores de los limites y el número de
// particiones
//
// Erick González A01039859
// Víctor Villarreal A01039863
// 04 / 11 / 2019 version 1.0
/... |
64e4a68fc54deca00d769b4b3ff98c8366a6295b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1598/CH3/EX3.7/ex3_7.sce | fbec264ed3085056a172b39c50a759b39dc2dd13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | ex3_7.sce | clc;
fe=5; //focal length in cm
D=25; //distance od distinct vision in cm
mo=30/(1+(D/fe)); //calculating magnification of objective lens
disp(mo,"Magnification produced by objective lens = "); //displaying result |
5c7ac6f10d7d126827a35b595673ddbcdb204382 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH26/EX26.06/26_06.sce | 1502ce9d7334ed895d76237db0b86462fe180c3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 813 | sce | 26_06.sce | //Problem 26.06: A 300 kVA transformer is at full load with an overall power factor of 0.70 lagging. The power factor is improved by adding capacitors in parallel with the transformer until the overall power factor becomes 0.90 lagging. Determine the rating (in kilovars) of the capacitors required.
//initializing th... |
ff8b09b6aae250382ee19975515049db520f577a | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH8/EX8.20.a/data8_20.sci | 0f818cbed48045aeb1ce5aa146b1b6bd1e9fca0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sci | data8_20.sci |
//(Welded and Riveted Joints) Example 8.21
//Refer Fig.8.61 on page 310
//Width of the plate w (mm)
w = 250
//Thickness of the plate t (mm)
t = 20
//Permissible tensile stress in the plate and rivet sigmat (N/mm2)
sigmat = 80
//Permissible compressive stress in the plate and rivet sigmac (N/mm2)
sigmac = 120... |
2fcfd1193d9993deeb137615d5056658e782ec4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH1/EX1.16/Ex1_16.sce | 971ab1e5ee9f841e85e9ef29a3e1b3c3a12c5b33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_16.sce | // Chapter 1
//Rise time
//page 29
//Example no 1-16
//Given
clc;
//f2=0.35/Tr;
f2=100*10^3; //in kHz
Tr=0.35/f2;
printf("\n The rise time for 90 degree lag network is %.7f sec",Tr);// Result
|
7f52622f69c860d4a4a10837a04bbd2b7bf38cd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH4/EX4.01/4_01.sce | a29414dbcc1e3eed5a9bbcdc3f532defd66d6a5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | 4_01.sce | pathname=get_absolute_file_path('4_01.sce')
filename=pathname+filesep()+'4_01data.sci'
exec(filename)
printf("\Answer:\n")
printf("\n\area of the duct exit: %f m^2\n\n",A2)
|
51f6af6730d041f067c9e4d07853b06df5d0e51b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH2/EX2.11/Ex2_11.sce | 43a75070dac7726ce33747368394d5c30a935e07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 946 | sce | Ex2_11.sce | //Calculations on diesel cycle
clc,clear
//Given:
r=14 //Compression ratio
P1=1 //Pressure at 1 in bar
T1=27+273,T3=2500+273 //Temperature at 1 and 3 in K
//Solution:
//Refer fig 2.26
g=1.4 //Specific heat ratio(gamma)
T2=T1*(r)^(g-1) //Temperature at 2 in K
P2=P1*(T2/T1)^(g/(g-1)) //Pressure at 2 in bar
rho... |
fc2187081004f071236969574dcfc59023d94982 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1/Unix/scilab-2.1/macros/util/g_eye.sci | b4b588b4b27e3466f3c83eaf48739fa8b99ba885 | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sci | g_eye.sci | function x=g_eye(a)
// only to be called by function eye
//!
select type(a)
case 1 then
x=eye(a)
case 2 then
x=eye(a)
case 5 then
[m,n]=size(a)
x=sparse([],[],[m,n])
case 15 then
if a(1)=='r' then
x=eye(a(2));
elseif a(1)='lss' then
x=eye(a(5))
end
case 10 then
[m,n]=size(a)
x=eye(m,n)
else
... |
f651fb367ebb825ee4e31e54741adbe9fc6f2b75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH9/EX9.2/ex9_2.sce | 8f9e7d85fe2613d000bf2006242156148c798b80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,324 | sce | ex9_2.sce | clc;
r=18; // Compression ratio of an engine
p1=100; // Pressure of air before compression in lPa
T1=300; // Temperature air before compression in kelvin
qH=1800; // Heat added to the air in kJ/kg
k=1.4; // Index of reversible adiabatic process
Cvo=0.7165; // Specific heat at constant volume in kJ/kg K
Cpo=1.003... |
db61b1d46579b7f00c20a4dc90230f297296af45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3740/CH7/EX7.1/Ex7_1.sce | 07ec587ac11e5e6e924d135ae34b454021ba7fd7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_1.sce | //Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
//Example 7.1
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
D=1e9;//Specific detectivity of detector in m Hz^(1/2) W^(-1)
Lambda=2e-6;//Wavelength in m
A=25e-6//Detector area in m^2
Deltaf=10e3;//Detection band... |
bbf29ea614172ace81d94842767963ccbb751473 | 7d91f8b3cb8d228617c08467d41edcff14343b7f | /SM_kolo.sce | 912554a22c0e385f5828794c83cf6ec9e0744c14 | [] | no_license | szymczykmichal/KWP | aae875431be6fa9c1a370016396f2476cb06f793 | 77cbdf39521e41e2bbb9aa9c00fbba0766ec052e | refs/heads/master | 2020-04-26T08:50:05.726038 | 2019-04-24T19:47:19 | 2019-04-24T19:47:19 | 173,435,873 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,776 | sce | SM_kolo.sce | clear, close
exec ode1.sci;
clc
// | |
// | q1 | | q2 |
// ---------------------------------------
// /\ L/4 L/2 L/4 /\
// parametry
L = 4000; // długość belki
E = 210000 //N/mm^2 - szytwnosc na zginanie
I = ... |
137ddc6b74db43cfbb4839037d14a86080f67aa8 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Framedata.sci | 071f73816ab8521d9499d6d67a783d31c9b7a52b | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 750 | sci | Framedata.sci | // 2011.12.18 ( available for list )
function P=Framedata(varargin)
global XMIN XMAX YMIN YMAX
VaL=Flattenlist(varargin);
N=length(VaL);
if N<=1
H=1.0*10^(-4);
PA=[XMIN+H,YMIN+H];
PB=[XMAX-H,YMIN+H];
PC=[XMAX-H,YMAX-H];
PD=[XMIN+H,YMAX-H];
else
Tmp=VaL(N);
if type(Tmp)==1 & leng... |
6aa556cb97f77d8974a4f930d31ddfedb20e78c6 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /QL Instagib Warmup #2.sce | 1eb35485a350cea30140cf1f7e6bc45c9092d65a | [] | 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 | 58,290 | sce | QL Instagib Warmup #2.sce | Name=QL Instagib Warmup #2
PlayerCharacters=ST Challenger
BotCharacters=ST Target - Top.bot;ST Target - Middle.bot;ST Target - Bottom.bot
IsChallenge=true
Timelimit=30.0
PlayerProfile=ST Challenger
AddedBots=ST Target - Top.bot;ST Target - Middle.bot;ST Target - Bottom.bot
PlayerMaxLives=0
BotMaxLives=0;0;0
Pl... |
ac74806fe555929bf9e203b389377000eb757274 | 9224090b07cb3f466fe72819cf90ca0c4dedc901 | /Exercise 20/Exercise 20a.sce | 314b5a0acd03b946435a2ed2f34fdc067f65837b | [] | no_license | MGYBY/advanced_ocean_modelling | 8c383b09f4077174559bd7964062625012026fa0 | 848f0f4d616d472021c31582b64557f04067ce74 | refs/heads/main | 2023-07-14T14:37:57.714203 | 2021-08-20T20:13:49 | 2021-08-20T20:13:49 | 398,386,684 | 4 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,340 | sce | Exercise 20a.sce | //============================================
// Exercise 20: Geostrophic adjustment in 3d
//============================================
// Animation of surface density & flow field
// Author: Jochen Kaempf, March 2015 (update)
f = gcf(); f.color_map = jetcolormap(64); f.figure_size = [600,600]; scf(0);
// ... |
cfd1568db48935b36cb7becd95d2bba9e324e996 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/midcross/midcross4.sce | 4503a0fc0fcf88211b868d2b516d03caa408c1c9 | [] | 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 | 143 | sce | midcross4.sce | //check o/p for 5*1 matrix
x=[1.2;5;10; -20; 12]
t=1:length(x)
midcrossvalue=midcross(x, t);
disp(midcrossvalue)
//output
//3.6426667 4.335
|
1a7dc9ec668071548f332bb37395ae4ef3d95048 | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH6/EX6.4/example6_4.sce | 89516873aafd426f71ccf920f89d045b3bf3c2e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sce | example6_4.sce | clear
clc
//Example 6.4 WATER DEFLECTED BY A VANE
r=0.0417; //[ft]
A=%pi*r^2 //area[ft^2]
v=100; //velocty[ft/s]
rho=1.94; //[slugs/ft^3]
m=rho*A*v; //mass flow rate[slugs/s]
theta=60;//degrees
//Momentum outflow vector, mo=[mo_x mo_y]
mo=[m*v*cosd(theta) -m*v*sind(theta)]
//Momentum inflow vector, mi=[mi_x ... |
0dedf159a34ed22017a93b72e6d2cbf4d0c4cb04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH6/EX6.6/Ch06Ex6.sce | 495e0c972656f68cd337e9482c40b5a9cb08c061 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,229 | sce | Ch06Ex6.sce | // Scilab code Ex6.6: Pg 203 (2005)
clc; clear;
c = 1; // Assume speed of light to be unity, m/s
h_cross = 197.3; // Reduced Planck's constant, eV.nm/c^2
m_e = 511e+03; // Mass of an electron, eV/c^2
L = 0.200; // Length of the box, nm
E1 = %pi^2*(h_cross/c)^2/(2*m_e*L^2); // Ground state ener... |
7a28e34f016a38b6303f3ab311476c352b8472bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH17/EX17.3/Chap17_Ex3.sce | 827816aa3903ee809af6e1f3afbbd42946008478 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,115 | sce | Chap17_Ex3.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-17, Example 3, Page 444
//Title: Reactor-Regenerator with Circulating Catalyst: Catalytic Cracking
//===================================================================================================... |
714ee27cf67fd3559c6bd70bf85f1c85d50ebc1e | f4d3c7f7e8954cdeb6eb0c7b54a056242b07da22 | /Uppsala Biomodel/Project2/LVI.sci | cf185a996e3fcff3d33b34022675314cc8bb666e | [] | no_license | ThibaultLatrille/Slides-Sciencework | bfdf959dbbe4a94e621a3a9a71ccbcd06c5fc338 | 84b53f3901cbdb10fab930e832dc75431a7dce05 | refs/heads/master | 2020-04-27T07:53:52.313720 | 2019-03-06T16:17:57 | 2019-03-06T16:17:57 | 174,151,758 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,473 | sci | LVI.sci | function dx=Gl(t,x)
k=4.2; m=3; v=1;
dx(1)=x(1)*(1-x(1)/k)-m*x(2)*x(1)/(1+x(1))
dx(2)=m*x(2)*x(1)/(1+x(1))-v*x(2)
endfunction
function dx=Gl(t,x)
v=0.4; m=.2505; k=0.1770068;
dx(1)=x(1)*(1-x(1)/k)-m*x(2)*x(1)/(1+x(1))
dx(2)=m*x(2)*x(1)/(1+x(1))-v*x(2)
endfunction
clf()
v=0.2; m=... |
fcb0ae46eca57eb8b1935e65e3d63f4549a7dbe8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH12/EX12.24/Ex12_21.sce | b4cc88b06534a6d2554a33f7e84977cae6b251f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 523 | sce | Ex12_21.sce |
//=====================================================================================
//Chapter 12 example 21
clc;clear all;
//variable declaration
M1 = 15.9; //mutual inductance in mH
M2 = 0.1; //mutual inductance in mH
r1 = 25.9; //resistance in Ω
r2 = 12.63; //resistance in ... |
3f9ca3e344c009d33227eb7c16f7bd3ed7b6efda | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH47/EX47.3/Ex47_3.sce | 423aaa96dd7643c9a675c2da50848c309e13a386 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | sce | Ex47_3.sce |
//To Calculate the Time Elapsed between Door Openings
//Example 47.3
clear;
clc;
c=3*10^8;//Speed of Light in m/s
v=0.8*c;//Speed of Train T1 in m/s
y=1/sqrt(1-(v/c)^2);//Speed of Box in the frame of T1 in m/s
rl=30*c;//Rest Length of the box in metres
t=(rl*v*y)/(c^2);//Time elapsed between th... |
3e8e5a2481bb39022f23f68ab58923f1e38fa22e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH3/EX3.2/Exa3_2.sce | 1f9bef60c8026887276c428e4465aa0fb7ce3174 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 227 | sce | Exa3_2.sce | //Exa3_2
clc;
clear;
close;
//given data is :
F=100000;//in rupees
n=10;//in years
i=15;//% per annum
P=F/(1+i/100)^n;
disp("The person has to invest : "+string(P)+" Rupees.");
//Note : Ans in the book is not correct. |
565b8975b3ec5a68f9a2d9ad859ae1992598a95e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2192/CH7/EX7.9/7_9.sce | 558fd896f6f260627ee1a66d75682bf49ac30ee1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 572 | sce | 7_9.sce | clc,clear
printf('Example 7.9\n\n')
SA_plate= 2.54^2
thickness= 0.05 //thickness of deposit
density=9 //density of nickel
W=SA_plate*thickness*density //masss of deposit
CE_Ni=59; CE_Ag=108; //chemical equivalents
ECE_Ag=0.001118 //electrochemical equivalents
ECE_Ni = ECE_Ag*((CE_Ni/2)/CE_Ag) //valancy of N... |
c0830866b121984a6fb20f248fda89309aea6a3a | 8c802fb8c6a8dc8ed61222ce257eb61f580a462e | /projects/01/Or8Way.tst | 9ed28a93ac57d2b1a9fbc42f89b5d7426f113c6e | [] | no_license | radavis/nand2tetris | 0703b55695378cd8ec279599a34114cbfba48ef7 | 021ba06dbbe203206b44360f162a0d64e2dc41f9 | refs/heads/master | 2021-01-01T20:05:37.036752 | 2015-05-16T19:13:31 | 2015-05-16T19:13:31 | 34,955,667 | 8 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 332 | tst | Or8Way.tst | // File name: projects/01/Or8Way.tst
load Or8Way.hdl,
output-file Or8Way.out,
compare-to Or8Way.cmp,
output-list in%B2.8.2 out%B2.1.2;
set in %B00000000,
eval,
output;
set in %B11111111,
eval,
output;
set in %B00010000,
eval,
output;
set in %B00000001,
eval,
output;
set in %B00100110,
eval... |
2a7289819714e6dfccefc4fa70b1611b2596df08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2258/CH2/EX2.15/2_15.sce | 321554ccc56f53e4c94f4cbc02a960c33b8ea527 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_15.sce | clc();
clear;
// To calculate the velocity of an electron and proton
Ee=10; //electron kinetic energy in eV
EeeV=Ee*1.6*10^-19; //electron kinetic energy in J
Ep=10; //proton kinetic energy in eV
EpeV=Ep*1.6*10^-19; //proton kinetic energy in J
me=9.1*10^-31; //mass of electron in kg
mp=1.67*10^-27; ... |
3125f843be1f916785bea333b6603dfc4a88634e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_-_1_T._Singh_704.zip/Electrical_Machines_-_1_T._Singh_704/CH3/EX3.22/ex3_22.sce | dd51d74c3da3045845ccfeecef6ed148618b5a59 | [] | 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 | 1,219 | sce | ex3_22.sce | errcatch(-1,"stop");mode(2);//Caption:In a single phase transformer Find Full load regulation at a power factor (a) 0.8 lagging (b) unity (c) 0.8 leading.
//Exam:3.22
;
;
V_1=6600;//Primary voltage (in Volts)
V_2=250;//Secondary voltage (in Volts)
K=V_2/V_1;//Ratio of transformation
R_1=10;//Primary resistance... |
2a10261b7b4314d87ee1fe277bcc402f45f134a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH8/EX8.7/8_7.sce | 529cd47110a446f234fb1b4ab03e304df9aed7ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,761 | sce | 8_7.sce | clear;
clc;
//Example - 8.7
//Page number - 292
printf("Example - 8.7 and Page number - 292\n\n");
//Given
m = 0.6;//[kg/s] - mass flow rate
T_low = -20+273.15;//[K] - Temperature at which vapour enters the compressor
T_high = 30+273.15;//[K] - Temperature at which vapour leaves the condenser
//From satu... |
4e8cfdfa012b12f6f010876b70c839a2e69f9c8d | 9bc415d58bf063a1bca303fea640e644333dbdbd | /Scilab/Sinais_e_Sistemas/dft_fga.sci | 268ff02d27eff2e06525d9870f5e760eb621b766 | [] | no_license | Roast-Lord/SMGcodes | 36e55be6c1cc17af91ab2e3f5117c78684f20604 | b75107be829fb4373dc1bc4b8696fe4b9cec437a | refs/heads/main | 2023-07-05T05:25:50.557705 | 2021-08-17T17:46:25 | 2021-08-17T17:46:25 | 301,012,145 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 890 | sci | dft_fga.sci | function F=dft_fga(f)
N=length(f)
for m=0:N-1
F(m+1)=0;
for n=0:N-1
F(m+1)=F(m+1)+f(n+1)*exp(-%i*2*%pi*n*m/N);
end
end
F=clean(F)
endfunction
function F=dft_fga2(f)
N=length(f)
m=0:N-1;
n=0:N-1;
W=exp(-%i*2*%pi*n'*m/N);
F=f*W;
F=clean(F)
e... |
5a3ccafd3f6274eee79412bb16a879d0aad63051 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH7/EX7.07/7_07.sce | f9374aac05ad431bc9117c0f3c6d11ae994e72b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 640 | sce | 7_07.sce | //Problem 7.07: An iron ring of mean diameter 10 cm is uniformly wound with 2000 turns of wire. When a current of 0.25 A is passed through the coil a flux density of 0.4 T is set up in the iron. Find (a) the magnetizing force and (b) the relative permeability of the iron under these conditions.
//initializing the va... |
dc6d1c0917223fca2599d40685516467524c0700 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/StereoPictures/StereoVideos.SCI | de26c9c67506a14ae0f01f21cf0ad566c61d76cc | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 2,305 | sci | StereoVideos.SCI |
codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
sf=T_scene_create;
sss=T_getscene;
vp=T_getviewport;
vp.CameraPos=point(0,0,1);
vp.CameraDir=vector(0,0,-1);
vp.FocalDistance=1;
vp.NearClipPlane=0.1;
vp.FarClipPlane=20;
vp.enableusernavigation=false;
vp.EnableUserStop=true;
#Show list of videos
filelist=GetFileLis... |
7c64e77eb9ef117b0f86a19ee037a0a59fade2e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH10/EX10.3/Ex10_3.sce | 1ba6d80b9d3637e466e735e2da6cf82f32a31f94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 790 | sce | Ex10_3.sce | //Example 10.3
omega_0=0;//Initial angular velocity (rad/s)
alpha=110;//Angular acceleration (rad/s^2)
t=2;//Time (s)
r=4.50*10^-2//Radius of reel (m)
omega=omega_0+alpha*t;//Final angular velocity (rad/s)
printf('a.Final angular velocity = %0.1f rad/s',omega)
v=r*omega;//Speed of fishing line (m/s)
printf('\nb... |
0353ae5a0c05b91584266ad2e4cc62acffb3baae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH6/EX6.36/Chapter6_Example36.sce | e9ec62230b6e5cbe93d21c6d13c1b44966bc2f4b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,048 | sce | Chapter6_Example36.sce | clc
clear
//Input data
m=1;//Mass of water in g
t1=20;//The temperature of water in degree centigrade
t2=-10;//The temperature of ice in degree centigrade
s1=4.2;//Heat capacity for one gram of water in J/g-K
s2=2.1;//Heat capacity for ice in J/g-K
li=335;//Latent heat of fusion of ice at 0 degree centigr... |
b893120523429607adee4db8cc05f995cb754273 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH36/EX36.2/Ex36_2.sce | 3af3f6646e6354641502b2dfe22acb849de2762a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 434 | sce | Ex36_2.sce |
//To Calculate the Work Done in Rotating the Magnet
//Example 36.2
clear;
clc;
M=1.0*10^4;//Magnetic Moment of the Bar Magnet in J/T
B=4*10^-5;//Horizontal Magnetic Field in Tesla
theta1=0;//Initial Angular position of the Magnet
theta2=%pi/3;//Final Angular position of the Magnet
W=-M*B*(cos(t... |
42f8e131537fa7bcc6c0974230c5af0e12646520 | 494b677053e1199325a80808377463794e1003e5 | /experiments/sia-c/results/Ignore-MV.SIA-C.vehicle/result0s0.tst | f18ef50f3f85dd1e0b542ff4ea9a2b82f09472d4 | [] | no_license | kylecblyth/IIS-Project | 92fb0770addced8022817470f974bf5191bfe05d | abf66fd98d9b6c7c3a0fbc254ef4026641338489 | refs/heads/master | 2020-06-12T19:41:02.430510 | 2016-12-07T10:35:31 | 2016-12-07T10:35:31 | 75,764,815 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,865 | tst | result0s0.tst | @relation vehicle
@attribute COMPACTNESS integer[73,119]
@attribute CIRCULARITY integer[33,59]
@attribute DISTANCECIRCULARITY integer[40,112]
@attribute RADIUSRATIO integer[104,333]
@attribute PRAXISASPECTRATIO integer[47,138]
@attribute MAXLENGTHASPECTRATIO integer[2,55]
@attribute SCATTERRATIO integer[112,265]
@attr... |
5a04694f14934386ce7a64351716540935e7c2e9 | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /taller/soluciones/tiempoPoblacion.sce | 5d0605e66c0587b6034974641b810fb5d5001b19 | [] | no_license | UNIVALLE-EISC/numerical-methods | a3e3f432a6dc54a5ba845789ace2bf39db7ac6fe | 3ea9401e281523e15be0525bfe36e48560caf646 | refs/heads/master | 2021-01-10T15:22:36.080955 | 2018-10-02T21:37:42 | 2018-10-02T21:37:42 | 51,824,833 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | sce | tiempoPoblacion.sce | function Purb = funcion1(t)
//mode(0)
Purmax = 80000;
Purmin = 110000;
ku = 0.05;
Purb = Purmax*exp(-ku*t)+Purmin;
endfunction
function Psub = funcion2(t)
//mode(0)
Psmax = 320000;
P0 = 10000
ks = 0.09;
Psub = Psmax./(1+(Psmax/P0-1)*exp(-ks*t))
endfunction
function fx = tiempoP... |
355b6fc9dd0bd44ee15230bd66b0e5e0f1d6b247 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH17/EX17.19/Example17_19.sce | 2f4eb1afc6f30784030b0d51776a686113552457 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 717 | sce | Example17_19.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 10: POWER SYSTEM STABILITY
// EXAMPLE : 10.19 :
// Page number 305
clear ; clc ; close ; // Clear the work space and con... |
faa9e0d95a75da9d893dd5c608a46d88352a5f11 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/m2sci/sci_text.sci | 92e33db4f7cb6ad7bfccd811b73cd70a35e1cb0d | [
"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 | 471 | sci | sci_text.sci | function [stk,txt,top]=sci_text()
// Copyright INRIA
txt=[]
if rhs==3 then
str=stk(top)(1)
x=stk(top-2)(1)
y=stk(top-1)(1)
stk=list('xstring'+rhsargs([x,y,str]),'0','0','0','0')
elseif rhs==0 then
stk=list(' ','-2','0','0','0')
else
str=stk(top)(1)
z1=stk(top-1)(1)
y1=stk(top-2)(1)
x1=stk(top-3)(1)
... |
ce3d1f956e98010defffef024543335e9ee64c33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH2/EX2.15/EX2_15.sce | 166b640185e55c54ad3c55021a741845b811e194 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 591 | sce | EX2_15.sce | clear;
clc;
printf("\nEx2.15\n");
//page no.-63
//given
m=9.11*10^-31;.............//mass of e in kg
E=1.6*10^-15;..............//energy in joule
h=6.625*10^-34;.............//planck's constant
d=5.5*10^-11;...............//interplanar spacing in m
//we knoe , E=m*v^2/2
v=sqrt((2*E)/m);..........//velocity ... |
c376b0d16085dfd8a8b40a50d732aa1f8fad401d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/percent/%rdr.sci | 17a28b34882a400415cd69fdea4493bebc4cfc27 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sci | %rdr.sci | //<f>=%rdr(s1,s2)
// %rdr(s1,s2) calcule la division element par element de la matrice de
//fractions rationnelles s1 par la matrice de fractions rationnelles s2
// s1./s2
//!
[s1,s2]=sysconv(s1,s2)
[num,den]=simp(s1(2).*s2(3),s1(3).*s2(2))
f=tlist('r',num,den,s1(4))
//end
|
18adafc32e988c0cfe2dd7a641b75e472c3ee5ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2522/CH7/EX7.7/exm7_7.sce | ed4ec0ba4a1b9770516ea04f93e6a1bc3d2bfc14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 673 | sce | exm7_7.sce | //page no 229
//example no 7.7
// INCREMENT & DECREMENT.
clc;
disp('LXI H,2040H'); // loads HL register pair.
disp('H=20H L=40H');
disp('MVI M,59H');
M=59;
M=hex2dec(['59']);
disp('2040H-->59H')
disp('INR M');
M=M+1; // increments the value at the memory location by 1.
m=dec2hex(M);
printf('\n Content... |
0a9c1ae26634339c493094e82cbf903d92be4cd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH1/EX1.11/Ch01Ex11.sce | 68ded7eefdfabf7bf415653a467ca6aa499f3deb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | Ch01Ex11.sce | // Scilab Code Ex 1.11 :Page-25 (2006)
clc; clear;
R = 1; // For simplicity we assume radius of atom to be unity, m
// For bcc Structure,
a = 4*R/sqrt(3); // Lattice parameter of bcc crystal, m
// We have R+r = a/2, solving for r
r = a/2-R // Relation between radius of the void and radius of the atom, m
p... |
b17dcbc67ba1f1c54535767dd1ce725e73aad813 | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/macros/hdr.sci | 4ef80c4fd0d2289625aeb31c35f8373f09782e77 | [
"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,221 | sci | hdr.sci | ///////////////////////////////////////////////////////////////////////////////
// Author: Jia Wu
// Date: Feb. 2010
// Description: hierarchical dimensionality reduction (hdr)
//
// Copyright (C) 2009 OpenPR
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without... |
a4f70d3f4c9efc5059174d957b593288d9fd79d5 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/scicos/do_newblk.sci | 867b48c4f42914198e9c080dcf67a978968a75e2 | [
"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 | 805 | sci | do_newblk.sci | function txt=do_newblk(o,nam)
//create text of GUI function associated with a a block
// o : block data structure
// nam : name of the created GUI function
//!
for k=5:8,o(2)(k)=0*o(2)(k),end // disconnect links
o(2)(1)=0*o(2)(1) // set origin to zero
o(2)(2)=o(2)(2)/20 // set definition size ?????
// form text... |
47f9d2dd1232515ba8ad725bd020dd223f02f33c | 449d555969bfd7befe906877abab098c6e63a0e8 | /851/CH6/EX6.01/Figure6_01.sce | aa9d20eeba91e82d58df9998c9aca295ec76a410 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 668 | sce | Figure6_01.sce | //clear//
//Caption:Nonreturn-to-zero unipolar format
//Figure 6.1(a): Discrete PAM Signals Generation
//[1].Unipolar NRZ
//page 235
clear;
close;
clc;
x = [0 1 0 0 0 1 0 0 1 1];
binary_zero = [0 0 0 0 0 0 0 0 0 0];
binary_one = [1 1 1 1 1 1 1 1 1 1];
L = length(x);
L1 = length(binary_zero);
total_durati... |
2125ad7bc7922b07f3e7c29c6fe04f3f0f1e75de | 449d555969bfd7befe906877abab098c6e63a0e8 | /3515/CH5/EX5.3/Ex_5_3.sce | f087402572d1d2f731e9f4bea71bc142490ee2dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 309 | sce | Ex_5_3.sce | // Exa 5.3
format('v',5);
clc;
clear;
close;
// Given data
Bita= 5/100;
f_H= 50;// in kHz
f_H= f_H*10^3;// in Hz
f_L= 50;// in kHz
Amid= 1000;
f_LF= f_L/(1+Bita*Amid);// in Hz
f_HF= f_H*(1+Bita*Amid);// in Hz
disp(f_LF,"Value of f_LF in Hz is : ")
disp(f_HF*10^-6,"Value of f_LF in MHz is : ")
|
1bd2c41ed7c91f4e975d85131ce3dc943028634b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH4/EX4.6/EX_4_6.sce | 00f8c7aba3435672368097128af8f38d90ecb644 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,114 | sce | EX_4_6.sce | //Example 4.6 // total cost of elecric charge
clc;
clear;
close;
nl=12;//no. of lamps
wl=100;//wattage of lamps
hl=6;//each lamps work 6 hours a days
w12=wl*nl*hl;//wattage of 12 lamps in Wh
nf=6;//no. of fans
wf=60;//wattage of fans
hf=5;//each fans work 5 hours a days
w6=wf*nf*hf;//wattage of 12 fans in Wh
nc=2;//no.... |
fe87f3b945307e1a3430ea875937a36736f8872f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH5/EX5.20/ex_20.sce | cb4879703d227c39f1888fecce714ebc27e6b280 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | ex_20.sce | //Example 20 //temperature
clc;
clear;
close;
rtd=16/14;//ratio of densities
tk=15+273;//degree celsius
x=(tk*rtd)-273;//degree celsius
disp(x,"temperature is ,(degree-celsius)=")
|
c7ca1ac059c6510c6a4aa745e76941a2c07bccec | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH4/EX4.11/ex4_11.sce | 5c552a63822c2685eeb1e9712d90a86f553f72dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 148 | sce | ex4_11.sce | // Example 4.11 page no-211
clear
clc
alfa = 0.96
B=alfa/(1-alfa)
x=80
Rl=75000 //ohm
Av=B*Rl/x
Ap=Av*B
printf("power gain = %.0f",Ap)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.