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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b0df06962e19032c7af8b2ff6d9a78ce9421eac4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH13/EX13.26/26.sce | bcf833d65fe7aa9842ef1b1b40841f664c49f599 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 926 | sce | 26.sce | clc
p1=1; //bar
T1=363; //K
r=9;
p3=68; //bar
p4=68; //bar
Q=1750; //kJ/kg
y=1.4;
cv=0.71;
cp=1.0;
disp("(i) Pressures and temperatures at salient points")
p2=p1*(r)^y;
disp("p2=")
disp(p2)
disp("bar")
T2=T1*r^(y-1);
disp("T2=")
disp(T2)
disp("K")
disp("p3=")
disp(p3)
disp("bar")
disp("p4... |
d3e268f0e123666279ff5bb95e5030f982b02ac4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH3/EX3.5/Chapter3_example5.sce | 48bd0d6f5ff8bcc6a2d07cef9be34d9902b0da71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 975 | sce | Chapter3_example5.sce | clc
clear
//Input data
T1=45+273//Temperature at the beginning of compression in K
p1=1//Pressure at the beginning of compression in kg/cm^2
T2=325+273//Temperature at the end of compression in K
T3=1500+273//Temperature at the end of constant volume heat addition in K
g=1.4//Ratio of specific heats
//Calcula... |
e4c36520016fea7b6d0f533e93f668a828eea044 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/SH2.prev.tst | a727f1eff17f5cdf1504ae4e24fb113db76588f0 | [
"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 | 1,037 | tst | SH2.prev.tst | old IN_START'(' OS=[] PF=[]
old IN_START'1' OS=[y(] PF=[]
old IN_NUMBER'/' OS=[y(] PF=[]
old IN_START'/' OS=[y(] PF=[1]
old IN_START'(' OS=[y(, p/] PF=[1]
old IN_START'1' OS=[y(, p/, y(] PF=[1]
old IN_NUMBER'-' OS=[y(, p/, y(] PF=[1]
old IN_START'-' OS=[y(, p/, y(] PF=[1, 1]
old IN_START'x' OS=[y(, p/,... |
46b3a51dab0121a6b58d17224a09a08e47f659d3 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-StatisticalFunctions/FLNtile-NZ-01.tst | 861e3ed8ab6857905762f6f611414b2075a54d37 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,680 | tst | FLNtile-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-... |
445724e66fa588e28c0e7bd7122105f7d26bf35d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH4/EX4.5/Exa_4_5.sce | c66d557148b1c1b78582ea24757133b2be1ea9b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 531 | sce | Exa_4_5.sce | //Example No. 4.5
clc;
clear;
close;
format('v',6);
//Given Data :
theta1=20;//degreeC
theta2=28;//degreeC
dthetaBYdt1=0.08;//degreeC/min
dthetaBYdt2=0.06;//degreeC/min
//theta=theta_f-(theta_f-theta1)*exp(-t/T)
//dtheta/dt=(theta_f-theta)/T
//dthetaBYdt1/dthetaBYdt2=(theta_f-theta1)/(theta_f-theta2)
th... |
75468459134f4fca526fffb5104bd97bc3794b81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH3/EX3.1/Ex3_1.sce | 737c32d7f153937327dd8287789a73192404a606 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 528 | sce | Ex3_1.sce | // SAMPLE PROBLEM 3/1
clc;clear;funcprot(0);
// Given data
m=75;// kg
T=8300;// The tension in the hoisting cable in N
g=9.81;// The acceleration due to gravity in m/s^2
m_ems=750;// The total mass of the elevator, man and scale in kg
t_0=0;// s
t_1=3;// s
// Calcaulation
// SigmaF_y=m*a_y;
a_y=(T-(m_ems*... |
9a66a26d5aa41ba7cf67e49b926bc2388021d530 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH10/EX10.6/10_6.sce | 49dce44c49e574b36fac830a5c605d7e8b501b4a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | 10_6.sce | clc
//initialisation of variables
E1= 0.763 //v
c= 0.1 //mol/lit
c1= 0.01 //mol/lit
R= 8.31 //J/mol K
T= 25 //C
F= 96500 //coloums
c2= 1 //molar
c3= 1 //molar
//CALCULATIONS
E= E1-(log10(c*c2/(c1^2*c3))*R*(273+T)*2.3/(2*F))
//RESULTS
printf (' potential of the cell = %.3f v',E)
|
02d19c4e78613674f661f07b2248c6cc960d58f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3515/CH4/EX4.3/Ex4_3.sce | 6cc6305e75cf754bd601aa6876eb157b10a212dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 672 | sce | Ex4_3.sce | // Exa 4.3
format('v',7);
clc;
clear;
close;
format('v',5)
// Given data
I= 0.4;// in mA
unCox= 0.2;// in mA/V^2
i_D= I/2;// in mA
V_OV1= 0.2;// in V
V_OV2= 0.3;// in V
V_OV3= 0.4;// in V
WbyL1= 2*i_D/(unCox*V_OV1^2);
gm1= I/V_OV1;// in mA/V
WbyL2= 2*i_D/(unCox*V_OV2^2);
gm2= I/V_OV2;// in mA/V
WbyL3= ... |
3080fd3a0356f181728447a34eb26ad070440988 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH3/EX3.10/exp_3_10.sce | 227a4e80083d5d335dc4301482a87c0851f09277 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 435 | sce | exp_3_10.sce | clear;
clc;
//geometric constants
a=sqrt((5^2)+1);
b=sqrt(((4+1)^2)+(5^2));
h=10;
r=.02;
s1=4;
s2=6;
c=10.773;
ca=4*%pi*8.854*(10^(-12+9))*150;
cb=(((a^2)*(b^2)*10*4)/((r^3)*(c^2)*s2))^(1/3);
Cn=ca/log(cb);
mprintf(" capacitance to neutral is %.3f microF\n",Cn);
I=(2*%pi*50*Cn*10^(-3)*220)/(3^(1/2));
mpr... |
84bbb30cb1663c1e926f0c35e8a4309dbbd9f9b6 | e9d5f5cf984c905c31f197577d633705e835780a | /GED/linear/scilab/functions/pmgei_method/method/generate_meas_from_leaks.sci | bec3740ce169c63432ae416e05bd12850eb0d310 | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,422 | sci | generate_meas_from_leaks.sci | // Data Reconciliation Benchmark and GED Problems From Lietrature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
// This funcion calculates a Measurement corresponding to a leak in a certain node
function [xm_leaks] = generate_meas_from_leaks(xreal, resRand,... |
dada88f3eea3d5a0822074319e574e7d886c6b10 | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map2206.sce | 91e92c656cd301cec43632db23ae4c5e93daa77c | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 3,073 | sce | map2206.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map2206" Width="13" Height="13" CellSize="40" BackgroundSize="1" Background="15plus.png">
<Cell Name="十字架" X="3" Y="1" />
<Cell Name="枯树" X="4" Y="1" />
<Cell Name="眼球(怪)-bt" X="9" Y="1" arg0="35" />
<Cell Name="枯树" X="11" Y="1" />
<Cell Name="出生点" X="1" ... |
0b7bb76acc90a2a2d630b7a5573066802913bd02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH6/EX6.22/example6_22_TACC.sce | bccff608e2112e84ef4c06f530f1f6cd905c0ad2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 510 | sce | example6_22_TACC.sce | //example 6.22
clear;
clc;
//Given:
M1=0.01;//no. of moles of KCl
M2=0.005;//no. of moles of MgCl2
M3=0.002;//no. of moles of MgSO4
M=0.1;//mass of water[Kg]
z11=1;
z12=1;
z21=2;
z22=1;
z31=2;
z32=2;
//To find the ionic strength in a solution
m1=M1/M;//molality of KCL[m]
m2=M2/M;//molality of MgCl... |
5b038f2c85e9dff63717b64aaf43f6b37513fccd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH15/EX15.12/15_12.sce | d1ad56858312a60d0ef1353403e8eee4622920db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 837 | sce | 15_12.sce | clc
//initialisation of variables
t1=75//F
t2=92//F
t3=49.0//F
p=0.40//percent
p1=0.60//percent
h=30000//cy ft per min
v=0.7432//ft
s=0.622//ft
q=14.7//ft
h1=0.4298//ft
w=0.24//ft
w1=1061.0//ft
w2=0.445//ft
g=32.0//ft
g1=75//ft
t4=460//ft
r=200//Btu per min
//CALCULATIONS
P=p1*v//psia
H=s*(P/(q-P)... |
e65dfe6991a4491b4c6baf2c3d11dc9caa3f9116 | 61ae130448957e9d317026c24a8fd467e6bb08c9 | /src/test/resources/EqTest/EqTestVME.tst | 5284efb540d53dd9ec0db03d5aae45b58a0b7766 | [] | no_license | toonketels/nand2tetris-vm-translator | d38921aa4196cf7021a5cbce5db46885b3b8e7c3 | dfd283fc53db0d0119286675d3462ff5d0ca7ec9 | refs/heads/main | 2023-06-01T04:14:38.446476 | 2021-06-24T08:07:38 | 2021-06-24T08:07:38 | 379,851,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 435 | tst | EqTestVME.tst | load EqTest.vm;
set sp 256, // stack pointer
set local 300, // base address of the local segment
set argument 400, // base address of the argument segment
set this 3000, // base address of the this segment
set that 3010, // base address of the that segment
repeat 25 { // BasicTest.vm has 25... |
63b3b5d8f848abe30d9b094f1809ace7f321b32a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3814/CH9/EX9.1/EX9_1.sce | 7c508cb3338ede6f969c9b7905b3ecb7d0853817 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | EX9_1.sce | // to find hydralic power
// ex 9.1 pgno.215
clc;
p= 200e3 // pressure of water
g=9800
zs=0.1
pd=600e3
sp=0.85 // efficiency of the pump
h=((p/g)+zs)+((pd/g)+zs)
printf(" %f m",h)
q=0.2 // increase the pressure
h1=81.6
hp=g*q*h1 // efficiency
printf("\n %e W",hp)
n=hp/sp // electrical power i e shaft... |
60359e9ff2885cfec2f3b2fc1cf5319c0450fa96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH5/EX5.12/example_12.sce | 9704fc14ba879b001019b1a8f3fd4314295d7380 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | example_12.sce | clc
clear
printf("example 5.12 page number 192\n\n")
//to find the equilibrium temperature
view_factor=0.5;
R=6.92*10^5 //in km
l=14.97*10^7 //in km
Ts=6200; //in K
To=(view_factor*(R^2/l^2))^0.25*Ts;
printf("Equilibrium temperature = %f K",To)
|
59e438d03e184d9af190c2f2302f9babc8221b1b | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.4_7.tst | 69091d4fa0b72bce23d9eedceb7a3ec931ebae88 | [] | 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 | 695,373 | tst | 5.4_7.tst | 4 633:1 685:1 929:1 957:1 1229:1 1539:1 1654:1 1666:1 1776:1 1855:1 1892:1 2268:1 2387:1 2514:1 2566:1 3525:1 3705:1 3935:1 4065:1 4096:1 4203:1 4297:1 4364:1 4856:1 4924:1 5077:1 5101:1 5501:1 5546:1 5751:1 5787:1 6520:1 6657:1 6688:1 6695:2 6715:1 6720:1 6738:1 7352:1 7554:1 8104:1 8177:1 8205:1 8246:1 8879:1 9373:1 ... |
3b3beed181a58189bf1e36d5ba07579006bc9be6 | f8bb2d5287f73944d0ae4a8ddb85a18b420ce288 | /Scilab/example/離散時間のオブザーバ併合形.sce | c36ea201cab0e5767a2f657cbc83c8d89760a4a4 | [] | no_license | nishizumi-lab/sample | 1a2eb3baf0139e9db99b0c515ac618eb2ed65ad2 | fcdf07eb6d5c9ad9c6f5ea539046c334afffe8d2 | refs/heads/master | 2023-08-22T15:52:04.998574 | 2023-08-20T04:09:08 | 2023-08-20T04:09:08 | 248,222,555 | 8 | 20 | null | 2023-02-02T09:03:50 | 2020-03-18T12:14:34 | C | UTF-8 | Scilab | false | false | 932 | sce | 離散時間のオブザーバ併合形.sce | //離散時間状態方程式
Ad=[0 1;-1 0];
Bd=[0;1];
Cd=[1 1];
x0=[1;0;0;1];
//離散時間システムの定義
Plant=syslin('d',Ad,Bd,Cd);
//オブザーバに基づく推定状態フィードバック
//オブザーバゲインを求める
poles=[0.1,0.3];
gt=ppol(Ad',Cd',poles);
g=gt';
//spec(Ad-g*Cd)
//フィードバックゲインを求める
poles=[0.8,0.9];
kt=ppol(Ad,Bd,poles);
k=-kt;
//spec(Ad+Bd*lk)
//オブザーバの設計
Cnt=obscont(Plant,k... |
4a5092f6a859402e11ef3b8b205c5116fed113d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH3/EX3.3/Ex3_3.sce | 5cb395071ea1d0ffc251176869cf0ab8b50abf35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sce | Ex3_3.sce | clc();
clear;
//Given :
lambda1 = 5890 ; // Wavelength in angstroms
lambda2 = 5896 ; // Wavelength in angstroms
//For sodium doublet
nu1 = 5.0934*10^14; //Frequency in Hz
nu2 = 5.0882*10^14; //Frequency in Hz
deltanu = nu1-nu2; // Differnece in Frequencies in Hz
Tc = 1/deltanu ; // Coherence time in s
n1... |
eb8d11d44106be098fc8815aea42146b2f24fc6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH8/EX8.1/Ex8_1.sce | aea1703ce0c8242310ba7a5d2000f38201d98988 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | Ex8_1.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 8 Power Amplifiers Pg no. 267
clear;
clc;
//Given Data
VCC=15;//battery voltage in volts
P_OUT=5;//output power in watts
//Solution
IC_MAX=P_OUT/VCC;//maximum collector current in amperes
printf("Maximum collector current IC = %d mA",IC_MAX*10^3);
|
58322499ee73eedd164b7589df9d1c6021930918 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3731/CH5/EX5.6/Ex5_6.sce | 7240174df64a752657012cf2834af631bd1e2ef3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,121 | sce | Ex5_6.sce | //Chapter 5:Dc Motor Drives
//Example 6
clc;
//Variable Initialization
//The motor rating is same as that of Ex-5.5
N=600 //value of the speed given from the magnetization curve in Ex-5.5
Ra=0.04 //armature resistance in ohms
Rf=10 //field resistance in ohms
T=400 //load torque in N-m
N1=1200 //... |
7dd94f3f1cd972e9f0a791cc242b607f5bc64c30 | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0001.tst | 0dcfd2704217210d9fa2efba8292e5656526bf74 | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 305 | tst | 0001.tst | splITtEr h {}
fIlTEr QyS { }
FILTEr Bd {NOt x Hrrd oR nOT iO OR OlJ }
G -> b
gRoUpER l {AGGregaTE L }
uNgRoUpeR Cfk { }
GroUPfiltER UP {}
MERGeR BKc { MOduLE rT { BRancHES PANo NoT e ( ) } modULe i { BrAnCHes R A Di sA OR k O U Or XF di k ::A:a:A:d:1dA:BDDe:B/96 >= 569 } exPoRT UtLGS } |
b43b8222f00c47964073b27b4bbb977491a31e76 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.20_11.tst | 4d030f9f22475f6769b064ca75e033014132feaa | [] | 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 | 526,481 | tst | 5.20_11.tst | 20 31:1 299:1 1143:1 1312:1 1328:1 1458:1 1505:1 1868:1 2060:1 2165:1 2178:1 2383:1 2683:1 3009:1 3609:1 3895:1 4558:1 4923:2 5018:1 5077:1 5176:1 5263:1 5288:2 5343:1 5398:2 5597:1 6177:1 6186:2 6346:1 6373:1 6481:1 6668:1 7404:1 7682:1 7709:1 7715:1 7758:1 7903:1 8181:1 8233:1 8255:1 8389:1 8419:1 8544:1 8805:1 8853:... |
7df3d67968bc400f1e098dffaa9c94e5b1f2b702 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/BV2.prev.tst | bdab5c284caa007a11905ed072503148842ced04 | [
"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 | 56 | tst | BV2.prev.tst | [1,2,-5] + [1,1,1,7] = [2,3,-4,7], original = [1,2,-5]
|
ef27a43ff933bd0668f1c8c7f7252387a6d06cb4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH7/EX7.20/Example_7_20.sce | fa41a7604606415ad77713005cdb9730d5da4a11 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | Example_7_20.sce | // Example 7.20 Calculate a number which will the percentage change in volume traffic
clc;
clear;
Q=[1246 1125 4794];
Qn=[1206 981 4229];
W=[776 252 562];
QR=(Qn./Q)*100;
QI=sum(QR.*W)/sum(W);
Po=W./Q;
LQI=sum(Qn.*Po)*100/sum(W);
disp(LQI,"Laspeyres Quantity Index ",QI,"Quantity Index number");
|
3f86333a90787c88183f14cd5750084fed583bc8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/scicos/do_delete.sci | 7ee8e009a65530b4e8468066b5c7581f04f3179f | [
"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 | 586 | sci | do_delete.sci | function [scs_m,needcompile]=do_delete(scs_m,needcompile)
// do_delete - delete a scicos object
// get first object to delete
//!
while %t
[btn,xc,yc]=xclick(0);
pt=[xc,yc]
[n,pt]=getmenu(datam,pt);
if n>0 then n=resume(n),end
if btn<>0 then
[scs_m,modified]=do_delete_region(scs_m,xc,yc)
if modified t... |
0efa6aca565d759bee6d2c0bcf2791855e1204cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH8/EX8.19/8_19.sce | 46bf7b38a982f39b2baea3b595daff77190dc3b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,698 | sce | 8_19.sce | clear;
clc;
printf("\t\t\tExample Number 8.19\n\n\n");
// numerical solution for combined convection and radiation(non-linear system)
// Example 8.19 (page no.-449-452)
// solution
l = 0.5;// [m] length of plate
b = 0.5;// [m] breadth of plate
T1 = 1300;// [K] temperature of plate
Tinf = 300;// [K] temper... |
fecb8046db70968e6dcccb54c843f1a8ecfd5d8d | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/CylFlow2DMov_SPM.tst | 9d00a9ee382bb1c6960a0aad84f8f9258a515a70 | [
"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 | 871 | tst | CylFlow2DMov_SPM.tst | <?xml version="1.0" encoding="utf-8" ?>
<test>
<description>2D cylinder flow, P=3, cylinder defined via IB SPM function</description>
<executable>IncNavierStokesSolver</executable>
<parameters>CylFlow2DMov_SPM.xml</parameters>
<files>
<file description="Session File">CylFlow2DMov_SPM.xml</fi... |
6e70d1e92a1ada7af588a571acd2e31f802ba02c | e6ea8d4e6298d6aee8f296425a9e68b48ad33795 | /test.sce | 81820f865123512c008a574f55d169addeacd9bd | [] | no_license | srkirve77/scilab_toolbox | a7d75b97e58813033491ab32fecec43a35ae2e2e | 738760c8b1fd812b0a8d84f05764d395fe7041de | refs/heads/master | 2022-11-07T19:38:51.977104 | 2020-06-22T16:57:01 | 2020-06-22T16:57:01 | 271,746,071 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 39 | sce | test.sce | ulink
exec builder.sce
exec loader.sce
|
a3b2471284eb37b1ca47603844f1453a1a155da0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH7/EX7.7/Example7_7.sce | 37de613e7b947d4541a33820065ebd797baa9420 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | Example7_7.sce | //Ex 7.7
clc;
clear;
close;
format('v',7);
//Given data :
d=110/1000;//m
L=140/1000;//m
Pmi=600;//KN/m^2
N=1000;//rpm
n=N;//strokes/min(for 2 stroke)
A=%pi/4*d^2;//m^2
IP=Pmi*A*L*n/60;//KW
disp(IP,"Indicated power of the engine in KW : ");
|
c0ec8d37405647f4eb4e937f2b1f3fde88b70a5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH5/EX5.1/Ex5_1.sce | af8ff1d5157efd2169f8fa01fe6c489b4f304dd9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | Ex5_1.sce | op=15
l=2
n=2
l1=n*l//connector loss
l2=3//coaxial cable loss
tl=l1+l2//total loss
ip=op-tl//input=output-total loss
disp(ip,'signal level at the i/p of the antenna in dBm')
|
1aa96df4e51418cb0e2ced94a4c2a5d554df5fad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH3/EX3.15/Ex3_15.sce | 06db8356489ecef290638acb6dff727ecccab538 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 925 | sce | Ex3_15.sce | //Ex3_15
clc
Vd = 50
d = 1
disp("(a)")
disp("Vd = "+string(Vd)+"V")//voltage applied to deflection plates
disp("d = "+string(d)+"cm")//plate separation
E = Vd/d/10^-2
disp("E = Vd/d = "+string(E)+"V/m")//electric field produced
disp("(b)")
e = -1.6*10^-19
m = 9.1*10^-31
Va = 500
v = abs((2*e*Va/m))^.5
d... |
7a661242d390370b80d4d7003ebe7c3817cc5560 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH1/EX1.3/ex_1_3.sce | 391361305544d0ecfb73c99fb78f916db145e42b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 736 | sce | ex_1_3.sce | //example_1.3
// sampling of continuos function
clear;
clc;
close;
t=-1:1/100:1;
for i=1:length(t)
x(i)=1-abs(t(i))
end
figure
a=gca();
plot2d(t,x)
xtitle('x(t)')
a.y_location='middle'
figure
a=gca();
for i=1:length(t)
if t(i)<0 then
t1(i)=ceil(t(i)*4)
else
t1(i)=floor(t(... |
4ef0f6dd72ef2dc3a4ae1d4099cf699b99ad6cab | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/5_6data.sci | 16e25e8ada9269dc4befd87518f62b4cd01b85ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 32 | sci | 5_6data.sci | r=1000;//in mm
M0=1000;//in N.mm |
1636eb887a56d4265a496d522b5cce104ec1a019 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH5/EX5.8/Exa5_8.sce | eff4ce9984591d14a2f756f79d4907d792af4416 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | Exa5_8.sce | // Exa 5.8
clc;
clear;
close;
// given data
fo=800;// in Hz
d=60/100;//unitless
T=1/fo;//in Sec
TC=0.6*T;//in Sec
TD=T-TC;//in Sec
C=0.01;//in uF
C2=10;//in uF
RB=TD/(0.69*C*10^-6);//in ohm
RA=(TC-0.69*RB*C*10^-6)/(0.69*C*10^-6);//in ohm
disp(RA/1000,"Value of RA in Kohm is ; ")
disp(RB/1000,"Value of R... |
9d69f825bf880155a0c8fd13369ab78a311b2f6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH13/EX13.3/13_3.sce | 497a84f91bc43a5d04eeb02d284abfed4bf59f9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,005 | sce | 13_3.sce | //Eg-13.3
//pg-525
clear
clc
close()
x(1) = 0;
yb(1) = 0;
y(1) = 1; //Initial condition
h = 0.1;
deff('out = func(in1,in2)','out = in1^2*in2')
//Taking the exact values from the previous problem
z(1) = exp(x(1)^3/3);
for(i = 2:11)
x(i) = 0.1+(i-2)*0.1;
z(i+1) = exp(x(i)^3/3);
end
... |
f1be9fb4b4a2c838a267be7f3b48187acfb371b3 | a5f3b0001cdb692aeffc444a16f79a0c4422b9d0 | /main/toolkit/qa/unoapi/toolkit.sce | 3144a17c150b43520f2b4b55b3615da406c05949 | [
"Apache-2.0",
"CPL-1.0",
"bzip2-1.0.6",
"LicenseRef-scancode-other-permissive",
"Zlib",
"LZMA-exception",
"LGPL-2.0-or-later",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-philippe-de-muyter",
"OFL-1.1",
"LGPL-2.1-only",
"MPL-1.1",
"X11",
"LGPL-2.1-or-later",
"GPL-2.0-only",
... | permissive | apache/openoffice | b9518e36d784898c6c2ea3ebd44458a5e47825bb | 681286523c50f34f13f05f7b87ce0c70e28295de | refs/heads/trunk | 2023-08-30T15:25:48.357535 | 2023-08-28T19:50:26 | 2023-08-28T19:50:26 | 14,357,669 | 907 | 379 | Apache-2.0 | 2023-08-16T20:49:37 | 2013-11-13T08:00:13 | C++ | UTF-8 | Scilab | false | false | 3,490 | sce | toolkit.sce | # *************************************************************
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to y... |
938c14ccb3a36a774064afba102a94ac3e62e518 | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/backref.tst | 2313534555a2c08e42fa39c82068cf72b23b5bb8 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 454 | tst | backref.tst | ## Test backreference substitution in filter --regexp
read <<EOF
blob
mark :1
data 14
Example file.
reset refs/heads/master
commit refs/heads/master
mark :2
author Chris P. Bacon <cpb@example.com> 1588089692 -0700
committer Chris P. Bacon <cpb@example.com> 1588089692 -0700
data 22
s12345 s45678 s21456
M 100644 :1 RE... |
2e8f8892e7c215ad83b53b1f22c566c0fea3ccb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH4/EX4.11/4_11.sce | d5e53b6613c2ef5411dedd839368e63850dce6d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 712 | sce | 4_11.sce | //least square for quadratic equations
//example 4.11
//page 141
clc;clear;close;
I1=integrate('1','x',0,%pi/2);
I2=integrate('x','x',0,%pi/2);
I3=integrate('x^2','x',0,%pi/2);
I4=integrate('x^3','x',0,%pi/2);
I5=integrate('x^4','x',0,%pi/2);
I6=integrate('sin(x)','x',0,%pi/2);
I7=integrate('x*sin(x)','x',0,... |
113d8d92607b7d1f120d5d066d8247760669f80a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH4/EX4.4/Example4_4.sce | faf2ee367cab107821656e17056a3038d2b7cbc2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 947 | sce | Example4_4.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 4: DC Dynamo Torque Relations-DC Motors
// Example 4-4
clear; clc; close; // Clear the work space and console.
// Given data
slots = 120 ; // No. of armature slots
conductors_per_slot = 6 ;
B =... |
877444070ecbcf6728cbe833220b68811124a020 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2921/CH16/EX16.5/Ex16_5.sce | b00b8e7ea57b162dcd0bbc083241dad5b2b5e929 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 537 | sce | Ex16_5.sce | clc;
clear;
mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-16.5 Page No.365\n');
W=3500;
V=73;
g=32.2;
V=50*5280/3600;
V=round(V);
//Kinetic energy to be absorbed
KE=W*V^2/(2*g);
mprintf('\n Kinetic energy to be absorbed = %f ft-lb.',KE);
//Temperature rise
Uf=KE;
Wb=40;
c=93;
deltaT=Uf/(Wb*c);
mpr... |
35befdb20affcdd20883a07f1dd6ecff6cf2024a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH5/EX5.21/Ex5_21.sce | 9b9f1f1fbe1d2e02fbfedfa48dd242174fed6bda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 808 | sce | Ex5_21.sce | //Chapter-5,Example 5_21,Page 5-35
clc()
//Given Values:
a=2*10^-10 //width of potential well in m
h=6.63*10^-34 //Planck's constant
m=9.1*10^-31 //mass of an electron
//Calculations:
//we know equation for energy of an electron
n0=1
E01=n0^2*h^2/(8*m*a^2) //Energy in groun... |
b7200208952133f7abc6df6ae13bc7923cc857ae | 40384c4066dda9a87b764f8c78f44f4b87a9af5f | /MetodoDeNewtonRapson.sci | 5fd2b139845074b911f92f52e7c18f3d684daa07 | [] | no_license | SergioNoivak/Calculo-Numerico | 97866ab7ead8ee4b8f5dd4aacaea411b6eebd5e5 | 25be9c05a5331bfd053433a09f77a4d9b76c3bb7 | refs/heads/master | 2021-01-02T22:41:21.556896 | 2018-08-19T22:44:55 | 2018-08-19T22:44:55 | 99,368,088 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,448 | sci | MetodoDeNewtonRapson.sci | clear
clc
//#############################Algoritmo de Newton-Raphson###########################################3//
function tabela (A)
if A<0 then mprintf (" %1.7f",A);
else mprintf (" %1.7f",A);
end;
endfunction;
function tabela10 (A)
if A==-0.0 then
A=0.0;
end
if A<0 then
... |
5e6a2c71b8e7a5fb5f6f292bdba7d251572822c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH6/EX6.5/ex6_5.sce | 8bd70563a2c2d3420b9d15ad43b6ac6dd9512293 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | ex6_5.sce | // Exa 6.5
clc;
clear;
close;
format('v',6)
// Given data
A = 60;// in dB
A = 10^(A/20);// unit less
Beta = 1/20;// feedback fraction
Af = A/(1+(Beta*A));// gain with feedback
Af = 20*log10(Af);// in dB
disp(Af,"The gain with feed back in dB is");
|
6ec4f542b6110243aef22506becba7d316b11cd7 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/JnJk/jnjk.6.tst | b9ed26c6ba3f2f2b81ed1d2edb16452868cfbf3b | [
"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 | 53,476 | tst | jnjk.6.tst | a e b a 饗 場
a e b a 饗 庭
a g e i s h i 上 石
a i i s o 相 磯
a i j i m a 相 島
a i k i 相 木
a i u r a 相 浦
a i z u w a k a m a t s u 会 津 若 松
a k a h a n e 赤 羽 根
a k a m a 赤 間
a k a t a 赤 田
a k i h i s a 彰 久
a k i h i s a 明 久
a k i h i s a 昭 久
a k i h i s a 昭 寿
a k i h i s a 晃 久
a k i h i s a 晶 久
a k i h i s a 秋 久
a k i h i s a ... |
06ba3411e3e6d0d7c208da2ad314032283164617 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH17/EX17.15/EX17_15.sce | e8cfd34f830ea40d39d8c8ad80d9603007e4f91b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX17_15.sce | clc;funcprot(0);//EXAMPLE 17.15
//Initialisation of Variables
IP=30;........................//Indicated power in kW
BP=26;........................//Brake power in kW
N=1000;.......................//Engine rpm
fpbph=0.35;...................//Fuel per brake power hour in kg/B.P.h
C=43900;......................//Cal... |
da26e7e137adaba092ccc8c9ce23c319ef11377b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2921/CH8/EX8.4/Ex8_4.sce | 0f35c966dc3750fb68a9d4e8f6ba7ce10cd83153 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sce | Ex8_4.sce | clc;
clear;
mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-8.4 Page No.165\n');
F=35; //[lb] Load
k=73.3; //[lb/in] Spring rate
x=F/k; //[in] Deflection
mprintf('\n The deflection in the spring would be %f in.',x);
|
9cfee1a1975c89f0fdcfc129dba35b6ef3837cbc | 44f225adc0be4f9ecb45fb9fde03e74f23d7acb2 | /macros/more/cornerEigenValsAndVecs.sci | bf128361da77bf9c6d4aee22b1fcd8e32552140a | [] | no_license | harpreetrathore/scilab-IPT | 10c4996614f1c59972e59decd1b7171e7d5816e0 | db79f1370f3cb0a7716a8afcf1cf5fde9fe70aba | refs/heads/master | 2021-01-01T04:06:52.573735 | 2016-05-26T20:34:33 | 2016-05-26T20:34:33 | 59,781,201 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sci | cornerEigenValsAndVecs.sci | //Function migration (image list to matrix) for: cornerEigenValsAndVecs
//Generated by migrate.cpp
//Author: Anirudh Katoch
function res = cornerEigenValsAndVecs(varargin)
select length(varargin)
case 04 then
res = il2mat(raw_cornerEigenValsAndVecs(mat2il(varargin(01)), varargin(02), varargin(03), varargin(04)))
... |
3ac0102d1a7dcb88ee0648fee410cdb48cc26c11 | 1485852dd59aafc286600126cf832a32e10f117f | /tests/pencilSketch/test4.sce | 0e04b69b3fd43ad26930739ea946796fcb9f7dc1 | [] | no_license | rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox | dec9fbbce32cfd1eab3c45ccb29c89aaa1384758 | 8adb116da3a9c29a32e5e0727105aff571e5b374 | refs/heads/master | 2020-12-02T16:14:45.282650 | 2017-07-07T10:12:04 | 2017-07-07T10:12:04 | 96,524,257 | 0 | 0 | null | 2017-07-07T09:43:50 | 2017-07-07T09:43:50 | null | UTF-8 | Scilab | false | false | 148 | sce | test4.sce | //increasing sigma_r
src = imread("../images/cow2.jpg");
[output1 output2] = pencilSketch(src,120, 0.8,0.02 );
imshow(output1);
//imshow(output2);
|
a905abadfed4bdabea2c778582341140e4b23def | 449d555969bfd7befe906877abab098c6e63a0e8 | /137/CH3/EX3.7/3_7.sce | 792e956162ba4fd7986f32b83a6f291b72c66d24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 118 | sce | 3_7.sce | clc;
//page 84
// problem 3.7
t=-10:1:10;
y=sign(t);
g=fft(y);
disp(g,"fourier transform of signum funcion is"); |
34b94679b83bdf9bc6a808893daf7ef7dede28e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH2/EX2.2/Ex2_2.sce | 85fd14356600f5536a3140277e40140541413130 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | Ex2_2.sce | //Ex 2.2
clc;clear;close;
format('v',6);
fi=0.015;//Wb(flux)
ag=2.5;//mm(airgap)
Ae=200;//cm^2(Effective area)
FD=fi/(Ae*10^-4);//T(Flux density)
mu0=4*%pi*10^-7;//constant
H=FD/mu0;//A/m(Magnetic field strength)
mmf=H*ag*10^-3;//A(magnetomotive force required)
disp(mmf,"Magnetomotive force required(A)");
//... |
1be3ea216c8b20af888f0af65276b682b39d95d4 | 48b35d91574ad9ef85aefeb435059f8f75e3bebb | /GOLD-TEST/eng.tst | 6bf55cc761f0402fd12531c386b9da56597091da | [] | no_license | ElliotMouchon/task0-data | b3e96eea08b3eba08d5a889f9b385cf00ff5701d | 0d24b945ac96e08aa5a2f0080fa4de465f91b40a | refs/heads/master | 2023-04-16T11:48:39.575176 | 2021-04-29T04:04:17 | 2021-04-29T04:04:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 661,340 | tst | eng.tst | dispost disposted V;PST
enlay enlaid V.PTCP;PST
prefixe prefixing V.PTCP;PRS
beclap beclap V;NFIN
circumference circumference V;NFIN
hopple hoppled V;PST
overthrow overthrow V;NFIN
FOIL FOILing V.PTCP;PRS
hyperextend hyperextending V.PTCP;PRS
vent vents V;SG;3;PRS
ensheathe ensheathing V.PTCP;PRS
poetise poe... |
a09ce0d8b043637c1a1a34f74ada24643929ab11 | 2e676e3b1cebfbb9d20f9b935ceacd507c57d36a | /Octave/octave-4.2.1/share/octave/4.2.1/etc/tests/fixed/switch.tst | 21f69ebb2cc191b4c141621e07e191c5ca86ee11 | [] | no_license | vohrahul/ML-ang-coursera | 239469e763b290aa178b7aa8a86eda08e4e7f4be | 4c24fd2ecfb9f3de7df15e3a9f75627f782f9915 | refs/heads/master | 2022-12-28T03:45:54.810173 | 2020-10-16T12:33:25 | 2020-10-16T12:33:25 | 304,620,441 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,101 | tst | switch.tst | ## Copyright (C) 2006-2017 John W. Eaton
##
## This file is part of Octave.
##
## Octave is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or (at
## your option) any later vers... |
ef0b621ecb602c58155b357a92fe55349fa08bd6 | d8cab241a02c8d06f859a4adbf2748d68c08d385 | /EDO/Metodo_de_Heun_EDO.sce | d2cee8d9682015ca5d5d3e6c767137a71e8475d2 | [] | no_license | eluire/CN | 6327b9619a6e00d2870912830393def2ca82b856 | e2027e0d20c549bb1a79ce830c6affcf4cbe1149 | refs/heads/master | 2021-09-16T07:13:23.367948 | 2018-06-18T10:51:21 | 2018-06-18T10:51:21 | 126,038,180 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 716 | sce | Metodo_de_Heun_EDO.sce | //METODO DE SEGUNDA ORDEM DE HEUN
clc
clear all;
function z = g(x,y) // SOLUÇÃO DA EDO
z = x^2-2*y
endfunction
//APLICAÇÃO DO MÉTODO DE HEUN
function [x,y] = heun(a,b,h,y0)
x = a:h:b;// CALCULAR TODOS OS VALORES DE X
n = length(x); // quantos elementos do vetor
y(1) = y0; // primeiro elemten... |
4f77acb7571ab169dfff6aa7aef471c829bed3a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH2/EX2.1/Ex2_1.sce | fb85106a5b302a5bec30701f8078748773f023c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | Ex2_1.sce | // Example 2.1
clear all;
clc;
// Given data
atom_h = 6.6*10^24; // Number of atoms in Hydrogen
// Using the data given in Table II.2, Appendix II for isotropic abundance of deuterium
isoab_H2 = 0.015; // Isotropic abundance of deuterium
// Calculation
totatom_d=(isoa... |
5d7748e8ecf8bd17624c7c5d77580f0e35bbe8be | 49148682b78b6520a61de9a700f791835e1b32d5 | /Gachan/GachanGame/GachanGameObject/GachanGameObjectGrid.tst | dc5c50a778c5b1fec8f34ec2f3da4bac89fb4526 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | Ashitagachan/Gachan | 535a19ea05bfcb3207a0a106b1d62db48a143f16 | 63b5410e128628222447c837a7209162487aa246 | refs/heads/master | 2021-08-07T21:53:13.048753 | 2020-05-16T08:01:10 | 2020-05-16T08:01:10 | 178,514,045 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 310,712 | tst | GachanGameObjectGrid.tst | //skipped groundPlane_transform
//skipped Manipulator1
//skipped UniversalManip
//skipped CubeCompass
/////////////////////////////////////////////
// object_Grid10x10__
/////////////////////////////////////////////
#if 0
1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
0, 0, 0, 1
#endif
DX3DMATERIAL_START( ma... |
e686fd6ed54fb93a91c858fb01e0067901ffc834 | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH2/EX2.7/2_7.sce | 98dee39f22a9528014418ecd8c0a90ae9f11232d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | 2_7.sce | clc
//initialisation of variables
Fy1= 2 //kips
Fy2= 5 //kips
Fy3= 10 //kips
Fy4= 3 //kips
L= 5 //ft
Ry= Fy1+Fy2+Fy3+Fy4
x= (Fy1*L+Fy2*2*L+Fy3*3*L+Fy4*4*L)/Ry
//RESULTS
printf ('Ry= %.2f kips',Ry)
printf (' \n x=%.1f ft to the right of O',x)
|
6917b35761c3e075af07b2439b6aa2c09d9fd2c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH12/EX12.4/Ex12_4.sce | 84110921036ceb260e42738dc64639730d1bda0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex12_4.sce |
clc;
//e.g 12.4
rb1=4*10**3;
rb2=2.5*10**3;
Vbb=15;
Vd=0.7;
n=rb1/(rb1+rb2);
disp(n,"n=");//intrinsic standoff ratio
Vp=n*Vbb+Vd;
disp('V',Vp*1,"Vp=");//peak point voltage
|
d8a3bab8584cd13aa34195f332a511684770e8bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH1/EX1.48/example1_48.sce | 7a9118d16a904bf4ab661c2dd06ac86ff9d73e2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | example1_48.sce | clc
// Given That
x = 6e-5 // distance moved by movable mirror in meter
N = 200 // no. of fringes crossed the field of view
// Sample Problem 48 on page no. 1.57
printf("\n # PROBLEM 48 # \n")
lambda = (2 * x) / N // calculation for wavelength of light
printf("\n Standard formula used \n lambda = (2 * X) / N. \n")
p... |
115f780bbe33cf6e32b15fb1b5511fed936202cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH6/EX6.9/Ch06Ex9.sce | b250c42b517cc6387457c37afa550e1abe1fb9d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch06Ex9.sce | // Scilab code Ex6.9: Pg 213 (2008)
clc; clear;
// Case_I: Square_wave
ff = 1.11; // Form factor of calibrated meter
ff_square = 1; // Form factor for square wave
V_apparent = 5; // Meter reading for sqaure wave, volt
V_true = V_apparent*1*(ff_square/ff); // True rms value of square wave voltage, volt
printf(... |
7fbf05b11fe6df8d4e1e517c1961194892ef96f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH8/EX8.2/Ch08Ex2.sce | baf3bd52145579f6da4555002040ecae1db5294f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | Ch08Ex2.sce | // Scilab Code Ex8.2:: Page-8.8 (2009)
clc; clear;
E = 0.121; // Energy difference between the two levels, eV
lambda = 12400/E; // Wavelength of the radiation, angstrom
f = 3e+08/(lambda*1e-010); // Frequency of the radiation, Hz
printf("\nThe wavelength of the radiation = %8.1f angstrom", lambda);
printf(... |
c7f1cbad338be40e465a7d92508066c8e8f0fbeb | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH12/EX12.3/Example_12_3.sce | 9f1442e18f3bcf685658b72520b91b410c748e3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 995 | sce | Example_12_3.sce | //clear//
clear;
clc;
//Example 12.3
//Given
L = 15; //[ft]
k = 0.082; //[Btu/ft-h-F]
Cp = 0.48; //[Btu/lb-F]
T1 = 150; //[F]
T2 = 250; //[F]
Tw = 350; //[F]
//From Table 12.3
mu1 = 6; //[cP]
mu2 = 3.3; //[cP]
mu_w = 1.37; //[cP]
mu = (mu1+mu2)/2; //[cP]
//From Appendix 5
D = 0.364/12; //[ft]
//visc... |
69f0b6aa52da4d145b45dffbf9e52b54fee8d2fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH13/EX13.43/43.sce | 144665e27c63dd07e9765198c6835eb440c843c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 700 | sce | 43.sce | clc
p1=1; //bar
p2=5; //bar
p3=4.9; //bar
p4=1; //bar
T1=293; //K
T3=953; //K
n_compressor=0.85;
n_turbine=0.80;
n_combustion=0.85;
y=1.4;
cp=1.024; //kJ/kg K
P=1065; //kW
disp("(i) The quantity of air circulation")
T2=T1*(p2/p1)^((y-1)/y);
T2a=(T2-T1)/n_compressor + T1;
T4=T3*(p4/p3)^((y-1)/y);
T4a=... |
9819123982d05495d3b05ac88d59972daf00dd59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH5/EX5.11/Chapter5_Example11.sce | 875eb5cf355e0a0cd57c6525db87b169fb5bc65a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,117 | sce | Chapter5_Example11.sce | clc
clear
//Input data
v=1;//The volume of a gas in cc
d=13.6;//The density of mercury in g/cm^3
p2=10^-7;//The pressure in cm of Hg
g=980;//Gravitational constant in gms/s^2
p1=76;//The pressure in cm of Hg
R=8.31*10^7;//The Universal gas constant in ergs/g mol-K
N=6.023*10^23;//The Avogadro number
T=... |
6a20ac6104d30dc360f048b7fe095ba505b280af | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH16/EX16.8/example8_sce.sce | 72d766beeeea18c3db70d319ffe3433e4f9893ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | example8_sce.sce | //chapter 16
//example 16.8
//page 694
printf("\n")
printf("given")
R1=2.2*10^3;R2=2.7*10^3;C2=.5*10^-6;Vcc=15;
t1=.693*C2*(R1+R2)
t2=.693*C2*R2
T=t1+t2
f=1/T
Ic1=(Vcc/3)/(R1+R2) |
feeef4871f0939c7d6179c91364e59b12fcb67e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH17/EX17.4/17_4.sce | b75c82c018b492b37cea69da02e842b5cd71dddd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | 17_4.sce | clc
//initialisation of variables
hfg= 2257.0 //kJ/kg
Tb= 100 //C
R= 8.314 //J/mol K
m2= 10 //gms
M2= 58.5 //gms
m1= 90 //gms
M1= 18 //gms
//CALCULATIONS
x2= (m2/M2)/((m2/M2)+(m1/M1))
dT= R*(273.15+Tb)^2*x2/(M1*hfg)
//RESULTS
printf (' Boiling point elevation= %.3f C',dT)
|
0f94a2b0aa5a5a0455dd648fa380bf002c2a1540 | 3073307fa4b6da9371518f0718c199501b8c5c71 | /simpsonCompuesta.sci | 1070fadf9b596d8bc0aaccf03d574e2f756c52fe | [] | no_license | fern17/CalculoNumerico | 8b04abdf8e1da4b69a1256334a4bc58ff5c9180d | c793733ce17616361dd02f358ef63c1d9be5c99e | refs/heads/master | 2020-06-04T00:06:19.723655 | 2011-12-20T13:47:40 | 2011-12-20T13:47:40 | 2,929,202 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 560 | sci | simpsonCompuesta.sci | //Realiza la integración compuesta con el método de Simpson
// a,b: extremos del intérvalo
// M: número de segmentos (subdivisiones)
// NOTA: este algoritmo no es exacto, quien sabe por qué?
function [y] = simpsonCompuesta(a,b,M)
h = (b-a)/M;
y0 = scf(a) + scf(b);
y1 = 0;
y2 = 0;
for i=2:(M)
... |
534fb83940c0260b710063e2fefefdb737ebc306 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH10/EX10.7/Ex10_7.sce | 1e3ca96a7fcc7a5243814341c3e279dafda3d189 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,970 | sce | Ex10_7.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 10 Example 7")
M=20;//load on dynamometer in kg
r=50*10^-2;//radius in m
N=3000;//speed of rotation in rpm
D=20*10^-2;//bore in m
L=30*10^-2;//stroke in m
m=0... |
11a600b53830c4aa8ffd20a42e0656ab58668f65 | 717ddeb7e700373742c617a95e25a2376565112c | /632/CH11/EX11.20/example11_20.sce | 8eff4b35e5b7ba56aca4147d567220fb74baa81a | [] | 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 | 180 | sce | example11_20.sce | //clc()
T = 273.15 - 30;//K
//lnPs = 14.2410 - 2137.72 / (T-26.72)
//dlnPs/dT = Hv / RT2
Hv = 2137.72 * R * T^2 / ( T - 26.72 )^2;
disp("kJ/kmol",Hv,"Heat of vaporization = ") |
6ef81071bb49605d4c051217abc645ccf191581a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH11/EX11.6/ex11_6.sce | 82fc5c96e0e7a63ff9783c33eb4d927ae6dd6f22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | ex11_6.sce | //Page Number: 11.15
//Example 11.6
clc;
//Given
//Pdot-2*Pdash and Pdot+Pdash=1
//Therfore, on solving
Pdot=2/3;
Pdash=1/3;
tdot=0.2; //Sec
tdash=0.6; //Sec
tspace=0.2; //Sec
//Finding H(X)
//As H(X)=-Sum of[P(xi)log2P(xi)]
//Where i=0 to n;
HofX=(-1)*[{Pdot*log2(Pdot)}+{Pdash*log2(Pdash)}];
//Av... |
2a5ea108540f5051b53c87f43b848cc4bb436264 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH5/EX5.4/5_4.sce | 3836b838500ef67da64b12ecac98d6737a10348d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | 5_4.sce | clc
//initialisations
c=1000
t=1//c
f=1//f
J=4.18//j/cal
g=9.8//m/sec2
//CALCULATIONS
h=c*t*J/g
h1=h*f*5/9
//results
printf(' height pf waterfall to rasie 1 c= % 1f m',h)
printf(' height of waterfall to raise 1 f= % 1f m',h1)
|
e6f5abfa8f6cc682575bd03c792b30eacee80e2c | 26e3456b8c9cd555117b7330385c0ef5d16316da | /TestProject4/Results/Load/546d6817-5362-4015-ac83-8413581f91b1/d9b713bc-8f8a-40dc-b9b5-09bffcfd4ecb/counters/b0a9d47f-ab3c-4ef8-860a-6d0a58be6ff6/kt4jzudu.tst | d3d8986c4ff4a96031f2e7f6cb406f89ecc4c223 | [] | no_license | ravi740136/telerikprojects | 8f34c287b38f477fe1ac6700a390cc027e00dc5e | 521ce767fe287b736356f8bcf5f1fde636e6ed05 | refs/heads/master | 2021-01-23T16:36:02.627367 | 2014-07-01T06:20:00 | 2014-07-01T06:20:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | tst | kt4jzudu.tst | {"Id":null,"Data":{"CounterId":"b0a9d47f-ab3c-4ef8-860a-6d0a58be6ff6","Timestamp":"2014-04-13T11:25:51.3793269Z","PageSpecificMetrics":null,"Data":0.0,"Id":"91be4441-e04d-43aa-9dbb-c5c805654bea"},"Metadata":null} |
bc24ff87d506647c6eda82e8afbcc2c395fdb7ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH9/EX9.12/Ex9_12.sce | c9d73b26aac486888b3ff9f1f10cffdd539b3f1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,320 | sce | Ex9_12.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 9 Example 12")
P1=1*10^5;//initial pressure in Pa
P9=P1;
T1=300;//initial temperature in K
P2=4*10^5;//pressure of air in intercooler in Pa
P3=P2;
T3=290;//te... |
d78b0c7326e1c1aa0a9ed20c2698bc83d0239e89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH5/EX5.21/5_21.sce | c8b7ff5c5fa54b3190f4d380e349019365c7072e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,662 | sce | 5_21.sce | clc;
clear;
//Example 5.21
mc_dot=3.783; //Cold water flow rate[kg/s]
mh_dot=1.892; //Hot water flow rate [kg/s]
Cpc=4.18; //Sp heat of cold water [kJ/(kg.K)]
T1=367; //[K]
t2=328; //[K]
t1=311; //[K]
Cph=4.18; //Specific heat of hot water [k... |
ccefe4ab0b64f7fbb6c93b1ccc5195d9f50c278f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH13/EX13.13/Ex13_13.sce | 45bfab9ba83fd13e346d240fef2bf8e88abd7f10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sce | Ex13_13.sce | //EX13_13 PG-13.9
clc
clear
printf("conversion of octal no 615 to its hexadecimal equivalent :")
a=['615'];
x=oct2dec(a)
y=dec2hex(x)
printf("%s",y)
|
59b8fca1d7c73eb6edaf0a8c39fdcd1a1daf5aae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH4/EX4.15/Ex4_15.sce | 8f7a8136241419092f72cc837a82a5f1632a5384 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_15.sce | clc
//to calculate % purity of the sugar sample
theta=9.9 //optical rotation in degree
alpha=66 //specific roation of pure sugar solution in dm^-1(gm/cc)^-1
l=20 //length of tube in cm
c=10*theta/(l*alpha) //concentration of solution in gm/c.c
//it is given that 80 gm of impure sugar is dissolved in a litre of wa... |
b68431026d2d0b336b131f9602ad719517e6179f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH19/EX19.5/Ex19_5.sce | 72f1dcd6f7418f9e1eec7c591393d7f9ec2f645a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 366 | sce | Ex19_5.sce | //Example 19_5
clc();
clear;
//To find the time constant of the circuit and the final energy stored
l=0.5 //Units in H
r1=2 //Units in Ohms
r2=4 //Units in Ohms
r=r1+r2 //Units in Ohms
l_r=l/r //Units in sec
i=2 //Units in A
ene=0.5*l*i^2
printf("The time constant is L/R=%.... |
22e28f2a740cbd4922cb5559505aaead369fab66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH4/EX4.11/Ex4_11.sce | b2c9595c242e1b0e2c304778d51fa461c1a73a7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_11.sce | clc
//to calculate optical rotation
//let theta' be the optical rotation by a solution of strength c' in a tube of length l' then
//we get 10*theta'/l'*c'=10*theta/l*c
c=1/3 //it is given that solution is 1/3 of its previous concentration i.e. c'/c=1/3,where c=c'/c
l1=30 //where l1=l'
//length in cm
... |
0a3bac094656523871e6ecbe8c196195f2b1b1b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3487/CH6/EX6.2/Ex6_2.sce | 805a7b429bdcf9bf27f7e130b9116d34ec37a736 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | Ex6_2.sce | //Chapter 6,Example 6.2 Page 199
clc
clear
Cs = 106 // micro F
C2 = 0.35 // micro F
R2 = 318 // ohms
R1 = 130 // ohms
w = 314
Cp = Cs*(R2/R1)
Rp = R1/(w^2*C2*Cs*10^-12*R2^2)
tang = 1/(w*Rp*Cp*10^-6)
printf (" Rp = %f ohm \n ",Rp)
printf (" Cp = %f μF \n ",Cp)
printf (" tan δ = %f \n ",tang)
//Answers may vary due to r... |
7186cf8e38651dfa62a1331ad03af7d435400ad8 | 5bc3a272ac3972765259062ed2c4abd8ac31eb84 | /EE 324 controls lab/lab6/q1.sce | 489687623c0c94aa3e4baf68bccac24468bf66c0 | [] | no_license | ishan-2404/Duaon-mei-yaad-rakhna-XD | 51a268cb15695d78a1bd086d958f402fe6ee093d | bf702ac84c18f7d677a35f9f850e3bfb63a32625 | refs/heads/main | 2023-07-13T17:10:57.650902 | 2021-08-14T07:06:22 | 2021-08-14T07:06:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 942 | sce | q1.sce | s = poly(0,'s')
G = 1/((s+4)*(s+3)*(s+12));
// part a
err = .489
K = ((1-err)*3*4*12)/err;
// part b
scf(0);
G = syslin('c',G);
zeta = .35
m = sqrt(1-zeta^2)/zeta;
x = -6:.01:0;
os_line_1 = m.*x;
os_line_2 = -1*m.*x;
plot(x,os_line_1,'r');
plot(x,os_line_2,'r');
evans(G,kpure(G));
// part c
scf... |
eee7a417c47ea54cd15ebbbfe98fcaf123225353 | 397456b742a46d88c251aa168bfe794903987f93 | /Radial Movement Optimization/standard/scilab/radial-movement-o.sce | 3d5922fb3877fdf54e01dd4c094323288a2a1a26 | [] | no_license | JonesCG/PROJECT-NIOA | b5dcc7820d818369a4115fbb34b0f7ba02d7a129 | 7e6a3aa9a5deda6aa4eec9f4d523556844593c8b | refs/heads/master | 2022-08-16T14:06:54.967718 | 2020-05-18T08:17:47 | 2020-05-18T08:17:47 | 264,872,793 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,367 | sce | radial-movement-o.sce |
clear
clc
exec('objective.sce');
POPSIZE = 300
DIM = 100
UPPER = 100
LOWER = -100
MAXITER = 1000
k = 1
C1 = 0.8
C2 = 0.9
WMIN = 0
WMAX = 1
VMAX = (UPPER-LOWER)/k;
disp('RUNNING...')
rand('seed',getdate('s'))
P = rand(POPSIZE,DIM).*(UPPER-LOWER)+LOWER
FIT = F1(P)
[RBESTFIT IND] = min(FIT)
RBESTPOS = P(IND,:)
GBESTPO... |
74c9d83794297d6daf481c437d9469c7291e0c7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH7/EX7.4/7_4.sce | 553c354d46efb0e4ad84abee4b84f93dd9d102ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sce | 7_4.sce |
clc
//initialisation of variables
g= 32.2 //ft/sec^2
f=0.01
l= 1500 //ft
d= 6 //in
h= 96 //ft
//CALCULATIONS
v= sqrt((h*2*g)/(1+(4*f*l/(d/12))))
D= v*%pi*(d/12)^2/4
//RESULTS
printf (' discharge through the pipe = %.2f ft^3/sec',D)
|
7aae920218252b1e4dd9ebe79e6db60f685ca460 | b4be5ed282b4c531c0d140038804106b52e5e9be | /testCaseResid.sce | 3bc5c77a392c8bd2b13c78d3b1a4b2415d493128 | [] | no_license | solothinker/compare | 9df946e9d40f0565d1eb3bcb18cb4891435d8fed | d0b4b633f47aaa2578d39f723c6becd1d3aa2359 | refs/heads/master | 2021-06-24T21:42:05.654744 | 2017-09-08T05:57:35 | 2017-09-08T05:57:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | sce | testCaseResid.sce | loadmatfile('data3.mat')
z = [data(:,1) data(:,2)];
a = 1
b = [0 0.5721 -0.5742]
c = 1
d = 1
f = [1 -1.3960 0.4014]
oeModel = idpoly(a,b,c,d,f,1)
a = 1
b = [0 0.6224 -0.6235]
c = [1 0.3991 0.0195]
d = [1 -0.5210 -0.3558]
f = [1 -1.3586 0.3626]
bjModel = idpoly(a,b,c,d,f,1)
figure;resid(data,oeModel)
figur... |
6083febbee011ef2bf044048e64cf7c8e32456c4 | a195e307602bacc3397b8f74a3b9b4cbd7a3b752 | /trajectory_generator/scilab/kinematic.sce | 804537b73670a42f5f45a13abe37b9e36e4edb6c | [
"BSD-3-Clause"
] | permissive | Robator/red_manipulation_step | eb0026e92b9eef7ba1bbf9bd2bc9730be7a45f02 | 7f8d82c47a97a1ae641fbfee64efa09c23f56853 | refs/heads/master | 2021-01-01T18:30:54.118019 | 2018-03-11T08:25:11 | 2018-03-11T08:25:11 | 98,350,282 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,027 | sce | kinematic.sce | directory = "/home/egor/vrepWS/src/red_manipulation_step/trajectory_generator/scilab/";
exec(directory + "math.sce");
DOF = 5;
jointLimits = [
-169, 169;
-65, 90;
-151, 146;
-102, 102;
-167, 167
]
jointLimits = jointLimits * %pi/180;
d0 = [0.024; 0; 0.096];
d1 = [0.033; 0; 0.019];
d2 = [0; 0; 0.1... |
dd55795cbc76fd8e96ca18bbd99b2202c8b2874e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH1/EX1.13/ex1_13.sce | 6d167d9a6f0f5146a023c1d3aa02bc2706c57694 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 684 | sce | ex1_13.sce | // Exa 1.13
clc;
clear;
close;
format('v',9)
// Given data
e = 1.6*10^-19;// in C
miu_e = 0.38;// in m^2/V-s
miu_h = 0.18;// in m^2/V-s
V = 10;// in V
l = 25;// in mm
l = l * 10^-3;// in m
w = 4;// in mm
w = w * 10^-3;// in m
t= 1.5*10^-3;// in m
E = V/l;// in V/m
v_e = miu_e*E;// in m/s
disp(v_e,"The ... |
0e0c8ac2698a29ef157d253b6ad259cf5d20add4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH3/EX3.12/M_Ex_3_12.sce | f6dc81b03eb99052c0759206c0372721418d71f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | M_Ex_3_12.sce | clc
//Chapter3: Modulation
//Example3.12 page no 145
//Given
Pc=9e3//unmodulated carrier power
Pt=10.125e3//Modulated carrier power
Ma=sqrt(2*((Pt/Pc)-1))//depth of modulation
mprintf('The depth of modulation is: %d%c',Ma*100,'%')
|
7e8429bc373458ade501e7fb0bd8e2f0b14055c6 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_S._L._Kakani_And_A._Kakani_1085.zip/Material_Science_S._L._Kakani_And_A._Kakani_1085/CH5/EX5.8/ex5_8.sce | 08f608e35d732b6d9ae76ad0d64cd3b136fc5100 | [] | 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 | 290 | sce | ex5_8.sce | errcatch(-1,"stop");mode(2);//Exam:5.8
;
;
E_f=2.1;//fermi energy(in eV)
e=1.602*10^-19;
m=9.1*10^-31;
W_f=e*E_f;//fermi energy in joules
v_f=(2*W_f/m)^(1/2);//velocity of an electrons at fermi level(in m/sec)
disp(v_f,'velocity of an electrons at fermi level(in m/sec)')
exit();
|
35ba93d49aeefcc31a1d1fbb08f92ffe7d0dd474 | 4058f38b392324aa5099819881f3c7d7219a174f | /_3_bit_COUNTER/_3bit_counter_negative_edge_triggered/3bit counter negative edge triggered.sce | c0f8cadb9a5d43192363b4a7c37d25d124ffe884 | [] | no_license | anupma-s/Scilab-Xcos-Arduino-Digital-Circuits | 612a033422bf14e2e58bcdce371f15cafb30224f | 2b4bf8e8f155d20a5eda2feb31c5523a51569d73 | refs/heads/master | 2021-01-20T17:20:13.073180 | 2016-07-04T15:25:07 | 2016-07-04T15:25:07 | 62,569,455 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,921 | sce | 3bit counter negative edge triggered.sce | ok=open_serial(1,2,115200);
if ok~=0 then error('Unable to open serial port, please check'); end
pinstate0=0; //input, clock pulse to FF1
lastpinstate0=0;
pinstate1=0; //output of FF1 (LSB), clock pulse to FF2
lastpinstate1=0;
pinstate2=0; //output of FF2 (middle bit)), clock pulse to FF3
lastpinstate2=0;
... |
466d03bc304cac7d246c595b04f2acd449256fef | 449d555969bfd7befe906877abab098c6e63a0e8 | /1208/CH8/EX8.12/Exa12.sce | 22f66ae0e8d156e8f29571cb00f81b17363610ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,284 | sce | Exa12.sce | //Exa12
clc;
clear;
close;
disp("Process (i) Account");
disp(" Tons Amount Tons Amount");
disp("To Raw material 1000 200000 By weight lost 50");
disp("To Mfg. wages & expenses 87500 By Scrap ... |
94faeaa40d37b4b5456e280ea513f53e0999cdcf | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH24/EX24.1/RD_1.sce | e680fbc598c1cece95084442f65f2227c1077c42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | RD_1.sce | // sum 24-1
clc;
clear;
P=150000;
m=0.4;
D=1.8;
d=0.6;
C=4.2;
V=15;
Fc=m*V^2;
BL=44.81*10^3;
FOS=35;
F1=BL/FOS;
theta=%pi-(2*asin((D-d)/(2*C)));
beta=22.5*%pi/180;
u=0.13;
x=u*theta/sin(beta);
F2=(F1-Fc)/exp(x);
n=P/((F1-F2)*V);
n=13;
// printing data in scilab o/p window
printf("n is %0.0f ... |
f1664aa0ebadfca43434cfe9ddefbcc500857387 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH1/EX1.3.6/Example1_8.sce | 690f9e085ae5dcc53217f3b99223acc3104670a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 450 | sce | Example1_8.sce | //Chapter-1,Example1_3_6,pg 1-24
a=10^-4 //as for small angle 'tan(a) = a'
wavelength=5900*10^-10 //wavelength of light in air
u=1 //refractive index of air
B=wave... |
176ab1ca72068999fc84e2990ca87474774a29ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH6/EX6.15/example6_15_TACC.sce | a2cbc005621961ac946fdcda874b4d7aeaa1bbbb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example6_15_TACC.sce | //example 6.15
clear;
clc;
//Given:
m2=3;//mass of the sucrose[gm]
m1=0.1;//mass of water [Kg]
Kf=1.86;//cryoscopic constant of water[K*Kg/mol]
dTf=0.16;//Lowering in freezing point[K]
//To find the molecular weight of sucrose
a=m1*dTf;
b=Kf*m2;
M2=b/a;//molecular weight
printf("M2=molecular weight , ... |
1b8cf4b985c64457e6b841352ce98e4a657388ff | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/test-suite/scilab/allprotected_runme.sci | 4dee49ed7602d79c7963b0a5dc75ca7af0f63b11 | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sci | allprotected_runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:4d6f48f9bfa1a99f4211667569c15e45e6eacbbb018c301c09af9fffa20d6d3c
size 2575
|
da4b778e6065d676678ed3fb3ced961e03694229 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/int/%i_plot2d.sci | eea9d7046a37e4b1830a39bdbdf5db4200fce221 | [
"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 | 117 | sci | %i_plot2d.sci | function %i_plot2d(varargin)
for k=1:min(2,size(varargin))
varargin(k)=double(varargin(k))
end
plot2d(varargin(:))
|
75493d9aaa5acf1aa9f6b05b8087b4b0b28f2633 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH14/EX14.1/ex14_1.sce | da4285418d90d6104638f9c0205ecaf65a0cf132 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | ex14_1.sce | clc;
clear all;
er=1.0000684;//dielectric constant of helium
N=2.7*1e25;//atoms/m^3
r=(er-1)/(4*%pi*N);
R=r^(1/3); //radius of electron cloud
disp('m',R,'radius of electron cloud is');
//slight variation in ans than book.. checked in calculator also
|
674591ee1e4f2b98cee651aefc0e1715f9b251a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH7/EX7.2/7_2.sce | 7ede315289b379027bc189e9fdc5e5ab5583a733 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sce | 7_2.sce | //All the quantities are expressed in SI units
p_inf = 22790.9; //ambient pressure at 36000 ft
T_inf = 217.2; //ambient temperature at 36000 ft
p = 19152; //pressure at the given point
gam = 1.4;
//thus the temperature at the given point can be calculated by eq.(7.32) a... |
9b67cc7f7e4015cde2aee8f94b2366741a544cce | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH6/EX6.4/ex6_4.sce | 0a91982fa900c924b25f268f4619dba1c4d24da4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 462 | sce | ex6_4.sce | s=%s;
syms Kv Kd Kp Kt
p=s^3+(1+(Kv*Kd))*s^2+(Kv*Kp)*s+(Kp*Kt)
cof_a_0=coeffs(p,'s',0);
cof_a_1=coeffs(p,'s',1);
cof_a_2=coeffs(p,'s',2);
cof_a_3=coeffs(p,'s',3);
r=[cof_a_0 cof_a_1 cof_a_2 cof_a_3]
n=length(r);
routh=[r([4,2]);r([3,1])]
routh=[routh;-det(routh)/routh(2,1),0]
t=routh(2:3,1:2);
routh=[routh;... |
f2c456034a170f554d2e017d4f5741337ac52d89 | cb8badb7b62f46da3dd1b582c4186b5b2829d5af | /ajax-scilab/scifunc-cleandata-do_spline.sci | cfc2894ea960d8aadcc1942cd2746a60a36cc99f | [
"MIT"
] | permissive | FOSSEE/xcos_on_cloud | e3cf7ff202a1628a875484774c87936fbd8696cf | e981d77e0c96ab5db0e01755a2531d878864266f | refs/heads/master | 2023-05-12T12:12:08.955522 | 2023-02-16T10:25:15 | 2023-02-16T10:25:15 | 99,215,141 | 12 | 31 | MIT | 2023-05-02T00:18:57 | 2017-08-03T09:24:23 | JavaScript | UTF-8 | Scilab | false | false | 3,503 | sci | scifunc-cleandata-do_spline.sci | function callFunctioncleandata(filename,xye)
f_temp = mopen(filename, 'wt'); // Creating a text file
xye_split = strsplit(xye,';'); //split string for ';'
ary_size = size(xye_split); // get size of array which will be 6 1
n = ary_size(1); // retrive only size of element ie. 6
arry_x... |
195eccb0f5e5956255da763899fd1031d415aa57 | 81edb62eb260102a7f9e6db9065204b5aa0333e0 | /ACSO/complemento.tst | 1b2868133f1a9cf0d078d7049db45bb655fd024f | [] | no_license | Stilink/ACSO | e6531e16b8400b147764887698d732ff4269d9fe | 17eea5288f395bf202f3c1c28c9003df3c78dc81 | refs/heads/master | 2020-04-16T19:57:14.333374 | 2019-05-17T02:18:27 | 2019-05-17T02:18:27 | 165,880,362 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 869 | tst | complemento.tst | load complemento.hdl,
output-file complemento.out,
compare-to complemento.cmp,
output-list ah%B1.16.1 al%B1.16.1 sh%B1.16.1 sl%B1.16.1;
set ah %B0000000000000000,
set al %B0101101111101101,
eval,
output;
set ah %B0000000000000000,
set al %B1011011000110010,
eval,
output;
set ah %B0000000000000000,
set al... |
e6260ea341294be60c50ffa923b33f4252da9b82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /812/CH4/EX4.12/4_12.sce | 86464c5498136354de99af8373337452da402f7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sce | 4_12.sce | //Velocity of rocket//
pathname=get_absolute_file_path('4.12.sce')
filename=pathname+filesep()+'4.12-data.sci'
exec(filename)
//Acceleration of rocket at t=0(in m/sec^2):
Ve*me/M0-g
//Velocity of rocket at t=10 (in m/sec):
function y=f(t),y=Ve*me/(M0-me*t)-g,endfunction
Vcv=intg(0,t,f)
printf("\n\nRESULTS\n\n"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.